cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
747
Views
0
Helpful
1
Replies

Configuring 2 DHCP scopes, each for a different VLAN

Vikrant Ambhore
Level 1
Level 1

Hello All Friends,

I have a WAN site which uses a Cisco 1861 Router, & Cisco Aironet Access-Point
At the site I have 2 VLANs configured..
VLAN 1 = Data  (192.168.8.0 /24)
VLAN 100 - Voice  (10.10.10.0 /24)
I want to configure 2 different DHCP scopes, one to assign the 192.168.8.0 subnet to the devices in the Data VLAN, and another to assign the 10.10.10.0/24 subnet to devices on the Voice VLAN.

I can configure DHCP on either one of the switches or Router, I don't care either way. I am not sure how to do this properly, any config help would be appreciated..

please look on my configuration

!
ip dhcp excluded-address 192.168.8.1 192.168.8.10
ip dhcp excluded-address 10.10.10.1 10.10.10.10
!
ip dhcp pool DATA
   network 192.168.8.0 255.255.255.0
   default-router 192.168.8.1 
   dns-server 8.8.8.8 8.8.4.4 
!
ip dhcp pool VOICE
   network 10.10.10.0 255.255.255.0
   default-router 10.10.10.1 
   option 150 ip 10.1.1.1 
!
interface FastEthernet0/1/5
 description -= Cisco Aironet =-
 switchport trunk allowed vlan 1,100,1002-1005
 switchport mode trunk
!
interface Vlan1
 description -= DATA Vlan =-
 ip address 192.168.8.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
!
interface Vlan100
 description -= Voice VLAN =-
 ip address 10.10.10.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
!
dot11 ssid Coinop
   vlan 1
   max-associations 25
   authentication open
   authentication key-management wpa
   guest-mode
   mbssid guest-mode dtim-period 1
   wpa-psk ascii 7 XXXXXXXXXXXXXXXXXXX
!
dot11 ssid VoiceCoinop
   vlan 100
   authentication open
   authentication key-management wpa
   mbssid guest-mode dtim-period 1
   wpa-psk ascii 7 XXXXXXXXXXXXXXXXXXX

Thanks,
Vikrant Ambhore

1 Reply 1

yuanwu
Cisco Employee
Cisco Employee

Hi, Vikrant

roughly I think your configuration is fine, please have a try and see if there is any issue.

If there is any issue, please collect the following information,

debug ip dhcp server packet

debug ip dhcp server event

debug ip packet details

show ip dhcp server pool

show ip dhcp server statistics

show ip dhcp binding

Rgds/Randy