01-10-2014 05:44 AM - edited 03-07-2019 05:29 PM
I have a 2960 POE 24 switch acting as a DHCP server
for a WLC 4402 and six Aironet APs. I cant get the APs to aquire
an address. At least when I check the switch by doing a sh dhcp
lease it shows nothing. Here is the commands I used to set it up
on the switch.
ip dhcp excluded-address 192.168.50.1 255.255.255.0
!
ip dhcp pool wireless
network 192.168.50.0 255.255.255.0
domain-name newtonma.gov
default-router 192.168.50.1
lease 4
!
Here is an example of one of the interfaces
interface FastEthernet0/1
switchport trunk native vlan 10
switchport mode trunk
!
The Vlan for wireless
interface Vlan10
ip address 192.168.50.1 255.255.255.0
ip helper-address 192.168.50.1
no ip route-cache
Any help would be appreciated
Solved! Go to Solution.
01-10-2014 06:27 AM
Hi
You can remove the helper address as the DHCP server is on the switch itself. A helper address is only needed when the DHCP server is another device than the one the default gateway sits on.
The interface example you gave above, is that the interface to one of the Access Points or to the WLC?
Assuming the Access Points are not in Flex Connect mode, they only need to be access ports (i.e not trunks) as the traffic is tunneled back to the WLC.
The config for each AP would be:
#interface fa0/1
#switchport mode access
#switchport access vlan 10
The config for the WLC would be:
#interface fa0/10
#switchport mode trunk
I would leave the Native Vlan as 1 (i.e remove the command) or at least change it to something other than Vlan10.
The DHCP excluded address could be causing an issue as there is no need for a subnet mask if you simply want to exclude a single address.
#ip dhcp excluded-address 192.168.50.1
01-10-2014 06:27 AM
Hi
You can remove the helper address as the DHCP server is on the switch itself. A helper address is only needed when the DHCP server is another device than the one the default gateway sits on.
The interface example you gave above, is that the interface to one of the Access Points or to the WLC?
Assuming the Access Points are not in Flex Connect mode, they only need to be access ports (i.e not trunks) as the traffic is tunneled back to the WLC.
The config for each AP would be:
#interface fa0/1
#switchport mode access
#switchport access vlan 10
The config for the WLC would be:
#interface fa0/10
#switchport mode trunk
I would leave the Native Vlan as 1 (i.e remove the command) or at least change it to something other than Vlan10.
The DHCP excluded address could be causing an issue as there is no need for a subnet mask if you simply want to exclude a single address.
#ip dhcp excluded-address 192.168.50.1
01-10-2014 08:11 AM
I tried your recommended changes but stil nothing.
I use the sh dhcp lease command to check.
Any ideas?
01-10-2014 08:25 AM
Could you post the full config from the switch?
Its fine to blank out or remove anything sensitive like usernames, passwords or device names etc, I just need the commands themselves.
Thanks
01-10-2014 10:02 AM
All set. I was using the wrong command to verify
sh ip dhcp binding
All six APs are there. Thanks for your help devil
01-10-2014 10:18 AM
Glad it's fixed!
I did read your reply but didn't pickup on the command you were using, teach me to skim read!! :)
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: