Project

General

Profile

Actions

Feature #804

closed

Ability to enable/disable static routes

Added by Chris Buechler over 14 years ago. Updated almost 12 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:

Description

ability to enable and disable static routes

Actions #1

Updated by Warren Baker over 12 years ago

  • Status changed from New to Feedback

Added ability to disable static routes in bfe407e5a2184d0cceeb2349eb1408b4f28029eb

Actions #2

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.

Actions #3

Updated by Chris Buechler about 12 years ago

  • Target version changed from Future to 2.1
Actions #4

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
Actions #5

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.

Actions #6

Updated by Ermal Luçi almost 12 years ago

  • Status changed from New to Feedback
Actions #7

Updated by Ermal Luçi almost 12 years ago

  • % Done changed from 0 to 100
Actions #8

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.

Actions #9

Updated by Chris Buechler almost 12 years ago

  • Status changed from Feedback to Resolved

thanks

Actions

Also available in: Atom PDF