Without further details about the fgt model/firmware/ISP (WAN) connection, brief network layout, I going to say check the duplex/speed on the WAN connect to the ISP's gateway/modem device. eg. from the CLI enter diagnose hardware deviceinfo nic <WAN interface)
The output should look similar to this:
# diagnose hardware deviceinfo nic wan1 Description Intel(R) Gigabit Ethernet Network Driver Driver_Name igb Driver_Version 5.0.6 PCI_Vendor 8086 PCI_Device_ID 1533 PCI_Subsystem_Vendor ffff PCI_Revision_ID 0003 PCI_Bus 5 PCI_Slot 0 MAC_Type 6 PCI_Bus_Type PCI-E PCI_Bus_Speed 2.5Gb/s PCI_Bus_Width Width x1 IRQ 16 System_Device_Name wan1 Current_HWaddr 90:6c:ac:3e:dx:xx Permanent_HWaddr 90:6c:ac:3e:dy:yy Link up Speed 1000 Duplex full FlowControl current:0/requested:3 Interrupt mode MSI-X Rx queue(s) 1 Tx queue(s) 1 Rx_Packets 42064231 Tx_Packets 32484440 Rx_Bytes 50613981859 Tx_Bytes 4808163593 Rx_Errors 0 Tx_Errors 0 Rx_Dropped 0 Tx_Dropped 0 Multicast 445470 Collisions 0 Rx_Length_Errors 0 Rx_Over_Errors 0 Rx_CRC_Errors 0 Rx_Frame_Errors 0 Rx_FIFO_Errors 0 Rx_Missed_Errors 0 Tx_Aborted_Errors 0 Tx_Carrier_Errors 0 Tx_FIFO_Errors 0 Tx_Heartbeat_Errors 0 Tx_Window_Errors 0 Tx_Single_Collision_Frames 0 Tx_Multiple_Collision_Frames 0 Tx_Deferred 0 Rx_Frame_Too_Longs 0 Rx_Frame_Too_Shorts 0 Rx_Align_Errors 0 Rx_Flow_Control_XON 0 Rx_Flow_Control_XOFF 0 Tx_Flow_Control_XON 0 Tx_Flow_Control_XOFF 0 Rx_Control_Unknown_Opcodes 0 PHY_Media_Type 1 max_frame_size 1522 CTRL 00100241 STATUS 00280783 TXCW 00000000 RXCW 00000000 avd/ctrl 0de1/0200 Check the output for (RX/TX and other) errors. If there are errors/drops, wait a awhile then perform the diag test again to see if the error counters increase.
If you need to set/force the speed/duplex on an interface, use:
config system interface edit "<WAN interface name>" set speed <value> next end Where speed value is auto Automatically adjust speed. 10full 10M full-duplex. 10half 10M half-duplex. 100full 100M full-duplex. 100half 100M half-duplex. 1000full 1000M full-duplex.
NSE4/FMG-VM64/FortiAnalyzer-VM/6.0 (FWF30E/FW92D/FGT200D/FGT101E/FGT81E)/ FAP220B/221C
If it was working fine before, I would say mostlikely a duplex mismatch or two, either or both WAN side interface to the ISP's device and LAN side interface to a switch.
I don't know the historical part unless it's managed by FortiManager. But duplex mismatch needs to be determine by checking 1) what's configure on both side, 2) what both sides ended up using if negotiated, then 3) if both sides are not matching in 2) it's a "mismatch".
For fortigate you can see, or not see, what's configured in the interface config. By default it's "auto/auto". If anything else hard-coded you would see like "set 1000full". To check what it ended up using is in "diag hard deviceinfo nic INTERFACE_NAME" like below:
xxx-fg1 # diag hard device nic internal1 Description :FortiASIC NP6LITE Adapter Driver Name :FortiASIC NP6LITE Driver Board :60E lif id :3 lif oid :67 netdev oid :67 Current_HWaddr 00:09:0f:09:fe:02 Permanent_HWaddr 70:4c:a5:bc:38:bb ========== Link Status ========== Admin :up netdev status :up autonego_setting:1 link_setting :0 speed_setting :10 duplex_setting :0 Speed :1000 Duplex :Full link_status :Up ============ Counters =========== Rx Pkts :456459759 Rx Bytes :398650410228 Tx Pkts :337365528 Tx Bytes :69211843305 Host Rx Pkts :390926245 Host Rx Bytes :9857764254 Host Tx Pkts :275627811 Host Tx Bytes :8101527118 Host Tx dropped :0
You need to check the same on the other side of the cable. In case if you can't check or suspect what the other party, like an ISP, is NOT telling the truth, you should set "auto/auto" then check what your FGT ended up using. For the speed there is a way to detect without negotiation so even if the other end is hard-coded it would match. However, duplex can't be detected without negotiation. So FGT side should end up with "half". Then you now know you have to hard-code on FGT side.
During a maintenance window, I would suggest running through all the speed options and see what works. This will bypass what the ISP may or may not tell you. Also, if you connect at half duplex, your speed will be appreciably slower.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
correction to my last post:
wrong: set 1000full
correct: set seed 1000full
toshiesumi wrote:correct: set speed 1000full, unless you are sowing crops....correction to my last post:
wrong: set 1000full
correct: set seed 1000full
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Thank you for your correction to my correction. I appreciate it
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.