Delete route so it does not persist after reboot


 
Thread Tools Search this Thread
Operating Systems Solaris Delete route so it does not persist after reboot
# 1  
Old 06-12-2013
Delete route so it does not persist after reboot

Solaris 10
I am trying to delete a route using the command:

Code:
 
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?
# 2  
Old 06-12-2013
Are you running a router protocol?
# 3  
Old 06-13-2013
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:
Code:
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.

Last edited by jastanle84; 06-13-2013 at 12:49 AM.. Reason: Came up with more detail of the routing command I have been using
# 4  
Old 06-13-2013
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.

It is possible for routers to tell your machine to use a different path using ICMP, but as that is insecure, it is usually turned off. https://en.wikipedia.org/wiki/Intern...tocol#Redirect
# 5  
Old 06-15-2013
try removing the contents of /etc/defaultrouter
# 6  
Old 06-17-2013
Yeah, that did not work. Routes still persist.
# 7  
Old 06-18-2013
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Not able to delete the route on one of the server

I try to delete the route on one of the server But I am not able to do it its show the error # route delete 10.1.88.0 10.37.201.33 delete host 10.1.88.0: gateway 10.37.201.33: not in table If I add the route also its shows the error message # route add -net 10.1.88.0 10.37.201.33 add net... (5 Replies)
Discussion started by: bapu1981
5 Replies

2. UNIX for Dummies Questions & Answers

PATH settings don't seem to persist across sessions

I recently installed LaTeX on my linux machine and I attempted to add a directory to the PATH as the instructions say to do. They tell me to give the following command: PATH=/usr/local/texlive/2011/bin/i386-linux:$PATH; export PATH After I do this I can use commands such as "pdflatex" anywhere,... (5 Replies)
Discussion started by: TR5
5 Replies

3. UNIX for Dummies Questions & Answers

Exceed - Session Persist after shutdown

I'm wondering if it is possible to use Exceed as a remote desktop and have my session persist after I close it down (ala VNC Viewer). I find it annoying to always have to reopen my windows and files when I shut it down. Thanks! (0 Replies)
Discussion started by: dvd7e
0 Replies

4. AIX

tuning network parameters : parameters not persist after reboot

Hello, On Aix 5.2, we changed the parameters tcp_keepinit, tcp_keepintvl and tcp_keepidle with the no command. tunrestore -R is present in inittab in the directory /etc/tunables we can clearly see the inclusion of parameters during reboot, including the file lastboot.log ... (0 Replies)
Discussion started by: dantares
0 Replies

5. Solaris

route after reboot

Hello, I just added a route in solaris 10 system for host to use gateway. I see that new route in the netstat command Will this stay after reboot or I have to make any provision for this? Please let me know Thanks (11 Replies)
Discussion started by: upengan78
11 Replies

6. IP Networking

Route to nowhere?

Hi, HP-UX 11iV2, but it's probably universal (tcp/ip) I have a production and a test server. The test server gets the application updated nightly from the production server software. The application accesses a set of process servers on a separate subnet (192.163.22.30,31,32), but reachable... (1 Reply)
Discussion started by: monroedoug
1 Replies

7. Solaris

different between soft reboot and hard reboot

Hi Guru's Can any want here could explain to me the different between soft reboot and hard reboot . Best Regards Seelan (3 Replies)
Discussion started by: seelan3
3 Replies

8. UNIX for Dummies Questions & Answers

Disappearing route

I have a route that disappears when the server is rebooted. to get the route back I do: route add 65.x.x.x 10.0.x.x I go to cd /etc/inet vi config and the route is in place Anybody might know what is happening? (4 Replies)
Discussion started by: jrmontg
4 Replies

9. IP Networking

trace route ip

hi everybody , i have a solaris 5.6 box and i want to trace the route on an ip i treid traceroute but soalris 5.6 does not support it ... is there a command that can be used equivelent to traceroute ? thanks for your help (2 Replies)
Discussion started by: ppass
2 Replies

10. UNIX for Dummies Questions & Answers

Route Adding

I am trying to add a route for an interface on my unix server. The interface is qfe0. How do I type out the route add command. The Normal way is route add 1.1.1.0 1.1.1.1 When I want it to bind to a certain interface how to I enter the command. (1 Reply)
Discussion started by: Hordak
1 Replies
Login or Register to Ask a Question