1834660 Members
2262 Online
110069 Solutions
New Discussion

Route problem

 
Prasanna_3
Occasional Contributor

Route problem

Hi,,

I have this HP-UX machine in another subnetwork.
I added a route in this machine as
route add 11.255.23.0 11.255.23.1 1 and to make it permanent, I have updated netconf file.
After I do 'route -f' and '/sbin/init.d/net start' , I can telnet to this machine from the remote network for first 5 minutes.. after that I'm not able to reach this machine from a remote network.

What could be the problem..

Can these two route entries co-exist in the table ..?
results of 'netstat -rn'

11.255.23.0 Boston U 2 lan0 1500
11.255.23.0 11.255.23.1 UG 0 lan0 1500

'Boston ' is the machine that i'm working on..
6 REPLIES 6
Muthukumar_5
Honored Contributor

Re: Route problem

Where is the default gateway entry to route?

11.255.23.0 Boston U 2 lan0 1500
11.255.23.0 11.255.23.1 UG 0 lan0 1500

You are trying to give gateway as Boston and as well as 11.255.23.1

Just change as,

11.255.23.1 11.255.23.1 UG 0 lan0 1500

It will work now.
Easy to suggest when don't know about the problem!
Prasanna_3
Occasional Contributor

Re: Route problem

Hiii,,,

Here's the o/p of netstat -rn.
Routing tables
Destination Gateway Flags Refs Interface pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
11.255.23.163 11.255.23.163 UH 0 lan0 4136
11.255.23.0 11.255.23.163 U 2 lan0 1500
default 11.255.23.1 UG 0 lan0 0

With this info I'm able to telnet to the machine after 5 mins of 'route -f' .. cannot telnet the machine thereon !!

Can you pls help !!
Massimo Bianchi
Honored Contributor

Re: Route problem

I had a similar problem with a duplicate ip adrress.


Chek the arp table with "arp -a" on local server and mac address on remote system to see if they ALWAYS match.

Does ping works, even after the 5 minutes elaspe time ?

Maybe you have a firewall between the system, or the system is dropping the connections after 5 minutes of inactivyty. Is this possible ?

HTH,
Massimo
Prasanna_3
Occasional Contributor

Re: Route problem

Hi All,,
Thanks for the reply,,, I figured out from the other route related topics..I had to disable dead gateway detection param.

I set it to 0 and a reboot... system is up and can be connected..

Cheers !!!
Prasanna
Pratyush Paul_1
Valued Contributor

Re: Route problem

Prasanna -

Yes you are right it is a dead gateway issue. This is what you could do.

#ndd -get /dev/ip ip_ire_gw_probe

if 1 = dead gateway is enabled

if 0 = dead gateway is disabled.

To make a temporarp change do this

#ndd -set /dev/ip ip_ire_gw_probe 0

To make a permanent change

edit /etc/rc.config.d/nddconf (add these)

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

Hope this helps.

Thanks

Pratyush

Die Hard
Jeroen Peereboom
Honored Contributor

Re: Route problem

Also check the replies in your other thread. These cannot be ignored?!

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=673099

JP.