Solaris 10
I am trying to delete a route using the command:
route -p delete 192.0.0.0 192.1.3.254
The route gets delete but for some reason the route pops back up in the routing table after reboot. I also deleted the /etc/inet/static_routes file and the route still persists after reboot. The /etc/netmasks files also does not have this route in it. Am I missing something? What is the correct way to delete a route and not have it come back after reboot?
I never thought of that. The server is not being used as a router. There is an Big-IP F5 load balancer on the incoming side of the server. Can the F5 use a routing protocol to exchange route info with the server? Is there a simply way to check for a routing protocol on the server?
Another thought I have, but have not confirmed it though, is am I using the right command to add a route. This may be a reason why the static route of 192.0.0.0 keeps popping up. Here is the command I used to add the persistent route:
route -p add -net 192.1.3.4 192.1.3.254 -ifp bnx2
Let me know if this could be the issue also and what the correct command should be.
Regardless of the apparent function of a box, any box with 2 IP interfaces can be a router if it has ip forwarding turned on.
Any box could run a routing daemon to extract routes from adjacent routers, especially if it has multiple IP interfaces. For instance, OSPF might decide which IPs are served from each IP interface for local traffic, even without ip forwarding, by adjusting the routing table dynamically.