routing between 2 gateways

  • Thread starter Thread starter shalahne
  • Start date Start date
S

shalahne

how can i work on two gateways in the same pc with win98
or me or xp

so i am working on pc"s that have win me and my pc is
connected to the frame relay router and it works fine
so i am trying to connect another router to the network by
cables
so what happens
when i startup the pc windows connect to the cable router
fine . but when i work on other software that work
through the frame router it works ,, but after that the
cable route no longer responde just like the windows
explorer can reach the router
but windows is still attached to the two routers and i can
still can see the two routers with the ipconfig command
and they replaying the ping command just fine

soooo

is there a command that i can use to tell the windows
explorer where to route and the other software where to
route
 
You can use "route.exe" utility in Windows to add routes to your PC.
Using "route.exe add" command add routes for networks reachable through
different routers.

Then Windows explorer and other softwares will be able to reach networks
appropriately.

If, you want same network resource to be reached by windows explorer through
one router and by other software through another router then it's not
possible.

-Pawan
This posting is provided "AS IS" with no warranties, and confers no rights.
 
To expand on what Pawan said, you need to work out what traffic needs to
go to which router. For instance, if the FR network is to another branch of
your company, you can find out what IP addresses they use. So you set your
default route to point to the cable modem (for normal Internet access) but
add a static route to send traffic for the other site to the FR router. So
if they are using the 172.16.0.0 subnet, you would add a static route like

route add -p 172.16.0.0 255.255.0.0 <IP address of FR router>

The static route takes priority over the default route.
 
Back
Top