Configuring 2 DHCP scopes, each for a different VLAN

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2010 11:09 PM - edited 03-16-2019 02:27 AM
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
- Labels:
-
Other IP Telephony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2010 07:54 PM
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
