Link to home
Start Free TrialLog in
Avatar of Robert_Rayworth
Robert_RayworthFlag for United States of America

asked on

How to setup a single Windows DHCP server with multiple VLAN's

I am trying to setup my home lab Windows 2012 server as a single Windows DHCP server with multiple Vlans.

My hardware setup is 1x Cisco 2960G switch with 1x Cisco ASA5505 Firewall.
The Cisco ASA5505 has the  Security Plus License installed so no VLAN restrictions.

I have a HP Micro Server with one network interface connected up to the Cisco Switch 2960G

Can anyone help me guide me on how I would go about setting up this environment.
Avatar of Mark Mahacek
Mark Mahacek
Flag of United States of America image

On the Windows server, setup a DHCP scope for each VLAN.

On your Cisco switches, when setting up your VLAN definitions, add the following line to each VLAN, substituting the IP of your DHCP server.  This will redirect the DHCP requests across the VLANs.
ip helper-address 192.168.1.10

http://www.cisco.com/en/US/docs/ios/12_4t/ip_addr/configuration/guide/htdhcpre.html
Avatar of Robert_Rayworth

ASKER

I have setup several scopes on my Windows DHCP server this part is working fine

You mentioned adding the following line please can you be more specific

 my current dhcp server is 172.16.1.1 the gateway is 172.16.1.254
The first scope is 172.16.1.0
The second scope is 192.168.1.0

I have been running with one scope fine but by adding the second scope wont this cause a conflict with the first. Whats stopping the wrong ip address being handed out
There was nothing in the scope creation that told them they were specific to a vlan any ideas?
Your VLAN config on your switch should define the IP addresses allowed on that VLAN.    This will prevent the DHCP server from handing out addresses to the wrong VLAN.

Can you share your VLAN interface config?
ASKER CERTIFIED SOLUTION
Avatar of David Akinsanya
David Akinsanya
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial