DHCP scope problem

Tech-Archive recommends: Fix windows errors by optimizing your registry



We have two DHCP servers on our main network (net1) that lease addresses to
clients as expected. Both have single interfaces on the main network. AD is
Windows 2003 native. DHCP servers are also Windows 2003.

I now have a requirement to lease addresses to clients based on class ID.
I'm setting the class id on authenticated domain clients via logon script.
What I would like to happen is that when a valid domain client requests an
IP address, they are allocated an IP from a scope (call it scope1) that ONLY
has options with the class ID associated with it. Any other devices that
don't have this class ID will get an IP address from another scope (scope2)
pool, putting them on a different logical subnet (net2). This net2 subnet is
not physically seperated from the main network, and broadcast traffic from
both will pass accross the same wire. There is a VLAN on a router that will
route traffic to the main network though (but this is not the problem!).
I've configured this router with DHCP relay and ip-helper settings.

The issue is that one of the two DHCP servers is being tasked with
allocating addresses based on the class ID, but the allocation is erratic
and not consistent. This means a host with the valid class ID will get
allocated an address from scope2 and get put on the wrong subnet, or
non-valid devices that should be on net2 get addresses on the main network
(net1). My thinking is that the 'default' (non class specific) options would
get allocated from scope2 by default UNLESS the host's class ID matches,
when an address should be allocated from scope1. I've tried putting both
scopes into a superscope (which didn't work). I've also added a second
interface to the DHCP server, with an IP address on net2. I tried changing
the DHCP bindings so that by default, DHCP was bound to the net2 interface.
I though this worked better, but then had the same problem again.

I know DHCP options allocated via class ID work ok, but only when being
allocated from a single scope. We currently allocate them in addition to
'normal' scope options. I know in a normal environment where the two subnets
are physically seperated (isolating broadcast traffic) this would not be a
problem, but I don't have this luxury. I would be prepared to use vlan
tagging if I thought it was possible, but because you don't know what subnet
the host is going to be on until the ip address is allocated via DHCP, I
don't know if this would work.

Is what I'm trying to acheive actually possible with DHCP? I'm trying this
on a lab network at the moment prior to rollout.

Thanks


.



Relevant Pages

  • Re: Ive killed my domain. (and it was far too easy) :~(
    ... Well I have just suckered another one of my network problems, ... long ago DHCP was being an "evil bitch" and was not allocating IP ... DHCP was being a bitch by only allocating addresses based on a subnet ... Then of course it is time to add a USB 2.0 PCI card into my server at ...
    (microsoft.public.win2000.networking)
  • Re: DHCP issue
    ... With this addressing clients and the server have no ... It is usually not recommended to have two network card in a domain controller, unless it is Microsoft SBS (Small Business Server). ... Let's get this DHCP service going for you first. ...
    (microsoft.public.windows.server.general)
  • Re: DHCP issue
    ... With this addressing clients and the server have no ... controller with two network cards. ... since DHCP got stuck on Acquiring Network Address forever. ...
    (microsoft.public.windows.server.general)
  • Re: Vista clients became unresponsive after network move
    ... was mentioned that DHCP wasn't used, ... used, and all clients are static and incorrectly configured, I can ... network connection. ... IPs are static assigned IPs in 192.168.x.x range. ...
    (microsoft.public.windows.server.networking)
  • Re: Vista clients became unresponsive after network move
    ... was mentioned that DHCP wasn't used, ... used, and all clients are static and incorrectly configured, I can ... All other IPs are ... network connection. ...
    (microsoft.public.windows.server.networking)