02-24-2014
01:27 PM
- last edited on
03-09-2022
11:17 PM
by
smallbusiness
Hi Guys
I'm configuring an WLC 5508 with 3702 APs, but I am not able to connect wireless client to wlan, it seems like DHCP is not working, because the client is not able to get an IP address (I've configured the DHCP server on Cisco Router). I've configured the Dynamic Interface (120) for Guest Users in WLC as follow:
SSID: Guest-Users
Interface Name: Guest-Users
VLAN Identifier: 120
IP Address: 10.1.10.254
Netmask: 255.255.255.0
Gateway: 10.1.10.1
The wlan (Guest-Users) is mapped to VLAN 120 and has no any security policies
This is the Router Configuration for Lab purpose
!
ip dhcp pool Test-Guest-Users
import all
network 10.1.10.0 255.255.255.0
default-router 10.1.10.1
dns-server 10.1.10.1
!
!
interface GigabitEthernet0/1.100
encapsulation dot1Q 100 native
ip address 10.1.7.1 255.255.255.0
!
interface GigabitEthernet0/1.120
description ### Test Guest Users ###
encapsulation dot1Q 120
ip address 10.1.10.1 255.255.255.0
!
This is the swtich configuration
!
interface GigabitEthernet1/0/46
description ### Link to AP ###
switchport access vlan 100
switchport mode access
!
!
interface GigabitEthernet1/0/47
description ### Link to WLC ###
switchport trunk native vlan 100
switchport trunk allowed vlan 100,110,111,120,130,131,140
switchport mode trunk
!
!
interface GigabitEthernet1/0/48
description ### Link to Router ###
switchport trunk native vlan 100
switchport trunk allowed vlan 100,110,111,120,130,131,140
switchport mode trunk
!
Hope any suggestions
Thanks
Marcelo
Solved! Go to Solution.
02-24-2014 07:10 PM
Well if you can use a static and it works, then if you use the WLC as the internal DHCP, then you must have something configured wrong. First when using an internal DHCP, you need to make sure you have DHCP proxy enabled. Second, in the dynamic interface you created, you need to define the primary DHCP server as the WLC management IP.
Give that a try.
Sent from Cisco Technical Support iPhone App
02-24-2014 02:26 PM
If you connect a wired machine on the switch assigned to access Vlan 120, does the device get an address? Let's make sure that works first. Connect the laptop to the same switch the WLC is connected to.
Sent from Cisco Technical Support iPhone App
02-24-2014 03:21 PM
Hi Scott
I have not done exactly that test, but I tested by assign a static IP address to the laptop and I am able to connect to the wireless network. I also tried by configuring DHCP server locally on WLC, but does not work as well.
What other thing could be the root cause for you?
Thanks,
Marcelo
02-24-2014 07:10 PM
Well if you can use a static and it works, then if you use the WLC as the internal DHCP, then you must have something configured wrong. First when using an internal DHCP, you need to make sure you have DHCP proxy enabled. Second, in the dynamic interface you created, you need to define the primary DHCP server as the WLC management IP.
Give that a try.
Sent from Cisco Technical Support iPhone App
02-25-2014 08:17 PM
Thanks Scott
DHCP proxy was enabled, but I made an error while I defined the primary DHCP server as the WLC management IP. Also I've configured an external DHCP and does work fine now.
Marcelo
02-26-2014 04:56 AM
Glad you got it working!
Sent from Cisco Technical Support iPhone App
02-24-2014 07:24 PM
Are you sure you don't have any DHCP starvation?
Your configuration does not have any DHCP IP exclude statements. Next, your DHCP pool does not have a lease time.
03-02-2014 02:57 AM
Hi Leo,
What are the solution when facing a DHCP starvation attack over several Access Points?
I thought of ip dhcp snooping limit but I believe this end up by limiting legitimate requests too.
Simply enabling DHCP Snooping on the affected Vlan should decline additional requests coming with different chaddr values from the same source MAC address of the attacker?
Thanks in advance!
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