Operating System - HP-UX
1834163 Members
2869 Online
110064 Solutions
New Discussion

adding a route problems....

 
SOLVED
Go to solution
Mike Barron_3
Advisor

adding a route problems....

Ok,

Im adding a route to my server...

route add 2

It takes the route just fine. The problem is when I do a traceroute , it doesn't use the gateway I assigned it, It uses the default one for the system which is what I dont want. Leaving the distant network unreachable....

Any ideas?
7 REPLIES 7
Craig Rants
Honored Contributor

Re: adding a route problems....

What does your routing table say after you add the route. If you could put that in your message that would help out.

C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Mike Barron_3
Advisor

Re: adding a route problems....

10.1.29.0 208.153.15.250 UGH 0 0 lan1 1500
localhost localhost UH 0 0 lo0 4608
denusdb1 localhost UH 8 78547 lo0 4608
default 208.153.15.1 UG 17 4779898 lan1 1500


Looks fine....

The funny thing is The other server's routing table are set the same, and I can reach it on that server...
Sanjay_6
Honored Contributor
Solution

Re: adding a route problems....

Christopher Caldwell
Honored Contributor

Re: adding a route problems....

Can you post your IP and mask (and the mask you used to build the route)?
Mike Barron_3
Advisor

Re: adding a route problems....

Ding Ding Ding Thanks for the help Sanjay, That thread did it. I was missing the "net" option... You get a 10!
G. Vrijhoeven
Honored Contributor

Re: adding a route problems....

Hi,

Try:

ifconfig lan0 | grep inet | awk '{print $2,$4}'

hope this will help

Gideon
harry d brown jr
Honored Contributor

Re: adding a route problems....

Can you do a "netstat -rnv" so that we can see the metmasks also?


thanks,

live free or die
harry
Live Free or Die