Hi,
I'm running several routers with the 15.1(4)M4 IOS and they all face this issue:
The ethernet WAN link is configured with an DHCP address, so the default route has been configured as follows: "ip route 0.0.0.0 0.0.0.0 dhcp"
The strange thing is that when the WAN link comes up and gets a default gateway of lets say 1.1.1.1 the the "show run" starts to look like this:
ip route 0.0.0.0 0.0.0.0 dhcp
ip route 0.0.0.0 0.0.0.0 1.1.1.1 254
There is a new static added with an AD of 254 to the running configuration. As soon as I save this configuration this entry is saved as well and remains there even after a reload. So if I would get another gateway from the DHCP server (lets say 2.2.2.2) my configuration looks like this:
ip route 0.0.0.0 0.0.0.0 dhcp
ip route 0.0.0.0 0.0.0.0 1.1.1.1 254
ip route 0.0.0.0 0.0.0.0 2.2.2.2 254
So my configuration is starting to fill up with default routes. This might just be cosmetic since only the route that has its gateway in a directly connected subnet is installed in the routing table. But my question is, is this normal behaviour?
Thanks!