Networking Forums

Networking Forums > Computer Networking > Windows Networking > Two default gateways in one subnet

Reply
Thread Tools Display Modes

Two default gateways in one subnet

 
 
tree leafs
Guest
Posts: n/a

 
      07-26-2007, 08:10 AM
Hi,
Is it possible (or good or bad) to use two default gateways in one subnet.
This question is raised when we want to use two Internet (ADSL) connections,
each with an ADSL router.
Let's say, router-1 has a LAN IP1=192.168.16.x and router-2
IP2=192.168.16.y. If both routers connect to the LAN and some devices
configured to use IP1 to be the defualt gateway and others use IP2.

Can this work? and is it a good or bad idea?

Thaks in advance.


 
Reply With Quote
 
 
 
 
Bill Grant
Guest
Posts: n/a

 
      07-26-2007, 10:30 AM
Yes, it will work. Each device will use the default gateway which is
configured on the device. If you are planning to use this as a way to spread
the load accross the two Internet connections, it will work.

If it works for you and does what you want, it is a good idea. If it
causes you any problems, then it is bad!

"tree leafs" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
> Is it possible (or good or bad) to use two default gateways in one subnet.
> This question is raised when we want to use two Internet (ADSL)
> connections, each with an ADSL router.
> Let's say, router-1 has a LAN IP1=192.168.16.x and router-2
> IP2=192.168.16.y. If both routers connect to the LAN and some devices
> configured to use IP1 to be the defualt gateway and others use IP2.
>
> Can this work? and is it a good or bad idea?
>
> Thaks in advance.
>
>



 
Reply With Quote
 
tree leafs
Guest
Posts: n/a

 
      07-27-2007, 09:10 AM
Thanks and glad it will work, but what about the communication between
devices in two different sets ie. devices using router-1 and devices using
router-2? How can they talk each other?

"Bill Grant" <not.available@online> wrote in message
news:OO8b%(E-Mail Removed)...
> Yes, it will work. Each device will use the default gateway which is
> configured on the device. If you are planning to use this as a way to
> spread the load accross the two Internet connections, it will work.
>
> If it works for you and does what you want, it is a good idea. If it
> causes you any problems, then it is bad!
>
> "tree leafs" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi,
>> Is it possible (or good or bad) to use two default gateways in one
>> subnet.
>> This question is raised when we want to use two Internet (ADSL)
>> connections, each with an ADSL router.
>> Let's say, router-1 has a LAN IP1=192.168.16.x and router-2
>> IP2=192.168.16.y. If both routers connect to the LAN and some devices
>> configured to use IP1 to be the defualt gateway and others use IP2.
>>
>> Can this work? and is it a good or bad idea?
>>
>> Thaks in advance.
>>
>>

>
>



 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      07-27-2007, 11:49 AM
The default gateway setting makes no difference to how machines on the
same segment communicate. If they are in the same IP subnet and on the same
segment they communicate directly "on the wire" using hardware (MAC)
addressing. The default gateway only comes into the picture if you try to
communicate with a device which is not local. The traffic then has to use a
router, and by default it uses (not surprisingly) the default router, which
is the one specified in the default gateway setting.

"tree leafs" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks and glad it will work, but what about the communication between
> devices in two different sets ie. devices using router-1 and devices using
> router-2? How can they talk each other?
>
> "Bill Grant" <not.available@online> wrote in message
> news:OO8b%(E-Mail Removed)...
>> Yes, it will work. Each device will use the default gateway which is
>> configured on the device. If you are planning to use this as a way to
>> spread the load accross the two Internet connections, it will work.
>>
>> If it works for you and does what you want, it is a good idea. If it
>> causes you any problems, then it is bad!
>>
>> "tree leafs" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Hi,
>>> Is it possible (or good or bad) to use two default gateways in one
>>> subnet.
>>> This question is raised when we want to use two Internet (ADSL)
>>> connections, each with an ADSL router.
>>> Let's say, router-1 has a LAN IP1=192.168.16.x and router-2
>>> IP2=192.168.16.y. If both routers connect to the LAN and some devices
>>> configured to use IP1 to be the defualt gateway and others use IP2.
>>>
>>> Can this work? and is it a good or bad idea?
>>>
>>> Thaks in advance.
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
tree leafs
Guest
Posts: n/a

 
      07-27-2007, 12:22 PM
Thanks very much!

"Bill Grant" <not.available@online> wrote in message
news:%(E-Mail Removed)...
> The default gateway setting makes no difference to how machines on the
> same segment communicate. If they are in the same IP subnet and on the
> same segment they communicate directly "on the wire" using hardware (MAC)
> addressing. The default gateway only comes into the picture if you try to
> communicate with a device which is not local. The traffic then has to use
> a router, and by default it uses (not surprisingly) the default router,
> which is the one specified in the default gateway setting.
>
> "tree leafs" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Thanks and glad it will work, but what about the communication between
>> devices in two different sets ie. devices using router-1 and devices
>> using router-2? How can they talk each other?
>>
>> "Bill Grant" <not.available@online> wrote in message
>> news:OO8b%(E-Mail Removed)...
>>> Yes, it will work. Each device will use the default gateway which is
>>> configured on the device. If you are planning to use this as a way to
>>> spread the load accross the two Internet connections, it will work.
>>>
>>> If it works for you and does what you want, it is a good idea. If it
>>> causes you any problems, then it is bad!
>>>
>>> "tree leafs" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> Hi,
>>>> Is it possible (or good or bad) to use two default gateways in one
>>>> subnet.
>>>> This question is raised when we want to use two Internet (ADSL)
>>>> connections, each with an ADSL router.
>>>> Let's say, router-1 has a LAN IP1=192.168.16.x and router-2
>>>> IP2=192.168.16.y. If both routers connect to the LAN and some devices
>>>> configured to use IP1 to be the defualt gateway and others use IP2.
>>>>
>>>> Can this work? and is it a good or bad idea?
>>>>
>>>> Thaks in advance.
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Kerry Brown
Guest
Posts: n/a

 
      07-27-2007, 01:44 PM
You can also get a router that has two WAN connections and does load
balancing between them.

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca


"tree leafs" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
> Is it possible (or good or bad) to use two default gateways in one subnet.
> This question is raised when we want to use two Internet (ADSL)
> connections, each with an ADSL router.
> Let's say, router-1 has a LAN IP1=192.168.16.x and router-2
> IP2=192.168.16.y. If both routers connect to the LAN and some devices
> configured to use IP1 to be the defualt gateway and others use IP2.
>
> Can this work? and is it a good or bad idea?
>
> Thaks in advance.
>
>


 
Reply With Quote
 
Gabriel_LP
Guest
Posts: n/a

 
      10-25-2007, 12:08 PM
How can I do that?
Configuring DHCP with 2 gateways? second one only work when first is down?
Can I set DHCP to assign different gateway to different clients?
thanks!



"Bill Grant" wrote:

> Yes, it will work. Each device will use the default gateway which is
> configured on the device. If you are planning to use this as a way to spread
> the load accross the two Internet connections, it will work.
>
> If it works for you and does what you want, it is a good idea. If it
> causes you any problems, then it is bad!
>
> "tree leafs" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi,
> > Is it possible (or good or bad) to use two default gateways in one subnet.
> > This question is raised when we want to use two Internet (ADSL)
> > connections, each with an ADSL router.
> > Let's say, router-1 has a LAN IP1=192.168.16.x and router-2
> > IP2=192.168.16.y. If both routers connect to the LAN and some devices
> > configured to use IP1 to be the defualt gateway and others use IP2.
> >
> > Can this work? and is it a good or bad idea?
> >
> > Thaks in advance.
> >
> >

>
>
>

 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      10-26-2007, 01:42 AM
I would not use this method at all with DHCP. With static config, you
would assign some users one gateway and some users the other.

With DHCP I would give give all clients the same gateway address and use
some other method to share the load across two Internet links, rather than
have the Internet links directly connected to the LAN switch.

"Gabriel_LP" <(E-Mail Removed)> wrote in message
news:BE828670-C18D-46AE-A625-(E-Mail Removed)...
> How can I do that?
> Configuring DHCP with 2 gateways? second one only work when first is down?
> Can I set DHCP to assign different gateway to different clients?
> thanks!
>
>
>
> "Bill Grant" wrote:
>
>> Yes, it will work. Each device will use the default gateway which is
>> configured on the device. If you are planning to use this as a way to
>> spread
>> the load accross the two Internet connections, it will work.
>>
>> If it works for you and does what you want, it is a good idea. If it
>> causes you any problems, then it is bad!
>>
>> "tree leafs" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hi,
>> > Is it possible (or good or bad) to use two default gateways in one
>> > subnet.
>> > This question is raised when we want to use two Internet (ADSL)
>> > connections, each with an ADSL router.
>> > Let's say, router-1 has a LAN IP1=192.168.16.x and router-2
>> > IP2=192.168.16.y. If both routers connect to the LAN and some devices
>> > configured to use IP1 to be the defualt gateway and others use IP2.
>> >
>> > Can this work? and is it a good or bad idea?
>> >
>> > Thaks in advance.
>> >
>> >

>>
>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two Default Gateways Steve Martin Windows Networking 10 03-09-2007 01:58 PM
Two NIC cards with different default gateways? Andrew Windows Networking 1 09-09-2006 04:40 AM
Two Gateways On Same Subnet Net Admin Windows Networking 2 06-06-2006 08:59 PM
2 default gateways on windows server. Zul J Windows Networking 2 04-02-2006 01:06 AM
Multpile Default Gateways Todd Varriano Windows Networking 6 09-01-2005 04:10 PM



1 2 3 4 5 6 7 8 9 10 11