1835822 Members
3743 Online
110085 Solutions
New Discussion

Re: network unreachable

 
SOLVED
Go to solution
kholikt
Super Advisor

network unreachable

I am two machine in the same subnet. For some reason we need to add some route. It is not a problem for the windows machine. For the HP-UX I can't add the route as I always get the network unreachable message.

The HP-UX server IP is 10.30.34.31 and mask is 255.255.255.240. The default gateway is 10.30.34.17.

I need to add a route back to my management network so I execute the following command but I can't add the route as it will complain network unreachable. I can ping 10.30.34.18.

route add net 10.15.5.0 255.255.255.0 gateway 10.30.34.18 1

abc
2 REPLIES 2
Enrico P.
Honored Contributor
Solution

Re: network unreachable

Hi,
the sintax of the command is:

/usr/sbin/route add net 10.15.5.0 netmask 255.255.255.0 10.30.34.18 1

Enrico
kholikt
Super Advisor

Re: network unreachable

Thanks it solve the problem I didn't add the netmask
abc