dhcp in a vlan envirnment using a single 2003 server

active8it
active8it used Ask the Experts™
on
what is the process for setting up dhcp to support multiple vlans with different scopes.
at present i have x1 2003 server with a 10.10.0.0/16 scope and i have just added 10.1.0.0/16 scope. i cannot test until later in the week when i can change the default gateway to be the core switch (to ensure dhcp packets can return to correct path). but does simply making the new scopes for new range allow this to function

for example vlan 10 has ip of 10.1.0.254/16 so in theory any clients devices requesting an ip from this vlan should get routed to the 10.10.1.10 dhcp using the ip-helper address i setup.

also hwo does the dhcp server know which vlan the dhcp request has come from for example if say a device connected to port A1 on the switch requests an ip but is possibly untagged on vlan1, tagged vlan 10, tagged vlan 20. how will it know that say the desired ip address is for the scope/range which vlan 10 is on?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi,

So just to make sure. DHSP server has access to both vlan 10 and vlan 20.

You need to have ip -helper for each vlan to point to the dhcp server and have a scope for each vlan sub net created make sure to have correct router and gateway.

So make sure each svi on your core switch say 10.10.0.1.  has an ip helper for  10.10.X.X dhcp server
and svi for 10.1.0.1 core switch has an ip helper for  10.10.X.X dhcp server
Should be easy.

Let me know if it works for you
Did that work for you?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial