Operating System - HP-UX
1834645 Members
2499 Online
110069 Solutions
New Discussion

cant ping some ip addresses from rebuilt box

 
SOLVED
Go to solution
Dave Chamberlin
Trusted Contributor

cant ping some ip addresses from rebuilt box

Hello,
I had to recover my k460 server (HPUX 11.) this weekend with a clean OS install. I can ping anything on the server's network (10.2) but I cannot ping anything on our 10.1 network, though I can from all my other HP servers. What is missing?
Other servers also running HPUX 11.0, all have same hosts, nsswitch.conf, netconf files etc. Thanks
5 REPLIES 5
Rick Garland
Honored Contributor

Re: cant ping some ip addresses from rebuilt box

Do you have a route entry in the routing table to get to this network?

A. Clay Stephenson
Acclaimed Contributor
Solution

Re: cant ping some ip addresses from rebuilt box

Almost certainly you need to edit /etc/rc.config.d/netconf and add a default router in the ROUTE_XXXX[N]= section. Putting the entry here will automatically add it during boot; you execute a route add command to add a route dynamically. Man route for details. You can check the routing via netstat -r.
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor

Re: cant ping some ip addresses from rebuilt box

Hi Dave:

I agree with RIck. Do you have an entry like 'ROUTE_DESTINATION[0]=default' in '/etc/rc.config.d/netconf' ...?

Regards!

...JRF...
DCE
Honored Contributor

Re: cant ping some ip addresses from rebuilt box

Did you define a default gateway?
Dave Chamberlin
Trusted Contributor

Re: cant ping some ip addresses from rebuilt box

As it turns out - the route section was commented out, though the parameters were set correctly. Added the gateway dynamically and it works fine. Thanks for fast replies.