Ability to enable/disable static routes
|Affected version:||2.1||Affected Architecture:|
ability to enable and disable static routes
#1 Updated by Warren Baker about 1 year ago
- Status changed from New to Feedback
Added ability to disable static routes in bfe407e5a2184d0cceeb2349eb1408b4f28029eb
- 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.
#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 18.104.22.168/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 22.214.171.124/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
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.
#7 Updated by Ermal Luçi 4 months ago
- % Done changed from 0 to 100
Applied in changeset 9c115b409d0b21132dae9ad2c62f842a7e438f8f.
#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.