Link to home
Start Free TrialLog in
Avatar of ITSupportLCBT
ITSupportLCBTFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Two default gateways

Hi

Can I have two default gateways (one per subnet) on a windows 2003 server?

Specifically, I'd like to have two NICs, each of them on a different subnet, each with its own default gateway. Is this possible?
Avatar of Marcellino Santoso
Marcellino Santoso
Flag of Netherlands image

2 NICs each connecting to different subnet thus different network, each MUST utilize the gateway of the respective network. so: yes.
Elaborated: it's basically the same thing connecting your laptop to network A using wifi, getting 192.168.1.102 and using 192.168.1.1 as gateway; (AND) to network B using ethernet on 178.1.1.12 with gateway 178.1.1.1, while connected to modem via dialup to AOL and getting 167.205.168.34 with gateway -whatever number-

Sure thing it can, have done it trizillion times :D
No go. A default gateway is the route a machine send it's packet when it doesn't 'know' the network the packet is send to. How would the server know what DG to send it to? Worst case the server would do load balancing over the two gateways with all problems and issues that come with it.....
Avatar of R4inc
R4inc

We have a server setup with Dual NICs each on different subnets.  The problem with the two default gateways is how does the traffic from the server know which gateway to go to.  What we had to do is set one with the default gateway, for internet access, and the other with no default gateway.  Then you need to setup route statements to allow routing through the second "non gateway" NIC.
Yes go.
It's all in your routing settings (this differs from one server to another, I can't really elaborate the steps)
@meb_santoso: then you'd be the first to get that working (out of a trillion MS specialists out tjere). I'd like to see a working example of that.
ASKER CERTIFIED SOLUTION
Avatar of R4inc
R4inc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@ErnieBeek: well, I stated that it can, but not without problems :-)
(as the original question only asking if multiple gateways is possible)


Yeah ok, it is possible :-~

But then it also our task (being experts) to explain that it isn't something you want to have.
LOL. agreed :-)

So, in conjunction to ErnieBeek's comment #35158126 (and the other experts upfront) : you CAN have multiple gateways operating on Win2003 Server, but IT IS NOT RECOMMENDED.

:-)
meb_santoso: One thing. Are you talking about gateways, or default gateways ?
I stand corrected, DEFAULT gateway :)