Operating System - HP-UX
1825584 Members
1677 Online
109682 Solutions
New Discussion

After adding a route in HP UX, can not ping the destination.

 
irolfi
Occasional Contributor

After adding a route in HP UX, can not ping the destination.

Hi,

I add a route in HP UX with this command:

route add net 192.168.x.x netmask 255.255.255.255 10.1.x.x 1

but then I can not ping 192.168.x.x.

I can ping 10.1.x.x

Also I can ping 192.168.x.x from the router where the interface 10.1.x.x belongs.

 

Also I noticed smth strange that when I was trying to add the route I could not add it in the beggining with the error "destination network unreachable", I was able to add it only after I run the command: ping 10.1.x.x.

 

Can you help me please?

Thanks,

Flori

2 REPLIES 2
donna hofmeister
Trusted Contributor

Re: After adding a route in HP UX, can not ping the destination.

i'm pretty sure your netmask is wrong.

 

likely it should be 255.255.255.0,  you need to check with someone on your networking team for the correct value.

irolfi
Occasional Contributor

Re: After adding a route in HP UX, can not ping the destination.

Thank you for your reply.

I have tried that mask too, but nothing.

I have added the route even as a host and then as a subnet but still I can not ping the address.