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

routing traffic

Status
Not open for further replies.

HebieBug

Programmer
Joined
Jan 8, 2001
Messages
354
Location
JP
Have a win 2000 server at home. The setup is quite straight forward it's ips 192.168.0.94 it has a gateway of 192.168.0.1 (internet).
I am logging into work through RAS.
Once the conneciton is made all my ping requests to the internet are routed through my RAS connection rather then using my local gateway. Does anyone know how I can configure my box so that on internet requests it will go through my local gateway and then on RAS scope request 192.168.0.1 ---- upwards it will go through the RAS conneciton.
Regards
 
hi,

you can use the route command from dos,

so you have to use
route delete 0.0.0.0 0.0.0.0 gateway_add ras_interface

and you add a route to the specific ip addresses of the lan of you work

route add ip_network_of_work the_netmask gateway ras_interface

hope this help you
 
holy moly mother of pearls.
I never that that command ever existed. Your a big help dude
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top