Operating System - HP-UX
1827584 Members
2652 Online
109965 Solutions
New Discussion

lan disconnection when using the gateway

 
CSP_ALGERIA
Frequent Advisor

lan disconnection when using the gateway

Hello

I have a disconnection when using telnet or ping command from an other server or PC to the server rp7420 running under HPUX11i.

In the same segment( 10.100.106.x) the telnet and ping work finely with out problem, but when using an other segment (10.100.2.x)by the gateway 10.100.106.254, we have the reply for 10 second only and after that we have disconection !!!

to be sure that the problem is not in the network installation, I have connect one PC in place the server rp7420 and give him the same ip address and the same gatway, so the ping work fine with out disconnect.

Is there any other configuration, or any other parameters to modify ( time out) to resolve the problem.

Best regards

Omar



Nothing in the world can take the place of persistence.
6 REPLIES 6
Alex Lavrov.
Honored Contributor

Re: lan disconnection when using the gateway

Please post here the output of:
netstat -in
netstat -rn
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Steven E. Protter
Exalted Contributor

Re: lan disconnection when using the gateway

I'd like to see /etc/rc.config.d/netconf

Or alternatively take a look at it for inconistent settings.

HP-UX networking rule #1: Can't have two nics on the same network. I'd have to see netmask to confirm this is the issue.

Don't back up netconf in rc.config.d it will double load.

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
CSP_ALGERIA
Frequent Advisor

Re: lan disconnection when using the gateway

Hello

The attached file contains the commands needed and the /etc/rc.config.d/netconf file.

Many thanks for your feedback.

Best regards

Omar
Nothing in the world can take the place of persistence.
Bill Hassell
Honored Contributor

Re: lan disconnection when using the gateway

Run this command:

ndd -get /dev/ip ip_ire_gw_probe

If the result is 1, then the dead gateway detection option is turned on, *and* your network adamins have disabled ping in your gateway (try ping to verify). HP-UX will disable routing to a gateway that does not respond to a ping after a few minutes. You can verify that this has happened with:

ndd -get /dev/ip ip_ire_status | grep -e IRE_GATEWAY -e flag

and look for the word dead. To fix this, edit /etc/rc.config.d/nddconf and add:

TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_ire_gw_probe
NDD_VALUE[0]=0

...assuming there are no other entries. Otherwise, change [0] to the next unused entry. Then run ndd -c and follow that with

ndd -get /dev/ip ip_ire_gw_probe

to see that it reads 0. That will eliminate the automatic disable for the route. To get the gateway goinh again, use the route command to delte the route and add it back again.


Bill Hassell, sysadmin
Tim Nelson
Honored Contributor

Re: lan disconnection when using the gateway

Ran into the same problem that Bill is explaining. Drove us nuts for a day. Worked for a few minutes then could not connect anywhere (although I do not think this is the problem here).


One interface on 10.100.106.x the other interface on 10.100.2.x. If using the same netmask and same router you will not win. Cannot have two nics on same network. Routing gets confused.
sinhass
Regular Advisor

Re: lan disconnection when using the gateway

Ur netstat output shows two default gateway. I think you should take a look on it.