Jump to content
Welcome to our new Citrix community!

Netscaler 12.0 direct route is stuck


Eric Wiegand

Recommended Posts

My goal is to remove a snip that I no longer need

I removed the SNIP IP from the VLAN

 

netscaler> sh run | grep 395
add vlan 395 -aliasName VL395
bind vlan 395 -ifnum LA/1

 

I added a static route to point to the router device on that subnet

 

 

        Network          Netmask          Gateway/OwnedIP  State   Traffic Domain  Type

9)      10.110.45.128    255.255.255.128  10.110.45.254    UP      0              STATIC

 

I want to remove the IP but it says I can't because it relies on a route

When I go to remove the route, it says I cant because its direct

Why is it direct when I've already unbound the IP from the vlan?

What else do I have to do? This seems like a bug.

 

Here's where its referenced in the config:

 

netscaler> sh run | grep 10.110.45.139
add ns ip 10.110.45.139 255.255.255.128 -vServer DISABLED

netscaler> sh route
        Network          Netmask          Gateway/OwnedIP  State   Traffic Domain  Type
        -------          -------          ---------------  -----   --------------  ----
6)      10.110.45.128    255.255.255.128  10.110.45.139    UP      0              DIRECT

 

netscaler> rm route 10.110.45.128 255.255.255.128 10.110.45.139
ERROR: DIRECT/PERMANENT/DHCP routes cannot be removed.

 

 

How can I remove this IP from the route?!

Link to comment
Share on other sites

no different network, but my gslb site configuration does. which is why i want to remove the snip in the first place. no reason for it.

 

set ns config -IPAddress 10.110.32.80 -netmask 255.255.255.0
set ns config -nsvlan 732 -ifnum 0/1 -tagged NO

 

add ns ip 10.110.45.140 255.255.255.255 -type GSLBsiteIP -vServer DISABLED -telnet DISABLED -ftp DISABLED -gui DISABLED -snmp DISABLED

Link to comment
Share on other sites

  • 9 months later...

Similar issue, same error.

 

"ERROR: DIRECT/PERMANENT/DHCP routes cannot be removed."

 

Was it ever resolved?

 

Was originally part of a VPN effort by a previous employee and took it apart basically, but it will not let me get rid of the snip and the PBR associated with it is still listed though when trying to delete in the UI it says "This PBR already removed" The config shows -state REMOVED.

 

But if there is a hard coded route somewhere holding on to this, I cant find it.

 

Searching through the config I find it only referenced twice. e.g.


 

add ns ip 10.96.140.112 255.255.255.0 -vServer DISABLED
add ns pbr VLAN_220 ALLOW -srcIP = 10.96.140.112 -nextHop 10.96.140.1 -vlan 220 -priority 1 -state REMOVED -kernelstate SFAPPLIED61

 

Tempted to manually edit this and the next time it reboots....

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...