Operating System - HP-UX
1834691 Members
2349 Online
110069 Solutions
New Discussion

Can not ping outside "myself"

 
SOLVED
Go to solution
Carey Goad
Occasional Advisor

Can not ping outside "myself"

I can not ping ANYTHING other than "myself". I have checked the netconf file and it appears to be fine. The default gateway is setup correctly, the network connection is OK (we verified it by hooking up another device).

Any ideas on things to check?

It is HP-UX 11, K-class, 10/100NIC.

Thanks
9 REPLIES 9
Patrick Wallek
Honored Contributor

Re: Can not ping outside "myself"

What is the error you are getting?

What happens when you try pinging your default gateway?

What's the output of netstat -rn?

Are you trying to ping by name or by IP address? Do you have appropriate entries in the hosts file or are you using DNS? HAve you set up /etc/resolv.conf and /etc/nsswitch.conf appropriately if using DNS?

More info please........
Sanjay_6
Honored Contributor
Solution

Re: Can not ping outside "myself"

Hi Gary,

Check your gateway. Check the port configuration on the switch. If your card on the system is set to 100MBPS , full duplex, set the switch to 100MBPS fixed, full duplex, auto neg off and set the port on the system to 100 MBPS full duplex auto neg off. If the card on the system is set to 10 mbps, set the switch speed to 10 mbps. try to avoid using auto neg.

Hope this helps.

Regds
James R. Ferguson
Acclaimed Contributor

Re: Can not ping outside "myself"

Hi Carey:

The first thing that I'd do is to verify your gateway and your subnet masks.

Regards!

...JRF...
Uday_S_Ankolekar
Honored Contributor

Re: Can not ping outside "myself"

Hi,

Are you able to ping to gateway..?
Try traceroute command and see where it's throwing packets.
# traceroute ipaddress

netstat -rn will show you routing tables.

Goodluck,
-USA..

Good Luck..
Carey Goad
Occasional Advisor

Re: Can not ping outside "myself"

Good questions:

1)There are no errors - the ping command does not come back (100% packet loss)

2) same as #1

3) $ netstat -rn
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 1718793 lo0 4136
10.99.1.112 10.99.1.112 UH 0 0 lan0 4136
10.100.1.136 10.100.1.136 UH 0 30609424 lan3 4136
10.100.0.0 10.100.1.136 U 2 0 lan3 1500
10.99.0.0 10.99.1.112 U 2 0 lan0 1500
127.0.0.0 127.0.0.1 U 0 0 lo0 4136
default 10.100.1.5 UG 0 0 lan3 1500

4) Trying to ping by IP address
Sanjay_6
Honored Contributor

Re: Can not ping outside "myself"

Hi Carey,

also make sure that you do not have a suplicate ip on the network. can you ping this sytsem from some other system / workstation.

Hope this helps.

Regds
Ron Kinner
Honored Contributor

Re: Can not ping outside "myself"

Could be your NIC set up with the wrong speed. Autonegoiate doesn't work reliably. Do
lanadmin
lan
display
and verify that lan 0 is Up Up and that the speed and duplex are correct. (Compare to what the switch says it has on the same port)

Now do
ppa 3
and
display
Repeat above except for lan 3.

If everything looks good reverse the two network cables. Maybe your idea of lan 0 differs from HP's.

Ron

PS What kind of switch do you have?
Jerome Salyers
Advisor

Re: Can not ping outside "myself"

hi,

you might want to check that your rpcd is running... if it's not, you won't get very far...

use

ps -ef | grep rpc

to see if its running and check the /etc/rc.log to see if it started properly on boot...

jerome
K.Vijayaragavan.
Respected Contributor

Re: Can not ping outside "myself"

Hi,

Use the command,
#set_parms addl_netwrk

to specify the default gateway and the subnetmask.

what is the status of the link activity indicator (LED) at the network port on your server?

Do you have any more network cards in your system?

What is the other network device that you hooked in the same port and verified it as working?
-Vijay
"Let us fine tune our knowledge together"