We have multiple SNIP configured on ADC. When we try to delete any of SNIP, operation fails with error:
An existing route relies on the presence of this subnet.
This error holds valid, where we have only SNIP that subnet in show ns ip, and we have a route with that SNIP being used as next hop gateway.
When we try to remove that SNIP, it should not let us delete that, as that is the only SNIP in that subnet, and a route in our configuration has dependency on that SNIP.
However in our case, we have multiple SNIP in that subnet, so it should let us delete the other SNIPs.
Which doesn't seems to be working, hence is an incorrect behavior.
> show ns ip
Ipaddress Traffic Domain Type Mode Arp Icmp Vserver State Owner
--------- -------------- ---- ---- --- ---- ------- ------ -----
<snipped output>
4) 172.16.181.142 0 SNIP Passive Enabled Enabled NA Enabled ALL
5) 172.16.181.143 0 SNIP Passive Enabled Enabled NA Enabled ALL
6) 172.16.181.144 0 SNIP Passive Enabled Enabled NA Enabled ALL
Done
Any of the IP highlighted cannot be removed by CLI or GUI.
> rm ns ip 172.16.181.142
ERROR: An existing route relies on the presence of this subnet
> rm ns ip 172.16.181.143
ERROR: An existing route relies on the presence of this subnet
Bug in the code