Feature #804

Ability to enable/disable static routes

Added by Chris Buechler almost 3 years ago. Updated 3 months ago.

Status:Resolved Start date:08/07/2010
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:Routing
Target version:2.1
Affected version:2.1 Affected Architecture:

Description

ability to enable and disable static routes

Associated revisions

Revision 9c115b40
Added by Ermal Luçi 4 months ago

Fixes #804. Correct deletion of ipv6 routes.

History

#1 Updated by Warren Baker about 1 year ago

  • Status changed from New to Feedback

Added ability to disable static routes in bfe407e5a2184d0cceeb2349eb1408b4f28029eb

#2 Updated by Jim P 11 months ago

  • Status changed from Feedback to New
  • Affected version set to 2.1

While it shows disabled in the GUI, a disabled route does not actually get removed from the OS if it's already been added.

#3 Updated by Chris Buechler 7 months ago

  • Target version changed from Future to 2.1

#4 Updated by Warren Baker 7 months ago

Jim I didnt test with v6 so was wondering if your testing was for v6. v4 seems to work for me:

I added a route 8.8.8.8/32 and made sure it was enabled:

Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.1.18       UGS         0     3083    em0
8.8.8.8/32         192.168.1.18       UGS         0        0    em0
127.0.0.1          link#4             UH          0      101    lo0
192.168.1.0/24     link#1             U           0   481367    em0
192.168.1.183      link#1             UHS         0        0    lo0
192.168.51.0/24    link#2             U           0        0    em1
192.168.51.1       link#2             UHS         0        0    lo0

Then disabled it through the GUI

Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.1.18       UGS         0     3083    em0
127.0.0.1          link#4             UH          0      101    lo0
192.168.1.0/24     link#1             U           0   481572    em0
192.168.1.183      link#1             UHS         0        0    lo0
192.168.51.0/24    link#2             U           0        0    em1
192.168.51.1       link#2             UHS         0        0    lo0

#5 Updated by Jim P 7 months ago

I don't recall how I was testing previously. On a current snapshot though, an IPv4 route does disappear when it is disabled.

An IPv6 route does not disappear when disabled like it should. So this appears to be specific to IPv6 now.

#6 Updated by Ermal Luçi 4 months ago

  • Status changed from New to Feedback

#7 Updated by Ermal Luçi 4 months ago

  • % Done changed from 0 to 100

#8 Updated by Richard Adams 3 months ago

I have tested and this is working as expected. I added an IPV6 route and then removed it. Routing table had it when it was in place and then it was gone when I deleted the route.

#9 Updated by Chris Buechler 3 months ago

  • Status changed from Feedback to Resolved

thanks

Also available in: Atom PDF