Discussion Locked

Losing external connectivity

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I'm running SCO 5.0.6 and our primary application requires us to reboot daily. This box sits on an internal IP with NAT set up on the firewall to make the box accessible from the outside. Our firewall is set up as the default route. After the reboot, the box can?t see past our router (Cisco 678 on ADSL). It can see all internal ip's fine, but I need to remove, then add the default route before the box can see the outside. Sometimes I need to remove/add the route a few times before I get a ping reply from an IP or name on the outside. DNS is working fine and this is the only machine with this problem on the network. Any ideas would be appreciated. Thanks!

6 replies

by dabutler

I noticed this has been sitting for awhile, so I'll give it a shot - please be kind.
I am an HPUX guy, and when I run into issues like this, I run gated - you will need an /etc/gated.conf file that just has in it the following line.
rip yes;

This will broadcast rip requests, and reestablish your gateways. To get this to go, vi your /etc/gated.conf (if you have one already, just leave it be - its prob OK.)

Then ps -ef | grep gated .... see if its running, and if it is, kill the pid.Then flush the routes - route -f -
Then restart gated - I don't know where it is on sco, but on hp its /usr/sbin/gated....

send me an email on how you are making out, or reply here, I'll check back daily.... It sounds like your sco box needs tohave a route set up to the "outside net" and for some reason, it cannot resolve the route properly.

Other things to check are to see if you have an /etc/nsswitch.conf file that references networks.... maybe you have that pointing to an invalid source. Good luck.
Jim

by oliviu

Hi,

Use this trick:

Add in /etc/rc2.d/S85tcp after ifconfig command next line

/usr/sbin/route add -net 130.62 130.62.1.100 1

the values for network (130.62) and gateway (130.62.1.100) are simple exemples. You have to use your values.

At reboot the file is executed and the route is added.

Good lock

This discussion is closed to new replies.