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

Is this routing possible?

Status
Not open for further replies.

thrtnastrx

Technical User
Oct 31, 2002
276
US
I have a computer with WINXP that has two network interfaces. The first is a LAN 192.168.1.0/24 and the second is a WAN (used for Internet only) 207.178.xx.xx. The LAN interface also connects to LAN's 192.168.2.0, 3.0, and 4.0 via VPN on default router. The routers on each of the computers interfaces do not share a common subnet interface.

The problem is, when I boot up the WINXP computer it can't PING the remote LAN subnets becuase it's using the WAN as the gateway. I created a temporary fix by adding routes to DOS routing table.

Is it possible to add a route to the WAN router for the subnet's 192.168.2.0, 3.0, 4.0 if it doesn't have an Interface on the 192.168.1.0 subnet?
 
The short answer is no. Since the machine is 'Multi-homed' it has to have a local routing table to decide which gateway to send traffic for remote networks to. As you have already seen (and figured out) you need to add static routes to get what you want to work. You can make these routes permanent (use the -p switch from the cli) but it isn't ideal.

Why has this XP machine got two NIC's anyway? It makes more sense to connect the internet router to another router (your internal default-gateway) and let the routers make the routing decisions. Dual-homing servers is generally a pain.

HTH

Andy
 
Thanks for the reply.

This is a new customer and I don't have a network diagram yet, but I think they have thier VOIP and data networks physically seperated and this computer is the only one with access to both networks. For now I'll just use -p for my routing.
 
I agree with ADB100

The only way you can reliably do it is a static for each route in the XP Box. MS say they can support RIP but it's not worth it.

I would ask the same question - why? Such things should be on the router so they are visible and manageable.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top