Welcome to ServerForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Two default gateway's

 
   Windows Server (Home) -> Windows Server Networking RSS
Next:  1domain/site, dual locations...if link goes down ..  
Author Message
Chad Guiney

External


Since: May 02, 2006
Posts: 5



(Msg. 1) Posted: Tue May 02, 2006 6:40 pm
Post subject: Two default gateway's
Archived from groups: microsoft>public>windows>server>networking (more info?)

Is it possible for me to add two default gateway addresses (Router option in
the DHCP scope) from the same network to allow for failover so if one of the
gateways goes down the clients will attempt to send traffic to the other?
Thanks in advance for any help

Chad

 >> Stay informed about: Two default gateway's 
Back to top
Login to vote
Phillip Windell

External


Since: Mar 04, 2004
Posts: 1673



(Msg. 2) Posted: Wed May 03, 2006 11:21 am
Post subject: Re: Two default gateway's [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Depends on the context.

Two Nics, each in a subnet, default gateway on each,...no,..you don't do
that.

One Nic, in one subnet (not a multi-netted nic), multiple Default Gateways
(all located on the same subnet),...yes,..it is called Dead Gateway
Detection. It is "clunky", undependable, and probably won't behave as you
expect,...but in *theory* it is a valid configuration.

The best way, in my opinion:

With an Internet connection scenario, the best way it to run all the
Internet links into the same router and let the same router handle all of
them. The links should all come from and be controlled by the same ISP. The
ISP will configure the routers (on both ends), using the Routing Protocols
to work together to handle the multiple lines. We use a pair of T1s here
for example.

Broadband connection are a little different. You have to buy a broadband
device that has two WAN ports and run both links into the same broadband
device. I have never seen any of these with more than 2 WAN ports, so you
would be limited to two links.

In an internal LAN scenario you use multiple routers with multiple paths to
the same destination. The routers are all configured with Routing Protocols
and will communicate with each other to maintain the paths. All the work is
done by the Routing Protocols.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com




"Chad Guiney" wrote in message

> Is it possible for me to add two default gateway addresses (Router option
in
> the DHCP scope) from the same network to allow for failover so if one of
the
> gateways goes down the clients will attempt to send traffic to the other?
> Thanks in advance for any help
>
> Chad

 >> Stay informed about: Two default gateway's 
Back to top
Login to vote
Chad Guiney

External


Since: May 02, 2006
Posts: 5



(Msg. 3) Posted: Wed May 03, 2006 4:49 pm
Post subject: Re: Two default gateway's [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Phillip your response was helpful. My situation is we have two ISP
connections at our location and one firewall (Gateway's) for each respective
link. I would like to configure the DHCP server to give out a router or
gateway IP for one of the firewalls and another to the other link. That way
if one ISP or firewall fails users will have uninterupted access to the
internet (Dead Gateway detection i guess). Both gateway IP's are on the same
192.168.1.0 network. So in theory it should work right? I have not tested
this yet. Thanks again.

Chad

> Depends on the context.
>
> Two Nics, each in a subnet, default gateway on each,...no,..you don't do
> that.
>
> One Nic, in one subnet (not a multi-netted nic), multiple Default Gateways
> (all located on the same subnet),...yes,..it is called Dead Gateway
> Detection. It is "clunky", undependable, and probably won't behave as you
> expect,...but in *theory* it is a valid configuration.
>
> The best way, in my opinion:
>
> With an Internet connection scenario, the best way it to run all the
> Internet links into the same router and let the same router handle all of
> them. The links should all come from and be controlled by the same ISP. The
> ISP will configure the routers (on both ends), using the Routing Protocols
> to work together to handle the multiple lines. We use a pair of T1s here
> for example.
>
> Broadband connection are a little different. You have to buy a broadband
> device that has two WAN ports and run both links into the same broadband
> device. I have never seen any of these with more than 2 WAN ports, so you
> would be limited to two links.
>
> In an internal LAN scenario you use multiple routers with multiple paths to
> the same destination. The routers are all configured with Routing Protocols
> and will communicate with each other to maintain the paths. All the work is
> done by the Routing Protocols.
>
> --
> Phillip Windell [MCP, MVP, CCNA]
> www.wandtv.com
>
>
>
>
> "Chad Guiney" wrote in message
>
> > Is it possible for me to add two default gateway addresses (Router option
> in
> > the DHCP scope) from the same network to allow for failover so if one of
> the
> > gateways goes down the clients will attempt to send traffic to the other?
> > Thanks in advance for any help
> >
> > Chad
>
>
>
 >> Stay informed about: Two default gateway's 
Back to top
Login to vote
Paul

External


Since: Oct 30, 2007
Posts: 1



(Msg. 4) Posted: Tue Oct 30, 2007 7:58 am
Post subject: Re: Two default gateway's [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,
I would like to utilise a 2nd Gateway and would appreciate your views on how
to achieve this. I noticed that in an earlier post in this chain Ben M.
Schorr - MVP suggests that it is not possible to add a 2nd Gateway; I'd like
to follow up on this if I may...

Background:
--------------
I have a multi-network nic configured with two local host IP addresses
(essentially two nics) in my laptop. The two hosts are on different subnets.
I require connections from different subnets to go through diferent gateways.
To achieve this I have configured two Gateways.

Local Host IP Address #1 = 192.168.1.100 /24
Local Host IP Address #2 = 172.16.1.100 /24

Default Gateway #1 = 192.168.1.1
Default Gateway #2 = 172.16.1.1

The Issue:
------------
I was hoping that having configured a 2nd Gateway (172.16.1.1), that the
gateway (router) with address 172.16.1.1 would be used to route traffic from
local host 172.16.1.100, whilst the gateway (router) with address 192.168.1.1
would continue be used to route traffic from local host 192.168.1.100...
unfortunateley is seems that only the default gateway is used (192.168.1.1).
I'm now wondering what value is there in configuring more than one default
gateway when only one will be used?

thanks,

Paul


"Phillip Windell" wrote:

> "Chad Guiney" wrote in message
>
> > Thanks Phillip your response was helpful. My situation is we have two ISP
> > connections at our location and one firewall (Gateway's) for each
> respective
> > link. I would like to configure the DHCP server to give out a router or
> > gateway IP for one of the firewalls and another to the other link. That
> way
> > if one ISP or firewall fails users will have uninterupted access to the
> > internet (Dead Gateway detection i guess). Both gateway IP's are on the
> same
> > 192.168.1.0 network. So in theory it should work right? I have not tested
>
> Work? Very poorly. Depends on how you define "work".
>
> Generally the answer is still NO. Dead Gateway detection does not do
> anything if the line goes down,...it only works if the gateway device (the
> hardware) dies (no electricity). Once DGD switches to the second
> gateway,...it will *not* switch back when order is restored. DGD is not
> usually the solution to problems,...it is the beginning of problems.
>
> 128978 - Dead Gateway Detection in TCP/IP for Windows NT
> http://support.microsoft.com/default.aspx?scid=kb;EN-US;128978
>
> 171564 - TCP/IP Dead Gateway Detection Algorithm Updated for Windows NT
> http://support.microsoft.com/default.aspx?scid=kb;EN-US;171564
>
> --
> Phillip Windell [MCP, MVP, CCNA]
> www.wandtv.com
>
>
>
 >> Stay informed about: Two default gateway's 
Back to top
Login to vote
"Robert L.

External


Since: Nov 19, 2007
Posts: 5



(Msg. 5) Posted: Tue Oct 30, 2007 10:24 am
Post subject: Re: Two default gateway's [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If a multihomed computer has two default gateways, it may confuse the
system. What you may do is keep just one default gateway and modify the
routing table. This search result may help.

RoutingOne router goes to the corporation email server and another one goes
to the Internet. Symptoms: you have one router connecting to the corporation
for email ...
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


"Paul" wrote in message

> Hi,
> I would like to utilise a 2nd Gateway and would appreciate your views on
> how
> to achieve this. I noticed that in an earlier post in this chain Ben M.
> Schorr - MVP suggests that it is not possible to add a 2nd Gateway; I'd
> like
> to follow up on this if I may...
>
> Background:
> --------------
> I have a multi-network nic configured with two local host IP addresses
> (essentially two nics) in my laptop. The two hosts are on different
> subnets.
> I require connections from different subnets to go through diferent
> gateways.
> To achieve this I have configured two Gateways.
>
> Local Host IP Address #1 = 192.168.1.100 /24
> Local Host IP Address #2 = 172.16.1.100 /24
>
> Default Gateway #1 = 192.168.1.1
> Default Gateway #2 = 172.16.1.1
>
> The Issue:
> ------------
> I was hoping that having configured a 2nd Gateway (172.16.1.1), that the
> gateway (router) with address 172.16.1.1 would be used to route traffic
> from
> local host 172.16.1.100, whilst the gateway (router) with address
> 192.168.1.1
> would continue be used to route traffic from local host 192.168.1.100...
> unfortunateley is seems that only the default gateway is used
> (192.168.1.1).
> I'm now wondering what value is there in configuring more than one default
> gateway when only one will be used?
>
> thanks,
>
> Paul
>
>
> "Phillip Windell" wrote:
>
>> "Chad Guiney" wrote in message
>>
>> > Thanks Phillip your response was helpful. My situation is we have two
>> > ISP
>> > connections at our location and one firewall (Gateway's) for each
>> respective
>> > link. I would like to configure the DHCP server to give out a router or
>> > gateway IP for one of the firewalls and another to the other link. That
>> way
>> > if one ISP or firewall fails users will have uninterupted access to the
>> > internet (Dead Gateway detection i guess). Both gateway IP's are on the
>> same
>> > 192.168.1.0 network. So in theory it should work right? I have not
>> > tested
>>
>> Work? Very poorly. Depends on how you define "work".
>>
>> Generally the answer is still NO. Dead Gateway detection does not do
>> anything if the line goes down,...it only works if the gateway device
>> (the
>> hardware) dies (no electricity). Once DGD switches to the second
>> gateway,...it will *not* switch back when order is restored. DGD is not
>> usually the solution to problems,...it is the beginning of problems.
>>
>> 128978 - Dead Gateway Detection in TCP/IP for Windows NT
>> http://support.microsoft.com/default.aspx?scid=kb;EN-US;128978
>>
>> 171564 - TCP/IP Dead Gateway Detection Algorithm Updated for Windows NT
>> http://support.microsoft.com/default.aspx?scid=kb;EN-US;171564
>>
>> --
>> Phillip Windell [MCP, MVP, CCNA]
>> www.wandtv.com
>>
>>
>>
 >> Stay informed about: Two default gateway's 
Back to top
Login to vote
Bill Grant

External


Since: Jul 13, 2004
Posts: 1105



(Msg. 6) Posted: Wed Oct 31, 2007 12:07 pm
Post subject: Re: Two default gateway's [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

A machine will only use one default gateway per machine, not one per
interface. If you configure more than one, the second one will not even be
considered unless the first one fails.

When a packet needs to be sent to a different network the software
decides what gateway to use based on its destination address, not its source
address. If the destination address is 192.168.1.x it will use the
192.168.1.100 NIC and use direct delivery (ie MAC address "on the wire").
Similarly if the target address is 172.16.1 x it will use the 172.16.1.100
NIC and use direct delivery on that network.

If the target is not in either of those subnets, the packet is sent to
the default router and that router decides what to do next.

If you want to control what traffic uses what interface you need to do
it based on the destination. As Bob mentioned, it is possible to control
what happens based on the destintion address. For instance you could make
all 172.16 traffic use the 172.16.1.100 interface by using static routing.
As it stands, only 172.16.1.x addresses would be directed to that interface
(because of the 24-bit subnet mask).

"Paul" wrote in message

> Hi,
> I would like to utilise a 2nd Gateway and would appreciate your views on
> how
> to achieve this. I noticed that in an earlier post in this chain Ben M.
> Schorr - MVP suggests that it is not possible to add a 2nd Gateway; I'd
> like
> to follow up on this if I may...
>
> Background:
> --------------
> I have a multi-network nic configured with two local host IP addresses
> (essentially two nics) in my laptop. The two hosts are on different
> subnets.
> I require connections from different subnets to go through diferent
> gateways.
> To achieve this I have configured two Gateways.
>
> Local Host IP Address #1 = 192.168.1.100 /24
> Local Host IP Address #2 = 172.16.1.100 /24
>
> Default Gateway #1 = 192.168.1.1
> Default Gateway #2 = 172.16.1.1
>
> The Issue:
> ------------
> I was hoping that having configured a 2nd Gateway (172.16.1.1), that the
> gateway (router) with address 172.16.1.1 would be used to route traffic
> from
> local host 172.16.1.100, whilst the gateway (router) with address
> 192.168.1.1
> would continue be used to route traffic from local host 192.168.1.100...
> unfortunateley is seems that only the default gateway is used
> (192.168.1.1).
> I'm now wondering what value is there in configuring more than one default
> gateway when only one will be used?
>
> thanks,
>
> Paul
>
>
> "Phillip Windell" wrote:
>
>> "Chad Guiney" wrote in message
>>
>> > Thanks Phillip your response was helpful. My situation is we have two
>> > ISP
>> > connections at our location and one firewall (Gateway's) for each
>> respective
>> > link. I would like to configure the DHCP server to give out a router or
>> > gateway IP for one of the firewalls and another to the other link. That
>> way
>> > if one ISP or firewall fails users will have uninterupted access to the
>> > internet (Dead Gateway detection i guess). Both gateway IP's are on the
>> same
>> > 192.168.1.0 network. So in theory it should work right? I have not
>> > tested
>>
>> Work? Very poorly. Depends on how you define "work".
>>
>> Generally the answer is still NO. Dead Gateway detection does not do
>> anything if the line goes down,...it only works if the gateway device
>> (the
>> hardware) dies (no electricity). Once DGD switches to the second
>> gateway,...it will *not* switch back when order is restored. DGD is not
>> usually the solution to problems,...it is the beginning of problems.
>>
>> 128978 - Dead Gateway Detection in TCP/IP for Windows NT
>> http://support.microsoft.com/default.aspx?scid=kb;EN-US;128978
>>
>> 171564 - TCP/IP Dead Gateway Detection Algorithm Updated for Windows NT
>> http://support.microsoft.com/default.aspx?scid=kb;EN-US;171564
>>
>> --
>> Phillip Windell [MCP, MVP, CCNA]
>> www.wandtv.com
>>
>>
>>
 >> Stay informed about: Two default gateway's 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Default gateway - I have a server running 2003 SP1 with 2 NICs. One is connected to the DMZ, the other one is on local subnet. IP of local is 172.21.0.7 with mask 255.255.128.0. Gateway is 172.21.0.2. The external NIC is 210.34.85.10/24 with gateway 210.34.85.1. The..

Default Gateway - When I do IP config /all there is no iformation for the default gateway on my workstation, but on the server under the advanced TCP/IP setting there is the default gateway address. why don't I see the Default gateway on my workstation when I do..

Default gateway and DHCP - Hi! We have a Windows 2000 AD network with 2 DCs and a remote lovation connected with a 5MB/S fixed line. The remote location receives it's IP addresses from a DHCP server here. THis have been working just fine for a long time, when we had an NT4 network...

Default Gateway Disappearing - Hi, Have a small problem with a Win2K SBS. Have recently moved from Satellite to ADSL for internet access. Have disabled the Satellite connected NIC (with old default gateway), configured ADSL router with NAT and now have only a single network card in...

Can't ping default gateway - I am a network admin for a small school network with two servers. Server1 is W2000 and is DC for domain has Exchange on it. Server2 is a file server, application server with IIS and ASP.NET and Streaming Media server. Server2 is replacing another..
   Windows Server (Home) -> Windows Server Networking All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]