Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem pinging the default gateway on hpux

SOLVED
Go to solution
Dhruva Raj
Advisor

Problem pinging the default gateway on hpux

Hi All,

I have created a new vpar on a Rx8640 machine using a DRD clone disk of another vpar which is working perfectly fine.
Now I am facing issue with network on the new machine. I configure the IP using set_parms and I am able to ping the IP from outside the server. But from the server, i am not able to ping any other servers which are in the same vlan... what makes worse is I am not able to ping my own gateway in the server too...

I previous vpar (clone disk'd) server had APA configured, i thaught that might be causing issues and cleared the conf file related to APA (which removed the FAIL error at server startup for configuring APA).

Below are server ip config details:

[secud01:root:/]lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/12/1/0/6/0 0x1CC1DE319ABE 22 UP lan22 snap22 1 ETHER Yes 119
0/0/12/1/0/6/1 0x1CC1DE319ABF 23 UP lan23 snap23 2 ETHER Yes 119
1/0/12/1/0/6/0 0x1CC1DE319AF4 24 UP lan24 snap24 3 ETHER Yes 119
1/0/12/1/0/6/1 0x1CC1DE319AF5 25 UP lan25 snap25 4 ETHER Yes 119
LinkAgg0 0x000000000000 900 DOWN lan900 snap900 6 ETHER Yes 119
LinkAgg1 0x000000000000 901 DOWN lan901 snap901 7 ETHER Yes 119
LinkAgg2 0x000000000000 902 DOWN lan902 snap902 8 ETHER Yes 119
LinkAgg3 0x000000000000 903 DOWN lan903 snap903 9 ETHER Yes 119
LinkAgg4 0x000000000000 904 DOWN lan904 snap904 10 ETHER Yes 119

[secud01:root:/]ifconfig lan24
lan24: flags=1843
inet 10.179.56.9 netmask fffffc00 broadcast 10.179.59.255


[secud01:root:/]ping 10.179.56.1
PING 10.179.56.1: 64 byte packets

----10.179.56.1 PING Statistics----
2 packets transmitted, 0 packets received, 100% packet loss


[secud01:root:/]netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 32808
10.179.56.9 10.179.56.9 UH 0 lan24 32808
10.179.56.0 10.179.56.9 U 2 lan24 1500
127.0.0.0 127.0.0.1 U 0 lo0 32808
default 10.179.56.1 UG 0 lan24 1500


I would appreciate any information or help w.r.t this issue.

Regards,
Druva
10 REPLIES
Shibin_2
Honored Contributor

Re: Problem pinging the default gateway on hpux

Have you tried to change your netmask from fffffc00 to ffffff00 ?

Can you do some modification in your routing table at mtu part as below ?

127.0.0.0 127.0.0.1 U 0 lo0 0
default 10.179.56.1 UG 0 lan24 0
Regards
Shibin
Dhruva Raj
Advisor

Re: Problem pinging the default gateway on hpux

Hi Shibin,

My etwork team has shared the netmask and they it is correct. but please let me know what modification needs to be done on route table and why?

Regards,
Druva
Dhruva Raj
Advisor

Re: Problem pinging the default gateway on hpux

Also the trace route for gateway dies in the server itself:

[secud01:root:/]traceroute 10.179.56.1
traceroute to 10.179.56.1 (10.179.56.1), 30 hops max, 40 byte packets
1 secud01 (10.179.56.9) 0.147 ms !N 0.047 ms !N 0.042 ms !N

Regards,
Druva
Kenan Erdey
Honored Contributor

Re: Problem pinging the default gateway on hpux

Hi,

what is the output of command ?(change gateway_mac_adress)

linkloop -i 24 gateway_mac_adress
Computers have lots of memory but no imagination
Dhruva Raj
Advisor

Re: Problem pinging the default gateway on hpux

Hi Kenan,

Below is the o/p:
[secud01:root:/]arp 10.179.56.1
10.179.56.1 (10.179.56.1) at 0:a0:8e:a7:f2:10 ether
[secud01:root:/]linkloop -i 24 0:a0:8e:a7:f2:10
Link connectivity to LAN station: 0:a0:8e:a7:f2:10
-- FAILED
Address has bad format

I am giving the wrong format of mac addr, if so how can i change the format.

Regards,
Druva
Kenan Erdey
Honored Contributor

Re: Problem pinging the default gateway on hpux

linkloop -i 24 0x00a08ea7f210
Computers have lots of memory but no imagination
Dhruva Raj
Advisor

Re: Problem pinging the default gateway on hpux

[secud01:root:/]linkloop -i 24 0x00a08ea7f210
Link connectivity to LAN station: 0x00a08ea7f210
error: get_msg2 getmsg failed, errno = 4
-- FAILED
frames sent : 1
frames received correctly : 0
reads that timed out : 1

grahamswilson
Trusted Contributor
Solution

Re: Problem pinging the default gateway on hpux

Two suggestions...

1. You said "I am able to ping the IP from outside the server."

Are you sure? Can you telnet/ssh to the server too from the outside? Perhaps what you are successfully pinging is NOT this server!!

2. Perhaps check for any "wrong" STATION_ADDRESS entries in any files in /etc/rc.config.d/

i.e. grep STATION_ADDRESS /etc/rc.config.d/*

I would think you shouldn't find any hard-coded MAC addresses.

Just a couple of thoughts...
Kenan Erdey
Honored Contributor

Re: Problem pinging the default gateway on hpux

hi,

in addition above, you look like not in the same vlan or you don't have layer2 connectivity. i met sometimes even if i have layer2 i could not ping outside. reboot helped me mostly. refer to network guy and check network.
Computers have lots of memory but no imagination
Dhruva Raj
Advisor

Re: Problem pinging the default gateway on hpux

Hi All,

Thanks a lot for the responses..
However, i wasn't able to resolve this mistry. All i did is recreat a drd clone of other OS and rebuild the vpar.

Regards,
Druva