Adding a local interface conflicting with a static route in the routing table fails to add the link route
If you configure an interface with an IP subnet that exists in the routing table as a static route, after configuring the interface it fails to add the link's route. You're left with only the static route in the routing table, and until the static route is deleted and hit Save and Apply Changes on the interface, it doesn't work.
Best fix I think, add input validation that prevents configuring an interface with a subnet that exists in a static route.
#1 Updated by Chris Buechler over 7 years ago
- Subject changed from Deleting a static route matching a local interface deletes the link local route to Adding a local interface conflicting with a static route in the routing table fails to add the link route
- Category changed from Routing to Interfaces
updated with proper description of problem
#4 Updated by Richard Adams over 6 years ago
Tested by adding a static route and then creating an opt interface and trying to assign an address within a static route I have setup.
I got an input validation error stating that I the ipaddress I was trying to add conflicts with a static route.
This seems to be the desired outcome.