1829924 Members
2643 Online
109997 Solutions
New Discussion

Network Error

 
hboo
Frequent Advisor

Network Error

Hi all
I need help, the command ping of a HPUX 11.11 server does not answer, and already I have assigned the ip address and the Gateway in the file /etc/rc.config.d/netconf
What another thing I must check to verify that the machine connects to the net, certainly already I connected cable..
thanks
4 REPLIES 4
Paul Sperry
Honored Contributor

Re: Network Error

what about your /etc/hosts file
Steven E. Protter
Exalted Contributor

Re: Network Error

Shalom,

1) Try pinging the entries in /etc/resolv.conf They are numbers and if there is a DNS problem this will point to it or show that the system has a network problem.

2) Look in /etc/rc.config.d/netconf and ping the gateway and such in there. That must be accessible.

3) Run commands such as lanscan to check card health and mac address. The arp command away from the server may have cached network information. if the system is totally cut off the arp cache will eventually be emtpy.

4) try and ping the system by ip address from outside and inside the system and loo for an answer.

5) Better yet connect with some configured service such as ftp.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Yang Qin_1
Honored Contributor

Re: Network Error

Hi, run lanscan to see if the LAN interface you configued is up or not. run "lanadmin -x #" where # is the interface ID you may find from lanscan output, 0 or 1 or 2. Look at the speed. It is set to 10/100/1000 Full Duplex or half duplex. Check with your network admin and make sure it match what they configured for that connection.

You can also plug the same cale to a laptop and see if you can connect to the network or not and make sure you are in the right subnet -- for example your Unix server IP is 192.168.2.1 then from ipconfig output, the ip assigned to the laptop should be something like: 192.168.2.xxx

Did you run ping command from that unix box? can you get response from the other server? Did you configured domain and DNS on that server? Did you add the ip and host name in /etc/hosts?


yang
Sp4admin
Trusted Contributor

Re: Network Error

Hello Hayes,

Check the /etc/rc.config.d/netconf file make sure its right.

Do a "ifconfig" on the LAN card like lan0 make sure you see the IP

Is the hsosts in DNS?

Do you have a link light?

Is the gateway configured?

Sp,