Project

General

Profile

Bug #2039

Adding a local interface conflicting with a static route in the routing table fails to add the link route

Added by Chris Buechler over 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Interfaces
Target version:
Start date:
12/05/2011
Due date:
% Done:

100%

Estimated time:
Affected Version:
All
Affected Architecture:

Description

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.

Associated revisions

Revision 42fa2c01 (diff)
Added by Renato Botelho over 6 years ago

Avoid conflicting interface IP address with static routes. Fixes #2039

History

#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

#2 Updated by Renato Botelho over 6 years ago

  • Target version set to 2.1

#3 Updated by Renato Botelho over 6 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#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.

#5 Updated by Renato Botelho over 6 years ago

  • Status changed from Feedback to Resolved

thanks

Also available in: Atom PDF