02-07-2017 06:10 AM - edited 07-05-2021 06:31 AM
Hi,
I have issue with the wireless users are not getting IP address from the IOS DHCP server,
the setup of the network is straight forward
WLC---------CORE----------DIST-----------ACC--------AP---------------User
the DHCP scope has been created on the core
however I have done some test and all were ok:
1- I have connected my PC directly to the core and assigned the port to the same VLAN, my PC was able to get IP address (No issue with DHCP)
2- Also, I have connected my PC to WLAN and assigned a static IP address from same range, worked for me (No Issue in WLAN)
I have disabled the DHCP Proxy in my WLC and I have pointed the primary DHCP IP to the same VLAN IP address (which I have configured the DHCP scope)
I am using WLC 5520 with code 8.2.141
Thanks,
Jaber
02-07-2017 10:49 AM
trying running
debug dhcp message enable
02-07-2017 10:55 AM
Thanks, for your reply, I will try it once I am on site, I guess the problem not form the DHCP scope as I am getting IP address when I connect my PC by UTP cable to the core in same VLAN
02-08-2017 02:58 AM
this command is not supported on 6807 IOS ver 15.3(04r)
02-07-2017 10:14 PM
If you are having trunk port to the controller make sure that the vlan is allowed on that port.
Share the "show run int gig <port>" output from the switch
02-07-2017 10:41 PM
Hi Prasaxen,
here you go
interface TenGigabitEthernet1/1
switchport
switchport mode trunk
switchport trunk allowed vlan 470-473
channel-group 12 mode on
end
interface TenGigabitEthernet1/2
switchport
switchport mode trunk
switchport trunk allowed vlan 470-473
channel-group 12 mode on
end
interface Port-channel12
switchport
switchport mode trunk
switchport trunk allowed vlan 470-473
end
interface Vlan470
description *** CORP SSID VLAN ***
ip vrf forwarding ENTERPRISE_DATA_VRF
ip address 10.64.128.1 255.255.254.0
end
ip dhcp pool VLAN_470
network 10.64.128.0 255.255.254.0
default-router 10.64.128.1
when I am setting the IP address statically on my laptop, I can fine reach the network
02-07-2017 11:01 PM
"show interface detailed <interface_name>" from the controller
02-07-2017 11:13 PM
(Cisco Controller) show>interface detailed wap_corp_470
Interface Name................................... wap_corp_470
MAC Address...................................... 00:a2:ee:9c:c6:f1
IP Address....................................... 10.64.128.10
IP Netmask....................................... 255.255.254.0
IP Gateway....................................... 10.64.128.1
External NAT IP State............................ Disabled
External NAT IP Address.......................... 0.0.0.0
VLAN............................................. 470
Quarantine-vlan.................................. 0
NAS-Identifier................................... none
Active Physical Port............................. LAG (8)
Primary Physical Port............................ LAG (8)
Backup Physical Port............................. Unconfigured
DHCP Proxy Mode.................................. Global
Primary DHCP Server.............................. 10.64.128.1
Secondary DHCP Server............................ Unconfigured
DHCP Option 82................................... Disabled
DHCP Option 82 bridge mode insertion............. Disabled
IPv4 ACL......................................... Unconfigured
mDNS Profile Name................................ Unconfigured
AP Manager....................................... No
Guest Interface.................................. No
3G VLAN.......................................... Disabled
L2 Multicast..................................... Enabled
02-08-2017 03:10 AM
central or local switching?
02-08-2017 03:18 AM
Sorry, I didn't get your question
if you mean flexconnect, no I am using the normal mode which all the APs are registered to WLC and all the users VLANs are created on the core and trunked to WLC
on the access switches the AP's port configured as access to AP management vlan which is reachable by WLC
02-08-2017 03:24 AM
can you attach "show run-config" here and tell me the AP and SSID name
02-08-2017 04:09 AM
02-08-2017 07:09 AM
suddenly, I can get IP address, but whenever I tried to connect other laptop or phone to the same SSID I am getting the same IP address in all devices.
02-08-2017 07:23 AM
without changing anything? take "debug dhcp packet enable" on the controller."show ip dhcp bindings" on the switch. make sure you forget the SSID on the devices
02-09-2017 12:17 AM
Prasaxen, thanks for your support.
I have found the issue, it was command line in my core where the DHCP scope has been configured causing this miss
"ip dhcp use subscriber-id client-id" once I took it off everything worked as expected
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide