Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

losing 127.0.0.1 from routing table

Status
Not open for further replies.

7280

MIS
Apr 29, 2003
331
IT
Hi there,
this is my first thread in this form, hope you can help me.
I'm have two ultra sparc 5 with solaris 8 in HA running checkpoint firewall.
From time to time the active node is losing from the routing table the 127.0.0.1 and this is causing problems to checkpoint.
The issue is that i don't know why.
Yesterday active node losed again this route and i activated the other node and also this losed (this morning) the route.
After i reboot the machine the route is available again.
Nothing is written in the messages.
What is the problem? What should i do?
Thanks in advance
Tarek
 
Because i knew that i'm losing the route i issued this command
to see changes in routing table:
nohup route monitor > /var/adm/route.log &
But nothing is written in the route.log when i lose that route.
I tried "manually" to add and delete a route and this is traced in the route.log
 
No one had this type of error before?
Please help
 
Hello,

Try creating a script with your desired routes and place them in your /etc/rc2.d directory. /etc/rc2.d is a start-up directory.

Here is an example:

Example:
You want to add a static route to network 192.168.16.0 to your default gateway of 10.236.74.1
#route add -net 192.168.16.0 10.236.74.1

then create a script, so that when the system is rebooted the route will automatically added
#cd /etc/rc2.d
#vi S168staticroute

#!/bin/sh
route add net 192.168.16.0 10.236.74.1

You want to add a static route to host 192.168.64.4 to your default gateway of 10.236.74.1
#route add 192.168.64.4 10.236.74.1

then create a script, so that when the system rebooted the route will automatically added
#cd /etc/rc2.d
#vi S168staticroute

#!/bin/sh
route add 192.168.64.4 10.236.74.1

I hope this can help you with your problem. If you have any networking question, go to my page or follow this link:


Cheers,

ponetguy2
 
Hi,
maybe i explained things bad.
When i boot the system all routes are set.
After few weeks the 127.0.0.1 disappears from
routing table and this is what i'm not understanding.
CheckPoint firewall needs the loopback. While this is missing,
CheckPoint is not able anymore to talk to the loopback.
When i reboot the system everything's ok again.
The only issue is why i'm losing the 127.0.0.1 route?
Thanks
Tarek
 
If the route is there on the OS, it seems like a firewall issue. You might want to move this question to the firewall discussion group. Unfortunately, firewalls or security is my weak point. My knowledge is very little when troubleshooting firewalls. However, I'll talk to our security team and I'll get back to you.

Good luck,

ponetguy2
 
Is Checkpoint flushing the arp or routing table? check in crontab & rc

--
| Mike Nixon
| Unix Admin
|
----------------------------
 
I've just done a bit of searching about and

The problem being that Solaris drops "static" ARP entries from it's ARP table for some reason. You may want to set-up a cronjob to re enter them every day or so.

--
| Mike Nixon
| Unix Admin
|
----------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top