Windows DHCP server - distribute multiple default gateways?
I'm helping a client through the process of configuring a Windows 2012 DHCP server while migrating from Linux ISC DHCP.
In the Windows New Scope Wizard dialog, there is an option to:
...specify the routers, or default gateways (plural), to be distributed by the scope.
My customer asked when it would make sense to distribute multiple default gateways to DHCP clients...
I didn't have a good answer. So I'm curious when/if this functionality is appropriate, and does it hinge heavily on certain clients systems (e.g. Windows PCs)? I'd like to hear about practical scenarios.
If you got multiple subnet linked from a switch in exemple and your main router as your gateway CAN'T do ICMP Redirect, you better give the default gW, or route 0.0.0.0 to the router with the internet behind and to do static rule in the computer to make the computer talk to other router to go somewhere else (like another site)
Only time I seen it can be usefull to have two GW it's on layer 3 switch&router scenario. What I seen in the past was that;
[PC]---1 GW (switch vlan ip)---[SWITCH LYR 3]----- GW#1--[RTR-1]---[WAN1]
-----GW#2--[RTR-2]---[WAN2]
So, is it usefull, no IMO, as nowaday router are cheap and allow multiple WAN, not like in the past.
This is an old post but for anyone else with this question:
If you're using HSRP or VRRP for L3 high availability, you can load balance across the two L3 switches by creating two HSRP/VRRP groups and using one switch as the active forwarder for one group and standby for the other (vice versa on the other switch). Some client gateways would be pointed to the first groups virtual IP and some client gateways would be pointed to the second groups virtual IP.
See the image below:
I am a CCIE, the answer to your question depends on the topology and your business parameters. In fact, where most people leverage HSRP or VRRP you can probably get away with just distributing multiple default gateways via DHCP. Failure can be a little more seamless via HSRP or VRRP and if any stateful devices in the path also happen to record or track the mac then you'll run into problems (some firewalls do in internal tables as well as load balancers). Keep in mind all devices on the network would need to support multiple routers for holistic redundancy. You may run into problems on things like print servers and IoT type devices. Outside those instances, you'd be fine. Whenever possible, keep it simple