Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

route add returns network unreachable! :(

Status
Not open for further replies.

cpjust

Programmer
Sep 23, 2003
2,132
US
Hi, this is driving me crazy.
I'm running HP-UX (B.11.23 U ia64), and I can't add a route. It just says "network unreachable", even though I can ping the gateway that I'm adding...

This is the command I'm running:
route add net 10.4.0.0 netmask 255.255.0.0 10.0.30.254
Does anyone know what's wrong?
 
Whats your default gateway? Anway: 10.0.30.254 is not inside 10.4.0.0.
 
Nevermind, I figured it out. For some reason I also needed to specify a metric of 1:
route add net 10.4.0.0 netmask 255.255.0.0 10.0.30.254 1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top