Operating System - HP-UX
1825768 Members
2010 Online
109687 Solutions
New Discussion

Re: After I configured network card with IP I still can not ping out.

 
Juan Gonzalez_2
Frequent Advisor

After I configured network card with IP I still can not ping out.

I modified the file /etc/rc.config.d/netconf with the Hostname, Route Destination, route gateway, ip address, subnet mask, and interface name. When I do a netstat -in and also when I look at the lan card from within SAM it shows enable set to 1000 full duplex, I do not see any problems but when I do a lanadmin -x 0 I get the link is down. The server is a rx4640 running HP-UX 11.23. When I try to ping out I get no response. What am I forgetting to do to get this NIC configured?
8 REPLIES 8
Chauhan Amit
Respected Contributor

Re: After I configured network card with IP I still can not ping out.

please paste following output
#ifconfig lan0
#netstat -in
#netstat -rn

are you able to ping from local host ?

-Amit
If you are not a part of solution , then you are a part of problem
rariasn
Honored Contributor

Re: After I configured network card with IP I still can not ping out.

Hola Juan,

Anothers commands,

# lanscan
# /usr/contrib/bin/traceroute

rgs,

ran
Ralph Grothe
Honored Contributor

Re: After I configured network card with IP I still can not ping out.

So you did check with linkloop command that the NIC is connected and has a layer 2 link,
and you did check with the ifconfig command that the UP flag is present, and with netstat that there is a routing entry to the local LAN for the configured IP?

Are you running any netfilter (aka firewall) that would drop ICMP packets on the box?

Maybe your box'es IP stack is configured not to reply to broadcast echo requests?

What does this command show?

ndd -get /dev/ip ip_respond_to_echo_broadcast
Madness, thy name is system administration
Ralph Grothe
Honored Contributor

Re: After I configured network card with IP I still can not ping out.

Sorry, overead that the ping out is failing,
so please ignore my last silly question.
Madness, thy name is system administration
Juan Gonzalez_2
Frequent Advisor

Re: After I configured network card with IP I still can not ping out.

Chauhan,

I can ping the local host. Here is the information you asked for:

# ifconfig lan0
lan0: flags=1843
inet 192.238.127.68 netmask ffffffc0 broadcast 192.238.127.255
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 192.238.127.64 192.238.127.68 12990 0 12990 0 0
lo0 4136 127.0.0.0 127.0.0.1 57894 0 57894 0 0
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
192.238.127.68 192.238.127.68 UH 0 lan0 4136
192.238.127.64 192.238.127.68 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 192.238.127.65 UG 0 lan0 0

# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
192.238.127.68 192.238.127.68 UH 0 lan0 4136
192.238.127.64 192.238.127.68 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 192.238.127.65 UG 0 lan0 0
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/1/2/0 0x001560045950 0 UP lan0 snap0 1 ETHER Yes 119
0/1/2/1 0x001560045951 1 UP lan1 snap1 2 ETHER Yes 119
0/2/1/0 0x00156004379E 2 UP lan2 snap2 3 ETHER Yes 119
0/2/1/1 0x00156004379F 3 UP lan3 snap3 4 ETHER Yes 119

All the information seem to be okay and I am not running any ip filters but the server is behind a DMZ which I do not maintain.
Juan Gonzalez_2
Frequent Advisor

Re: After I configured network card with IP I still can not ping out.

On the back of the server I do see link lights on the NIC. When I try to ping the the gateway I get no response.
Juan Gonzalez_2
Frequent Advisor

Re: After I configured network card with IP I still can not ping out.

I resolved the problem.
Juan Gonzalez_2
Frequent Advisor

Re: After I configured network card with IP I still can not ping out.

Closing thread.