Networking Forums

Networking Forums > Computer Networking > Windows Networking > 2 DHCP Servers and 2 Domains

Reply
Thread Tools Display Modes

2 DHCP Servers and 2 Domains

 
 
CHris Chase
Guest
Posts: n/a

 
      09-14-2004, 05:08 PM
I have a network that consists of 2 windows 2003 servers
One is Domain Controller for the CalvaryLab Domain and the
other is controller for the CalvaryAdmin. Each one does
user logins, mapped drives, and also leases the ip
addresses for their domains. My question is how do I keep
computers on the calvarylab domain from getting their IP
addresses from the CalvaryAdmin domain and it's server? I
do need the two domain's to be able to talk to each other
because I share an internet connection via a soho device
and also I like to be able to remote desktop the servers
and PC's so that I can work on them from the other
building. Thanks!

Chris
 
Reply With Quote
 
 
 
 
Miha Pihler
Guest
Posts: n/a

 
      09-14-2004, 05:17 PM

"CHris Chase" <(E-Mail Removed)> wrote in message
news:008701c49a7d$7efc4cf0$(E-Mail Removed)...
> I have a network that consists of 2 windows 2003 servers
> One is Domain Controller for the CalvaryLab Domain and the
> other is controller for the CalvaryAdmin. Each one does
> user logins, mapped drives, and also leases the ip
> addresses for their domains. My question is how do I keep
> computers on the calvarylab domain from getting their IP
> addresses from the CalvaryAdmin domain and it's server? I
> do need the two domain's to be able to talk to each other
> because I share an internet connection via a soho device
> and also I like to be able to remote desktop the servers
> and PC's so that I can work on them from the other
> building. Thanks!
>
> Chris



 
Reply With Quote
 
Miha Pihler
Guest
Posts: n/a

 
      09-14-2004, 05:22 PM
Are there any routers between one and the other LAN? If this is only one LAN
then you can't really prevent what DHCP assigns what IP to what client.
Client will take IP and other settings from first DHCP that will respond.
What you can do is setup one DHCP that will lease IPs based on DHCP Class
ID. If e.g. DHCP Class ID is "CalvaryAdmin" client would get one set of
settings (e.g. different DNS settings) and if DHCP Class ID would be
"CalvaryLab" clients would get another set of settings...

You will still have to reconfigure the clients. To do this you could use
logon script that would set appropriate DHCP Class IDs based on domain
membership.

Mike

(Sorry about first empty post)...

"CHris Chase" <(E-Mail Removed)> wrote in message
news:008701c49a7d$7efc4cf0$(E-Mail Removed)...
> I have a network that consists of 2 windows 2003 servers
> One is Domain Controller for the CalvaryLab Domain and the
> other is controller for the CalvaryAdmin. Each one does
> user logins, mapped drives, and also leases the ip
> addresses for their domains. My question is how do I keep
> computers on the calvarylab domain from getting their IP
> addresses from the CalvaryAdmin domain and it's server? I
> do need the two domain's to be able to talk to each other
> because I share an internet connection via a soho device
> and also I like to be able to remote desktop the servers
> and PC's so that I can work on them from the other
> building. Thanks!
>
> Chris



 
Reply With Quote
 
Chris C.
Guest
Posts: n/a

 
      09-14-2004, 05:40 PM
There isn't any device separating the networks except
wireless building to building bridges that bring the
connection from the main building (calvaryadmin) to the
lab building (calvarylab)

How do I setup the DHCP class on the servers and also on
the clients?
>-----Original Message-----
>Are there any routers between one and the other LAN? If

this is only one LAN
>then you can't really prevent what DHCP assigns what IP

to what client.
>Client will take IP and other settings from first DHCP

that will respond.
>What you can do is setup one DHCP that will lease IPs

based on DHCP Class
>ID. If e.g. DHCP Class ID is "CalvaryAdmin" client would

get one set of
>settings (e.g. different DNS settings) and if DHCP Class

ID would be
>"CalvaryLab" clients would get another set of settings...
>
>You will still have to reconfigure the clients. To do

this you could use
>logon script that would set appropriate DHCP Class IDs

based on domain
>membership.
>
>Mike
>
>(Sorry about first empty post)...
>
>"CHris Chase" <(E-Mail Removed)>

wrote in message
>news:008701c49a7d$7efc4cf0$(E-Mail Removed)...
>> I have a network that consists of 2 windows 2003

servers
>> One is Domain Controller for the CalvaryLab Domain and

the
>> other is controller for the CalvaryAdmin. Each one

does
>> user logins, mapped drives, and also leases the ip
>> addresses for their domains. My question is how do I

keep
>> computers on the calvarylab domain from getting their

IP
>> addresses from the CalvaryAdmin domain and it's

server? I
>> do need the two domain's to be able to talk to each

other
>> because I share an internet connection via a soho

device
>> and also I like to be able to remote desktop the

servers
>> and PC's so that I can work on them from the other
>> building. Thanks!
>>
>> Chris

>
>
>.
>

 
Reply With Quote
 
James McIllece [MS]
Guest
Posts: n/a

 
      09-14-2004, 06:08 PM
"Chris C." <(E-Mail Removed)> wrote in
news:216d01c49a81$e3df08c0$(E-Mail Removed):

> There isn't any device separating the networks except
> wireless building to building bridges that bring the
> connection from the main building (calvaryadmin) to the
> lab building (calvarylab)
>
> How do I setup the DHCP class on the servers and also on
> the clients?
>>-----Original Message-----
>>Are there any routers between one and the other LAN? If

> this is only one LAN
>>then you can't really prevent what DHCP assigns what IP

> to what client.
>>Client will take IP and other settings from first DHCP

> that will respond.
>>What you can do is setup one DHCP that will lease IPs

> based on DHCP Class
>>ID. If e.g. DHCP Class ID is "CalvaryAdmin" client would

> get one set of
>>settings (e.g. different DNS settings) and if DHCP Class

> ID would be
>>"CalvaryLab" clients would get another set of settings...
>>
>>You will still have to reconfigure the clients. To do

> this you could use
>>logon script that would set appropriate DHCP Class IDs

> based on domain
>>membership.
>>
>>Mike
>>
>>(Sorry about first empty post)...
>>
>>"CHris Chase" <(E-Mail Removed)>

> wrote in message
>>news:008701c49a7d$7efc4cf0$(E-Mail Removed)...
>>> I have a network that consists of 2 windows 2003

> servers
>>> One is Domain Controller for the CalvaryLab Domain and

> the
>>> other is controller for the CalvaryAdmin. Each one

> does
>>> user logins, mapped drives, and also leases the ip
>>> addresses for their domains. My question is how do I

> keep
>>> computers on the calvarylab domain from getting their

> IP
>>> addresses from the CalvaryAdmin domain and it's

> server? I
>>> do need the two domain's to be able to talk to each

> other
>>> because I share an internet connection via a soho

> device
>>> and also I like to be able to remote desktop the

> servers
>>> and PC's so that I can work on them from the other
>>> building. Thanks!
>>>
>>> Chris

>>
>>
>>.
>>

>


Both of the following Help topics are on your computer:

For information on how to configure the DHCP server, see the Help topic "To
assign an advanced (class-based) option"
(http://www.microsoft.com/resources/d.../2003/enterpri
se/proddocs/en-
us/Default.asp?url=/resources/documentation/WindowsServ/2003/enterprise/pro
ddocs/en-us/sag_DHCP_pro_AssignClassOption.asp)

To configure clients, here is a Help topic from WS03:

To set DHCP class ID information at a client computer:

At a DHCP-enabled client computer running Windows XP, open a Command
Prompt.

Use the Ipconfig command-line utility to set the DHCP class ID the client
uses when obtaining its lease from the DHCP server.

You can type the ipconfig /setclassid command as demonstrated in the
following example command, which sets an ASCII string ("MyNewClassId") as
the DHCP class ID string for the local area network connection in use at
the client computer:

C:\>ipconfig /setclassid "Local Area Connection" MyNewClassId

Windows XP IP Configuration

DHCP ClassId successfully modified for adapter"Local Area
Connection"

Notes

To open a command prompt, click Start, point to All Programs, point to
Accessories, and then click Command Prompt.

You can use the ipconfig /showclassid command to display all the DHCP class
IDs allowed for any network adapter installed on your computer.

For a DHCP options class to be in effect between the DHCP server and its
clients, both must be configured with a matching DHCP class ID string that
identifies the client as a member of a specific user or vendor options
class when it obtains its address lease from the server.

--
James McIllece, Microsoft

Please do not send email directly to this alias. This is my online account
name for newsgroup participation only.

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Reply With Quote
 
Miha Pihler
Guest
Posts: n/a

 
      09-14-2004, 06:09 PM
Chris,

This should explain what you need to know.

Using option classes
http://www.microsoft.com/resources/d...nd_Classes.asp

Let me know if you need more information.

Mike

"Chris C." <(E-Mail Removed)> wrote in message
news:216d01c49a81$e3df08c0$(E-Mail Removed)...
> There isn't any device separating the networks except
> wireless building to building bridges that bring the
> connection from the main building (calvaryadmin) to the
> lab building (calvarylab)
>
> How do I setup the DHCP class on the servers and also on
> the clients?
> >-----Original Message-----
> >Are there any routers between one and the other LAN? If

> this is only one LAN
> >then you can't really prevent what DHCP assigns what IP

> to what client.
> >Client will take IP and other settings from first DHCP

> that will respond.
> >What you can do is setup one DHCP that will lease IPs

> based on DHCP Class
> >ID. If e.g. DHCP Class ID is "CalvaryAdmin" client would

> get one set of
> >settings (e.g. different DNS settings) and if DHCP Class

> ID would be
> >"CalvaryLab" clients would get another set of settings...
> >
> >You will still have to reconfigure the clients. To do

> this you could use
> >logon script that would set appropriate DHCP Class IDs

> based on domain
> >membership.
> >
> >Mike
> >
> >(Sorry about first empty post)...
> >
> >"CHris Chase" <(E-Mail Removed)>

> wrote in message
> >news:008701c49a7d$7efc4cf0$(E-Mail Removed)...
> >> I have a network that consists of 2 windows 2003

> servers
> >> One is Domain Controller for the CalvaryLab Domain and

> the
> >> other is controller for the CalvaryAdmin. Each one

> does
> >> user logins, mapped drives, and also leases the ip
> >> addresses for their domains. My question is how do I

> keep
> >> computers on the calvarylab domain from getting their

> IP
> >> addresses from the CalvaryAdmin domain and it's

> server? I
> >> do need the two domain's to be able to talk to each

> other
> >> because I share an internet connection via a soho

> device
> >> and also I like to be able to remote desktop the

> servers
> >> and PC's so that I can work on them from the other
> >> building. Thanks!
> >>
> >> Chris

> >
> >
> >.
> >



 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      09-14-2004, 06:42 PM
Let me clear up a few things first.

Forget worrying about the "Domains". The Domains have absolutely no bearing
on DHCP, IP#s, or Subnets. You can have one Domain with a dozen subnets,
and by the same token you can have a dozen Domains on one subnet,...there
just simply is no relationship between the two. You could even run a
network that doesn't even have TCP/IP at all (by using NetBEUI or SPX/IPX)
and you would still have Windows Domains. (I know,... AD requires DNS, hence
TCP/IP,...I'm just trying to make a point here).

DHCP is a Layer3 (TCP/IP only) entity. It is concerned with the Layer3
topology of your network (subnets & routers). You can have one single DHCP
serve a dozen subnets,..or you could have a dozen DHCP Servers handle the
same subnet,...so there is no direct relationship between the number of
subnets and the number of DHCP Server you run either. For example, I run 7
subnets and have two DHCP Servers. They are configured identically (except
for the Exclusions) so that either one can serve all of my subnet by itself
if it had to,...I only run two for redundancy's sake.

Now, here's what you are looking at...

If you run two DHCP Servers you can set them up identically since you only
have one subnet. Then you use Exclusions on each DHCP to block out the
addresses that you don't want that particular DHCP to give out. However,
there is no way that you can control which DHCP answers the Client's
request,..it is first-come-first-serve the first time around and which ever
DHCP is the "quickest to the draw" will answer the request.

Now once the Client has sussesfully received a network config it will then
always attempt to request the same address from the same DHCP everytime
after that unless that server happens to be unavailable. In that case, it
would broadcast the request and the other DHCP would hace a chance to answer
the request.

The only way to have any real control over this is to segment your network
into two subnets. You can parallel the Domains with the subnets if you wish,
but that is a "human" thing because the computers couldn't care less. You
then would have two DHCPs, one in each subnet, with the proper Scope,...or
you could have one DHCP with two Scopes in one subnet and the Router between
the subnets would be rigged to forward the DHCP requests from the opposite
subnet to the subnet where the DHCP is sitting. The Router includes
information in the "forward" so that the DHCP knows which Scope to get the
configuration from.

--

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



"Chris C." <(E-Mail Removed)> wrote in message
news:216d01c49a81$e3df08c0$(E-Mail Removed)...
> There isn't any device separating the networks except
> wireless building to building bridges that bring the
> connection from the main building (calvaryadmin) to the
> lab building (calvarylab)
>
> How do I setup the DHCP class on the servers and also on
> the clients?
> >-----Original Message-----
> >Are there any routers between one and the other LAN? If

> this is only one LAN
> >then you can't really prevent what DHCP assigns what IP

> to what client.
> >Client will take IP and other settings from first DHCP

> that will respond.
> >What you can do is setup one DHCP that will lease IPs

> based on DHCP Class
> >ID. If e.g. DHCP Class ID is "CalvaryAdmin" client would

> get one set of
> >settings (e.g. different DNS settings) and if DHCP Class

> ID would be
> >"CalvaryLab" clients would get another set of settings...
> >
> >You will still have to reconfigure the clients. To do

> this you could use
> >logon script that would set appropriate DHCP Class IDs

> based on domain
> >membership.
> >
> >Mike
> >
> >(Sorry about first empty post)...
> >
> >"CHris Chase" <(E-Mail Removed)>

> wrote in message
> >news:008701c49a7d$7efc4cf0$(E-Mail Removed)...
> >> I have a network that consists of 2 windows 2003

> servers
> >> One is Domain Controller for the CalvaryLab Domain and

> the
> >> other is controller for the CalvaryAdmin. Each one

> does
> >> user logins, mapped drives, and also leases the ip
> >> addresses for their domains. My question is how do I

> keep
> >> computers on the calvarylab domain from getting their

> IP
> >> addresses from the CalvaryAdmin domain and it's

> server? I
> >> do need the two domain's to be able to talk to each

> other
> >> because I share an internet connection via a soho

> device
> >> and also I like to be able to remote desktop the

> servers
> >> and PC's so that I can work on them from the other
> >> building. Thanks!
> >>
> >> Chris

> >
> >
> >.
> >



 
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
Domains in Windows Networking on Servers George I. Windows Networking 2 07-07-2008 08:44 PM
One public IP but multiple servers (with different domains) sven.clement@gmail.com Linux Networking 6 07-17-2006 01:09 AM
DHCP / DNS and Domains... Mr. Backup Windows Networking 2 07-15-2005 08:34 PM
Mapping shared folder between servers in two different domains =?Utf-8?B?Sm9obg==?= Windows Networking 1 12-01-2004 08:51 PM
DHCP AND 2 DOMAINS Tara Windows Networking 0 05-13-2004 07:15 PM



1 2 3 4 5 6 7 8 9 10 11