Operating System - HP-UX
1833159 Members
3231 Online
110051 Solutions
New Discussion

Re: Does this mean network intreface failed?

 
faust2004
Regular Advisor

Does this mean network intreface failed?

Hi, export ,
In my sun box (solaris 2.7), ping itself is ok, netstat -rn show correctly, but ping other host fail on the same lan, chang a good network cable , the error remain.
does this mean the network intreface failed?

Thanks
Sunny
6 REPLIES 6
Michael Tully
Honored Contributor

Re: Does this mean network intreface failed?

Hi,

Is the other box a HPUX box?
You could try a similar test from a PC or if you have access your system console. (telnet & ping)

Michael
Anyone for a Mutiny ?
Steven Sim Kok Leong
Honored Contributor

Re: Does this mean network intreface failed?

Hi,

On your sun box, can you perform an the following after the ping other host(s) failed?

# arp -a

This will display the arp cache table in your sun box. If the MAC addresses of the other hosts are shown, then your link layer connectivity is fine and the fault most likely is the IP layer such as configuration settings.

If you don't see the MAC addresses displayed, then your link layer connectivity is not available. In that case, you should check your switch port settings such as VLAN settings i.e. ensure that your sun box is in the same VLAN as the other systems you are ping'ing.

Hope this helps. Regards.

Steven Sim Kok Leong
Niraj Kumar Verma
Trusted Contributor

Re: Does this mean network intreface failed?

what does
ping -s hostname

returns. It is hard to decide at first that n/w card had has gone bad ...

can you try once the following

# ifconfig hme0 down
# ifconfig hme0 up

you can also try changing the IP address of the interface for any ip address conflict see the syslog.


-Niraj
Niraj.Verma@philips.com
faust2004
Regular Advisor

Re: Does this mean network intreface failed?

Steven,
arp -a show nomessage, the the sun box and
the pinged sunbox are on the same switch.

Thanks
Sunny
Steven Sim Kok Leong
Honored Contributor

Re: Does this mean network intreface failed?

Hi,

Check whether the link light is green on your NIC card.

Do you have a cross-over cable? Connect it from this sun box to either other box you are ping'ing or a notebook. Can the sun box ping the notebook? Can the notebook ping the sun box?

If ping failed and arp -a does not show the MAC address of the notebook, then you most likely have a faulty network card that needs to be changed. Check your /var/adm/messages (or dmesg) for messages or errors involving your hme0 interface. Are there any link down messages on the sun box?

Hope this helps. Regards.

Steven Sim Kok Leong
Ron Kinner
Honored Contributor

Re: Does this mean network intreface failed?

Pinging your own IP address seldom proves anything since the machine will cheat and not send it onto the Ethernet.

Look for link lights on both ends of the network cable. Verify that speed and duplex are the same on both ends. Try a different port on the switch and make sure the port is not in the wrong VLAN.

Sun must have an equivalent of hp's lanadmin which tells you the status of the NIC and gives statistics on packets in and out and any errors. You may want to post in the sun forum:

http://forum.sun.com/

Ron