Networking Forums

Networking Forums > Computer Networking > Windows Networking > Diferent Gateways

Reply
Thread Tools Display Modes

Diferent Gateways

 
 
Nuno Silva
Guest
Posts: n/a

 
      01-24-2007, 11:29 PM
Hi,

I have two ISP Connections and I want to have one group of PCs connecting
through gateway1 and other group through gateway2 and both groups get ip
trough DHCP.

I though create two scopes which one with one gateway configured, but how
can i say that groups of pcs use one scope and the other use the second
scope.

Thanks in advance.

 
Reply With Quote
 
 
 
 
Chris Lehr
Guest
Posts: n/a

 
      01-24-2007, 11:41 PM
might not be the best option, but DHCP user classes can be used, the the
class ID set via logon script or GPO script.

http://support.microsoft.com/kb/240247

Chris


"Nuno Silva" <(E-Mail Removed)> wrote in message
news:9A01E83C-C6FB-41B5-8592-(E-Mail Removed)...
> Hi,
>
> I have two ISP Connections and I want to have one group of PCs connecting
> through gateway1 and other group through gateway2 and both groups get ip
> trough DHCP.
>
> I though create two scopes which one with one gateway configured, but how
> can i say that groups of pcs use one scope and the other use the second
> scope.
>
> Thanks in advance.



 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      01-25-2007, 12:01 AM
You can really only get that to work if the machines are in different
Ethernet segments. Machines contact DHCP by using broadcasts. If the
machines are in different segments, they will get an IP from a scope which
matches the IP of the interface receiving the broadcast.

If the machines are in the same IP segment, this fails. There is no way
that the DHCP server can know which scope to use.

"Nuno Silva" <(E-Mail Removed)> wrote in message
news:9A01E83C-C6FB-41B5-8592-(E-Mail Removed)...
> Hi,
>
> I have two ISP Connections and I want to have one group of PCs connecting
> through gateway1 and other group through gateway2 and both groups get ip
> trough DHCP.
>
> I though create two scopes which one with one gateway configured, but how
> can i say that groups of pcs use one scope and the other use the second
> scope.
>
> Thanks in advance.



 
Reply With Quote
 
Nuno Silva
Guest
Posts: n/a

 
      01-25-2007, 12:31 AM
And if i make a scope from 192.168.1.1-50 and another from 192.168.1.51-100
whisch one will have a difrent gateway. How will be the beahvior? It will
use the first scope and then after computer 50 goes to the second scope?


"Bill Grant" <not.available@online> wrote in message
news:(E-Mail Removed)...
> You can really only get that to work if the machines are in different
> Ethernet segments. Machines contact DHCP by using broadcasts. If the
> machines are in different segments, they will get an IP from a scope which
> matches the IP of the interface receiving the broadcast.
>
> If the machines are in the same IP segment, this fails. There is no way
> that the DHCP server can know which scope to use.
>
> "Nuno Silva" <(E-Mail Removed)> wrote in message
> news:9A01E83C-C6FB-41B5-8592-(E-Mail Removed)...
>> Hi,
>>
>> I have two ISP Connections and I want to have one group of PCs connecting
>> through gateway1 and other group through gateway2 and both groups get ip
>> trough DHCP.
>>
>> I though create two scopes which one with one gateway configured, but how
>> can i say that groups of pcs use one scope and the other use the second
>> scope.
>>
>> Thanks in advance.

>
>

 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      01-25-2007, 03:34 AM
If the machines were on different segments you would not use IP addresses
in the same IP subnet. You would set up a scope for each segment with its
own IP subnet. Which scope the DHCP server used would depend on where the
request came from. Always remember that DHCP is a very simple system and it
relies on LAN broadcasts.

For example, if you want one segment to have IP addresses of 192.168.1.1
to 192.168.1.50 and a default gateway of 192.168.1.21 you set up your scope
to allow that. Any machine on that segment will get an IP of 192.168.1.x and
dg of 192.168.1.21 . If the DHCP server is on this segment and has an IP
address of 192.168.1.x everything works.

If you set up another scope of 192.168.2.1 and dg of 192.168.2.21 these
machines will not use that scope. That scope will only be used if a DHCP
request is received by a device with an IP address of 192.168.2.x . This
would only happen if the DHCP server had an interface with a 192.168.2.x
address (not a good idea) or if some device in the second segment could
receive the broadcast and send it through the network to the DHCP server.
This is called DHCP relay and is the way that a DHCP server knows which
scope to use. It uses a scope to match the IP address of the interface which
recieves the original broadcast request.


"Nuno Silva" <(E-Mail Removed)> wrote in message
news27EFA94-7838-4C62-90A2-(E-Mail Removed)...
> And if i make a scope from 192.168.1.1-50 and another from
> 192.168.1.51-100 whisch one will have a difrent gateway. How will be the
> beahvior? It will use the first scope and then after computer 50 goes to
> the second scope?
>
>
> "Bill Grant" <not.available@online> wrote in message
> news:(E-Mail Removed)...
>> You can really only get that to work if the machines are in different
>> Ethernet segments. Machines contact DHCP by using broadcasts. If the
>> machines are in different segments, they will get an IP from a scope
>> which matches the IP of the interface receiving the broadcast.
>>
>> If the machines are in the same IP segment, this fails. There is no
>> way that the DHCP server can know which scope to use.
>>
>> "Nuno Silva" <(E-Mail Removed)> wrote in message
>> news:9A01E83C-C6FB-41B5-8592-(E-Mail Removed)...
>>> Hi,
>>>
>>> I have two ISP Connections and I want to have one group of PCs
>>> connecting through gateway1 and other group through gateway2 and both
>>> groups get ip trough DHCP.
>>>
>>> I though create two scopes which one with one gateway configured, but
>>> how can i say that groups of pcs use one scope and the other use the
>>> second scope.
>>>
>>> Thanks in advance.

>>
>>



 
Reply With Quote
 
Nuno Silva
Guest
Posts: n/a

 
      01-25-2007, 07:12 AM
Thanks Bill once again

"Bill Grant" <not.available@online> wrote in message
news:(E-Mail Removed)...
> If the machines were on different segments you would not use IP
> addresses in the same IP subnet. You would set up a scope for each segment
> with its own IP subnet. Which scope the DHCP server used would depend on
> where the request came from. Always remember that DHCP is a very simple
> system and it relies on LAN broadcasts.
>
> For example, if you want one segment to have IP addresses of
> 192.168.1.1 to 192.168.1.50 and a default gateway of 192.168.1.21 you set
> up your scope to allow that. Any machine on that segment will get an IP of
> 192.168.1.x and dg of 192.168.1.21 . If the DHCP server is on this
> segment and has an IP address of 192.168.1.x everything works.
>
> If you set up another scope of 192.168.2.1 and dg of 192.168.2.21
> these machines will not use that scope. That scope will only be used if a
> DHCP request is received by a device with an IP address of 192.168.2.x .
> This would only happen if the DHCP server had an interface with a
> 192.168.2.x address (not a good idea) or if some device in the second
> segment could receive the broadcast and send it through the network to the
> DHCP server. This is called DHCP relay and is the way that a DHCP server
> knows which scope to use. It uses a scope to match the IP address of the
> interface which recieves the original broadcast request.
>
>
> "Nuno Silva" <(E-Mail Removed)> wrote in message
> news27EFA94-7838-4C62-90A2-(E-Mail Removed)...
>> And if i make a scope from 192.168.1.1-50 and another from
>> 192.168.1.51-100 whisch one will have a difrent gateway. How will be the
>> beahvior? It will use the first scope and then after computer 50 goes to
>> the second scope?
>>
>>
>> "Bill Grant" <not.available@online> wrote in message
>> news:(E-Mail Removed)...
>>> You can really only get that to work if the machines are in different
>>> Ethernet segments. Machines contact DHCP by using broadcasts. If the
>>> machines are in different segments, they will get an IP from a scope
>>> which matches the IP of the interface receiving the broadcast.
>>>
>>> If the machines are in the same IP segment, this fails. There is no
>>> way that the DHCP server can know which scope to use.
>>>
>>> "Nuno Silva" <(E-Mail Removed)> wrote in message
>>> news:9A01E83C-C6FB-41B5-8592-(E-Mail Removed)...
>>>> Hi,
>>>>
>>>> I have two ISP Connections and I want to have one group of PCs
>>>> connecting through gateway1 and other group through gateway2 and both
>>>> groups get ip trough DHCP.
>>>>
>>>> I though create two scopes which one with one gateway configured, but
>>>> how can i say that groups of pcs use one scope and the other use the
>>>> second scope.
>>>>
>>>> Thanks 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
TCP/IP Multiple gateways (different gateways) Windows (NT, 98, 2000, 2003, XP) goonmunster Windows Networking 1 02-26-2007 08:39 AM
TCP/IP Multiple gateways (different gateways) Windows (NT, 98, 2000, 2003, XP) goonmunster Windows Networking 1 02-26-2007 08:39 AM
Connecting diferent networks Nuno Silva Windows Networking 4 01-25-2007 07:05 AM
Adding 2 diferent ip address in a domain Andre Santos Windows Networking 4 07-25-2006 01:41 PM
Several gateways my@email.com Wireless Internet 1 09-19-2003 03:02 PM



1 2 3 4 5 6 7 8 9 10 11