Configuring Multiple gateways in Win2003 Server

  • Thread starter Thread starter Stephen M
  • Start date Start date
S

Stephen M

Is it possible to configure TCP/IP in Win2003Svr to route traffic at a
specific IP address or range through one gateway and all other external
traffic through another (default) gateway?

Thanks,

Steve
 
Yes, this link may help,

Routing
One router goes to the corporation email server and another one goes to the
Internet Route command and examples Routing issue if the LAN and VPN are in ...
www.chicagotech.net/routing.htm

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Is it possible to configure TCP/IP in Win2003Svr to route traffic at a
specific IP address or range through one gateway and all other external
traffic through another (default) gateway?

Thanks,

Steve
 
Yes, use the "route add" command. It takes the form

route add <destination net> mask <subnet mask> <gateway address> [options]

i.e.

route add 12.23.34.0 mask 255.255.0.0 192.168.0 1

add the -p option to make it persistent (survive a routing update), assign
with a logon batch file if you need the route available all the time.

....kurt
 
Kurt,

Thanks. I tried that out and it does just what I need. I also found that
this setting does not "stick" after a reboot. A nuissance but easy enough to
work around.

Is there any particualr reason why Microsoft would not implement the routing
options as a separate tab off the advanced properties page off of the TCP/IP
properties for the network connection?

Cheers,

Steve




Kurt said:
Yes, use the "route add" command. It takes the form

route add <destination net> mask <subnet mask> <gateway address> [options]

i.e.

route add 12.23.34.0 mask 255.255.0.0 192.168.0 1

add the -p option to make it persistent (survive a routing update), assign
with a logon batch file if you need the route available all the time.

...kurt


Stephen M said:
Is it possible to configure TCP/IP in Win2003Svr to route traffic at a
specific IP address or range through one gateway and all other external
traffic through another (default) gateway?

Thanks,

Steve
 
Actually they do in RRAS on server. I guess they just figured desktops would
be connected to routers, and that routing would occur there rather than on a
user workstation.

....kurt


Stephen M said:
Kurt,

Thanks. I tried that out and it does just what I need. I also found that
this setting does not "stick" after a reboot. A nuissance but easy enough
to
work around.

Is there any particualr reason why Microsoft would not implement the
routing
options as a separate tab off the advanced properties page off of the
TCP/IP
properties for the network connection?

Cheers,

Steve




Kurt said:
Yes, use the "route add" command. It takes the form

route add <destination net> mask <subnet mask> <gateway address>
[options]

i.e.

route add 12.23.34.0 mask 255.255.0.0 192.168.0 1

add the -p option to make it persistent (survive a routing update),
assign
with a logon batch file if you need the route available all the time.

...kurt


Stephen M said:
Is it possible to configure TCP/IP in Win2003Svr to route traffic at a
specific IP address or range through one gateway and all other external
traffic through another (default) gateway?

Thanks,

Steve
 
To get it to be there after a reboot, just put a batch file with the "route
add" command line in your startup folder.

....kurt

Stephen M said:
Kurt,

Thanks. I tried that out and it does just what I need. I also found that
this setting does not "stick" after a reboot. A nuissance but easy enough
to
work around.

Is there any particualr reason why Microsoft would not implement the
routing
options as a separate tab off the advanced properties page off of the
TCP/IP
properties for the network connection?

Cheers,

Steve




Kurt said:
Yes, use the "route add" command. It takes the form

route add <destination net> mask <subnet mask> <gateway address>
[options]

i.e.

route add 12.23.34.0 mask 255.255.0.0 192.168.0 1

add the -p option to make it persistent (survive a routing update),
assign
with a logon batch file if you need the route available all the time.

...kurt


Stephen M said:
Is it possible to configure TCP/IP in Win2003Svr to route traffic at a
specific IP address or range through one gateway and all other external
traffic through another (default) gateway?

Thanks,

Steve
 
Back
Top