DHCP servers in 2 differents TPCIP networks

G

Guest

Guest
Archived from groups: microsoft.public.windowsnt.protocol.tcpip (More info?)

Hi,
I have 2 TCPIP subnet (192.168.1.0 & 192.168.2.0 w/mask
255.255.255.0). I need to implement 2 DHCP's servers (one DHCP server with
scope in 192.168.1.0 and another in 192.168.2.0) and certain clients have to
get 192.168.1.xxx subnet IP address. These 2 subnet are in the same physical
network. Is it possible?
Thanks
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsnt.protocol.tcpip (More info?)

"Marcelo Grafulha" <t@pum> wrote in message
news:eovdQaZLEHA.2148@TK2MSFTNGP09.phx.gbl...

> I have 2 TCPIP subnet (192.168.1.0 & 192.168.2.0 w/mask
> 255.255.255.0). I need to implement 2 DHCP's servers (one DHCP server with
> scope in 192.168.1.0 and another in 192.168.2.0) and certain clients have
to
> get 192.168.1.xxx subnet IP address. These 2 subnet are in the same
physical
> network. Is it possible?

Must it be 2 _separate_ DHCP servers? If it can be a single server with 2
scopes, not only do you save a server, but you can use reserved addresses to
ensure the clients get the right address.

--
rgds
David Brownridge
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsnt.protocol.tcpip (More info?)

Hi David,
Actualy I have 2 domains with trust relationship, one in
192.168.1.0, another in 192.168.2.0. The first domain have DHCP server and
another don't, because the clients of the second domain will get IP address
from the wrong DHCP server and they will be in a wrong subnet. Is it
possible?
Other question is possible to have DHCP server and DHCP server
backup in the same subnet?
Thanks.


"David Brownridge" <DVD@melbpc.org.au> escreveu na mensagem
news:%23QYlNacLEHA.1156@TK2MSFTNGP09.phx.gbl...
> "Marcelo Grafulha" <t@pum> wrote in message
> news:eovdQaZLEHA.2148@TK2MSFTNGP09.phx.gbl...
>
> > I have 2 TCPIP subnet (192.168.1.0 & 192.168.2.0 w/mask
> > 255.255.255.0). I need to implement 2 DHCP's servers (one DHCP server
with
> > scope in 192.168.1.0 and another in 192.168.2.0) and certain clients
have
> to
> > get 192.168.1.xxx subnet IP address. These 2 subnet are in the same
> physical
> > network. Is it possible?
>
> Must it be 2 _separate_ DHCP servers? If it can be a single server with 2
> scopes, not only do you save a server, but you can use reserved addresses
to
> ensure the clients get the right address.
>
> --
> rgds
> David Brownridge
>
>
>
>
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsnt.protocol.tcpip (More info?)

Marcelo Grafulha <t@pum> wrote:
> Hi,
> I have 2 TCPIP subnet (192.168.1.0 & 192.168.2.0 w/mask
> 255.255.255.0). I need to implement 2 DHCP's servers (one DHCP server
> with scope in 192.168.1.0 and another in 192.168.2.0) and certain
> clients have to get 192.168.1.xxx subnet IP address. These 2 subnet
> are in the same physical network. Is it possible?
> Thanks

The DHCP server works out which subnet to assign an address from, based on:

1. If the DHCP request packet has crossed a router the router will have
added its address to the packet. The DHCP Server will select an address on
the same subnet as the router.

2. If the request has not crossed a router that field will be un-set. The
DHCP Server will select an address from the same subnet that it itself is on
(i.e. the IP Address of the interface through which the request was
received).

So you would need to set-up two DHCP servers on the same physical network,
one with an IP Address on subnet 192.168.1.0/24 and one on 192.168.2.0/24.
The client will receive an answer from both and will chose on of them. I
think it will chose the first that it receives.

So this will not do what you want, "certain clients have to get
192.168.1.xxx subnet IP address".

There /might/ be a way to stop one of the servers from responding to
selected Clients (MAC Addresses) but I can't think of one just now.
--
Alan J. McFarlane
http://homepage.ntlworld.com/alanjmcf/
Please follow-up in the newsgroup for the benefit of all.
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsnt.protocol.tcpip (More info?)

Thanks Alan, it helps a lot...
Marcelo Grafulha


"Alan J. McFarlane" <alanjmcf@yahoo.com.INVALID> escreveu na mensagem
news:RKqkc.1078$N13.541@newsfe1-win...
> Marcelo Grafulha <t@pum> wrote:
> > Hi,
> > I have 2 TCPIP subnet (192.168.1.0 & 192.168.2.0 w/mask
> > 255.255.255.0). I need to implement 2 DHCP's servers (one DHCP server
> > with scope in 192.168.1.0 and another in 192.168.2.0) and certain
> > clients have to get 192.168.1.xxx subnet IP address. These 2 subnet
> > are in the same physical network. Is it possible?
> > Thanks
>
> The DHCP server works out which subnet to assign an address from, based
on:
>
> 1. If the DHCP request packet has crossed a router the router will have
> added its address to the packet. The DHCP Server will select an address
on
> the same subnet as the router.
>
> 2. If the request has not crossed a router that field will be un-set. The
> DHCP Server will select an address from the same subnet that it itself is
on
> (i.e. the IP Address of the interface through which the request was
> received).
>
> So you would need to set-up two DHCP servers on the same physical network,
> one with an IP Address on subnet 192.168.1.0/24 and one on 192.168.2.0/24.
> The client will receive an answer from both and will chose on of them. I
> think it will chose the first that it receives.
>
> So this will not do what you want, "certain clients have to get
> 192.168.1.xxx subnet IP address".
>
> There /might/ be a way to stop one of the servers from responding to
> selected Clients (MAC Addresses) but I can't think of one just now.
> --
> Alan J. McFarlane
> http://homepage.ntlworld.com/alanjmcf/
> Please follow-up in the newsgroup for the benefit of all.
>
>