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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

add route lookup error

Status
Not open for further replies.

progressdll

Programmer
Feb 28, 2002
41
BE
We need to add our remote office to our linux routing table.

Our internal office ip addresses are all in the range of 198.9.200.x
with an subnet mask of 255.255.255.0

the remote office has ip addresses in the range of 192.168.0.0 and also a subnet mask of 255.255.255.0

when i use the following 'route' command, i get
target: Host name lookup failure

this is the command:
route -v add target 192.168.0.0 netmask 255.255.255.0 gw 198.9.200.42 metric 1 dev eth0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top