02-05-2023 09:39 AM
All,
I have a weird DHCP issue. I have a DHCP scope on my switch for wireless. Most of my wireless devices can get an IP address without issue. New clients (coming to the network for the first time or new machines can't get an IP address. When this happens, if I leave the machine alone, some will get an IP address after 5-10 minutes.
Wireless controller - 9800 LC
Switch = 3850 Port Channel 20 to the WLC (GIG1/0/29,33.35.43)
Wireless VLAN 30
Here's my config as well as output of debugs I did on the switch:
3850 Switch
ip dhcp pool WIRELESS_VLAN_30
network 192.168.30.0 255.255.255.0
dns-server 8.8.8.8 8.8.4.4
option 43 hex f104.c0a8.1e0a
default-router 192.168.30.1 255.255.255.0
lease 7
interface Port-channel20
description WLC 9800 LC
switchport access vlan 30
switchport mode trunk
interface GigabitEthernet1/0/29
description Cisco WLC 9800 LC TwoGigabitEthernet0/0/0
switchport access vlan 30
switchport mode trunk
channel-group 20 mode on
interface GigabitEthernet1/0/33
description Cisco WLC 9800 LC TwoGigabitEthernet0/0/1
switchport access vlan 30
switchport mode trunk
channel-group 20 mode on
interface GigabitEthernet1/0/35
description Cisco WLC 9800 LC TwoGigabitEthernet0/0/2
switchport access vlan 30
switchport mode trunk
channel-group 20 mode on
interface GigabitEthernet1/0/43
description Cisco WLC 9800 LC Wireless Controller
switchport access vlan 30
switchport mode trunk
channel-group 20 mode on
spanning-tree portfast
router eigrp 10
default-metric 10000 1 255 1 1500
network 192.168.30.0
eigrp stub connected
debug ip dhcp server packet:
Reload workspace interface Vlan30 tableid 0.
tableid for 192.168.30.1 on Vlan30 is 0
DHCPD: client's VPN is .
DHCPD: using received relay info.
DHCPD: DHCPDISCOVER received from client 0110.a51d.381d.19 through relay 192.168.30.2.
DHCPD: using received relay info.
DHCPD: Sending DHCPOFFER to client 0110.a51d.381d.19 (192.168.30.91).
DHCPD: no option 125
DHCPD: unicasting BOOTREPLY for client 10a5.1d38.1d19 to relay 192.168.30.2.
Check for IPe on Vlan30
DHCPD: creating ARP entry (192.168.30.91, 10a5.1d38.1d19).
DHCPD: unicasting BOOTREPLY to client 10a5.1d38.1d19 (192.168.30.91).
debug ip udp
DHCPD: Sending notification of DISCOVER:
DHCPD: htype 1 chaddr 10a5.1d38.1d19
DHCPD: giaddr = 192.168.30.2
DHCPD: interface = Vlan30
DHCPD: class id 4d53465420352e30
DHCPD: out_vlan_id 0
DHCPD: Sending notification of ASSIGNMENT:
DHCPD: address 192.168.30.91 mask 255.255.255.0
DHCPD: htype 1 chaddr 10a5.1d38.1d19
DHCPD: lease time remaining (secs) = 604800
DHCPD: interface = Vlan30
DHCPD: out_vlan_id 0
DHCPD: Sending notification of ASSIGNMENT:
DHCPD: address 192.168.30.91 mask 255.255.255.0
DHCPD: htype 1 chaddr 10a5.1d38.1d19
DHCPD: lease time remaining (secs) = 604800
DHCPD: interface = Vlan30
DHCPD: out_vlan_id 0
DHCPD: Sending notification of ASSIGNMENT:
DHCPD: address 192.168.30.73 mask 255.255.255.0
DHCPD: htype 1 chaddr 64e0.0388.4c34
DHCPD: lease time remaining (secs) = 604800
DHCPD: interface = Vlan30
DHCPD: out_vlan_id 0
DHCPD: Sending notification of ASSIGNMENT:
DHCPD: address 192.168.30.73 mask 255.255.255.0
DHCPD: htype 1 chaddr 64e0.0388.4c34
DHCPD: lease time remaining (secs) = 604800
DHCPD: interface = Vlan30
DHCPD: out_vlan_id 0
Solved! Go to Solution.
02-05-2023 10:49 AM
First i would suggest on the DHCP - make exclude list for the router gateway. (on Cat 3850 switch)
default-router 192.168.30.1 (this is good enough not needed mask here)
option 43 hex f108c0a80a05c0a80a14 (hex as a shown example) convert your IP to hex (you see online tool)
suggest also lease time day or 8 hours will be good.
Bit odd on your trunk config, either you use access port or trunk
use below example guide :
02-05-2023 10:49 AM
First i would suggest on the DHCP - make exclude list for the router gateway. (on Cat 3850 switch)
default-router 192.168.30.1 (this is good enough not needed mask here)
option 43 hex f108c0a80a05c0a80a14 (hex as a shown example) convert your IP to hex (you see online tool)
suggest also lease time day or 8 hours will be good.
Bit odd on your trunk config, either you use access port or trunk
use below example guide :
02-05-2023 11:10 AM
Thanks. I do have reservations in that range. I will try what you suggested.
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