I have a switch that loses its default gateway after each boot. If I connect to the switch via the console port, I have to execute the following commands to get it going again…
no ip route 0.0.0.0 0.0.0.0 x.x.x.x
ip route 0.0.0.0 0.0.0.0 x.x.x.x
Does anyone have any idea on what might be going on here?
Hi Steve,
Does the switch get its management IP from the DHCP server? If so, please confirm the DHCP server is providing the default GW (dhcp option 3) in the DHCP Offer packet. Can you provide the switch’s configuration by running the command ‘show running-config’?
The switch is configured to use a static IP address. I’m unable to download the config currently as our PTP bridge is down. Once we get that issue resolved I’ll respond back here.