10-11-2022 11:43 AM
Hello! I hope someone can assist this newbie. We have small test Wifi setup using new 9115’s with 3 Vlans. Vlan6, Vlan2 and vlan250.
A 9115AP is placed in vlan6 and is the active controller (EWC). A 9115 is in Vlan2, (capwap mode).
No AP’s in Vlan250.
Vlans are managed by central switch (CAT 3750) which is also acting as DHCP server.
The switch is configured as follows, with respect to DHCP and Vlans configs.
.............
Ip routing
ip dhcp pool office
network 10.3.6.0 255.255.254.0 <<<<AP EWC in vlan6
domain-name xxx
default-router 10.3.6.1
dns-server 10.3.6.97
option 43 hex f1080a030604
ip dhcp pool engineering
network 10.3.2.0 255.255.254.0 <<<<Second AP CAPWAP in vlan2
domain-name xxx
default-router 10.3.2.1
dns-server 10.3.6.97
option 43 hex f1080a030604
ip dhcp pool TempEmployees
network 172.16.56.0 255.255.255.0 <<<<<<< No AP’s in Vlan
default-router 172.16.56.1
domain-name xxx.local
dns-server 8.8.8.8
…....
interface GigabitEthernet1/0/5
description "Wifi6"
switchport trunk native vlan 6
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,6,250
switchport mode trunk
……
interface Vlan2
ip address 10.3.2.1 255.255.254.0
…….
interface Vlan6
ip address 10.3.6.1 255.255.254.0
……
interface Vlan250
ip address 172.16.56.2 255.255.255.0
………….
Each AP can obtain an IP address from DHCP with respect to its Vlan.
Two WLAN’s and respective policies have been created. Policy Profiles below. No security applied for testing purposes.
Wireless profile policy TEMPEMP
no central association
no central dhcp
no central switching
vlan 250
no shutdown
wireless profile policy StaffPolicy
no central association
no central dhcp
no central switching
vlan 6
no shutdown
wireless profile policy default-policy-profile
Flex-policy Native vlan is Vlan6.
WLAN 1, “Staff”, allows wireless clients to obtain an IP address from DHCP with respect to the AP’s vlan subnet. That is, clients connect to AP in Vlan6, clients receive an IP address from that vlan6 subnet. Likewise, for clients connecting to an AP in vlan2, receive an IP address from vlan2 subnet.
WLAN 2, “TEMPEMP”, and its respective policy is to receive an IP address from Vlan250 but fails.
According to basic set up documentation this should function.
I have tried enforcing DHCP required and adding the DHCP server address in the TEMEMP policy but to no avail. I ran a trace through the debug analyzer and observed the following:
Entering IP learn state
Not performing DHCP profiling as it is not enabled
Sending DHCP Discover to: 255.255.255.255 on vlan 250 through gateway 0.0.0.0
Wireshark shows Discover packets being generated by AP and wireless client but no offers from DHCP.
Any ideas on what most likely simple configuration I may be missing?
10-13-2022 02:59 PM
It is recommended that all the CAPWAP AP's registering to an EWC belongs to same broadcast domain. (VLAN) So I would start by fixing this problem first, I will bring all the APs to the same VLAN as EWC WMI interface in your case VLAN6. Do not allow clients to connect to this VLAN as this is the best practice.
Then I understand your issue is that clients are not getting IP addresses from VLAN250. You default flex profile must look like below;
wireless profile flex default
native-vlan-id 149
vlan-name TEMPEMP
vlan-id 250
vlan-name Staff
vlan-id 2
10-31-2022 08:58 AM
10-31-2022 11:16 AM - edited 10-31-2022 11:18 AM
Hi,
I would start by removing "spanning-tree portfast" from all the trunk ports connecting between switches. Also I would remove any interface VLANs created in 2960 switches.
!
interface Vlan1
shutdown
!
no interface Vlan5
no interface Vlan6
no interface Vlan8
no interface Vlan10
no interface Vlan250
!
I would also make sure that no dhcp/arp inspection enabled in 2960 switches. Check whether there is any output for "sh run | i snoop". If there is prepend no to disable them. If you want more info read the dhcp/arp snooping configuration guide.
If you really want fast convergence for AP connecting trunk ports then I would add "spanning-tree portfast trunk"
10-31-2022 03:57 PM
01-28-2023 05:13 AM
Did you solve this @aPauld ?
So you were seeing the discover packets arrive on the 3750 (via trunk to 2960)?
But 3750 DHCP is ignoring the DHCP?
Unlikely that they're malformed but you'd see that in the pcap anyway.
You need to work out why they're getting dropped by the 3750 - options somewhat limited.
Look at IP and UDP drop reasons in "show ip traffic" and whether "sh ip dhcp server statistics" shows anything useful.
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