Feature #804
closedAbility to enable/disable static routes
100%
Description
ability to enable and disable static routes
Updated by Warren Baker over 12 years ago
- Status changed from New to Feedback
Added ability to disable static routes in bfe407e5a2184d0cceeb2349eb1408b4f28029eb
Updated by Jim Pingle over 12 years 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.
Updated by Chris Buechler about 12 years ago
- Target version changed from Future to 2.1
Updated by Warren Baker about 12 years 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
Updated by Jim Pingle about 12 years 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.
Updated by Ermal Luçi almost 12 years ago
- % Done changed from 0 to 100
Applied in changeset 9c115b409d0b21132dae9ad2c62f842a7e438f8f.
Updated by Richard Adams almost 12 years 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.