06-26-2024 06:41 AM
Hello,
I have been tasked with configuring multiple DHCP pools within our L3 core switch. Each DHCP pool will belong to a single vlan.
Currently I have a Vlan interface and DHCP pool configured but devices are not receiving leased addresses within the pool after the Vlan has been assigned to a device's physical interface.
Current configs:
!
ip dhcp pool Verkada
network 10.52.0.0 255.255.255.0
default-router 10.52.0.254
dns-server 8.8.8.8
lease 4
!
interface Vlan52
description Verkada - Vlan 52
ip address 10.52.0.254 255.255.255.0
ip pim sparse-dense-mode
end
The Vlan has been allowed on the necessary trunk ports and google's DNS has been used for testing sakes.
Any insight would be greatly appreciated. Thank you!
Solved! Go to Solution.
07-24-2024 01:03 PM
Turns out that the interface for the VLAN was built on another switch by my predecessor which created many many issues. Removed the conflicting interface and the issue was resolved.
06-26-2024 07:31 AM - edited 06-26-2024 07:31 AM
Share
Show ip dhcp pool
Show ip dhcp server statistics
Show vlan breif
MHM
06-26-2024 07:47 AM
Hello MHM,
Thank you for your reply. Here is the information requested below. Please note that I did not include all the active vlans, nor the other pools I have tested.
OOJH-MDF-CORE#show ip dhcp pool
Pool Verkada :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 254
Leased addresses : 0
Excluded addresses : 0
Pending event : none
1 subnet is currently in the pool :
Current index IP address range Leased/Excluded/Total
10.52.0.1 10.52.0.1 - 10.52.0.254 0 / 0 / 254
!
OOJH-MDF-CORE#show ip dhcp server statistics
Memory usage 21894
Address pools 4
Database agents 0
Automatic bindings 0
Manual bindings 0
Expired bindings 3
Malformed messages 3
Secure arp entries 0
Renew messages 3350
Workspace timeouts 0
Static routes 0
Relay bindings 0
Relay bindings active 0
Relay bindings terminated 0
Relay bindings selecting 0
Message Received
BOOTREQUEST 21
DHCPDISCOVER 11785593
DHCPREQUEST 14960239
DHCPDECLINE 5015
DHCPRELEASE 74426
DHCPINFORM 2296
DHCPVENDOR 0
BOOTREPLY 0
DHCPOFFER 4893219
DHCPACK 14808559
DHCPNAK 17065
Message Sent
BOOTREPLY 0
DHCPOFFER 4
DHCPACK 6
DHCPNAK 110434
Message Forwarded
BOOTREQUEST 25
DHCPDISCOVER 11112121
DHCPREQUEST 15124532
DHCPDECLINE 5083
DHCPRELEASE 74449
DHCPINFORM 1919
DHCPVENDOR 0
BOOTREPLY 0
DHCPOFFER 4893219
DHCPACK 14808559
DHCPNAK 17065
DHCP-DPM Statistics
Offer notifications sent 0
Offer callbacks received 0
Classname requests sent 0
Classname callbacks received 0
!
OOJH-MDF-CORE#show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Te1/1/3, Te1/1/4
2 DATA-SSD68 active
52 VLAN0052 active
!
06-26-2024 08:01 AM
all is good
share
show interface trunk
MHM
06-26-2024 11:00 AM
Thanks for checking the information. Here is the show int trunk:
OOJH-MDF-CORE#show int trunk
Port Mode Encapsulation Status Native vlan
Te1/0/3 on 802.1q trunking 1
Te1/0/4 on 802.1q trunking 1
Te1/0/5 on 802.1q trunking 1
Te1/0/6 on 802.1q trunking 1
Te1/0/7 on 802.1q trunking 1
Te1/0/8 on 802.1q trunking 1
Te1/0/9 on 802.1q trunking 1
Te1/0/10 on 802.1q trunking 1
Te1/0/11 on 802.1q trunking 1
Te1/0/12 on 802.1q trunking 1
Te1/1/1 on 802.1q trunking 1
Te1/1/2 on 802.1q trunking 1
Te1/1/7 on 802.1q trunking 1
Te1/1/8 on 802.1q trunking 1
Po1 on 802.1q trunking 1
Port Vlans allowed on trunk
Te1/0/3 1-2,21-22,52,101,109,111,203,219,224,600,610
Te1/0/4 1,21-22,52,101-102,109,111,203,219,600,610
Te1/0/5 1,21-22,52,101,103,111,203,219,600,610
Te1/0/6 1-3,21-22,52,99-102,108,111-112,203,206,219-220,600,604,610
Te1/0/7 1,21-22,52,101-102,111,203,219,600,610
Te1/0/8 1,21-22,52,101,103,111,203,219,600,610
Te1/0/9 1,21-22,52,99-100,104,111,203,220,233,600,603,610-611
Te1/0/10 1,21-22,50,52,99-100,105,111-113,203,220,253,600,605,611
Te1/0/11 1,21-22,52,99-100,106,111,203,220,243,600,604,611
Te1/0/12 1-4094
Te1/1/1 2,21-22,99-107,109,111-113,172-173,611
Te1/1/2 2,21-22,101-107,111,172-173,611
Te1/1/7 1,21-22,52,101-102,106,111-112,203,219,303,610-611
Te1/1/8 1-4094
Po1 1-302,304-4094
Port Vlans allowed and active in management domain
Te1/0/3 1-2,22,101,109,111,203,219,224,610
Te1/0/4 1,22,101-102,109,111,203,219,610
Te1/0/5 1,22,101,111,203,219,610
Te1/0/6 1-3,22,99-102,108,111-112,203,206,219-220,604,610
Te1/0/7 1,22,101-102,111,203,219,610
Te1/0/8 1,22,101,111,203,219,610
Te1/0/9 1,22,99-100,104,111,203,220,233,603,610
Te1/0/10 1,22,50,99-100,105,111-113,203,220,253,605
Te1/0/11 1,22,99-100,106,111,203,220,243,604
Te1/0/12 1-3,9-10,20,22,50-51,99-102,104-109,111-113,115,172-173,201-203,206,214,219-220,223-225,227-230,233,240,243,250,253,603-605,610
Te1/1/1 2,22,99-102,104-107,109,111-113,172-173
Te1/1/2 2,22,101-102,104-107,111,172-173
Te1/1/7 1,22,101-102,106,111-112,203,219,610
Te1/1/8 1-3,9-10,20,22,50-51,99-102,104-109,111-113,115,172-173,201-203,206,214,219-220,223-225,227-230,233,240,243,250,253,603-605,610
Po1 1-3,9-10,20,22,50-51,99-102,104-109,111-113,115,172-173,201-203,206,214,219-220,223-225,227-230,233,240,243,250,253,603-605,610
Port Vlans in spanning tree forwarding state and not pruned
Te1/0/3 1-2,22,101,109,111,203,219,224,610
Te1/0/4 1,22,101-102,109,111,203,219,610
Te1/0/5 1,22,101,111,203,219,610
Te1/0/6 1-3,22,99-102,108,111-112,203,206,219-220,604,610
Te1/0/7 1,22,101-102,111,203,219,610
Te1/0/8 1,22,101,111,203,219,610
Te1/0/9 1,22,99-100,104,111,203,220,233,603,610
Te1/0/10 1,22,50,99-100,105,111-113,203,220,253,605
Port Vlans in spanning tree forwarding state and not pruned
Te1/0/11 1,22,99-100,106,111,203,220,243,604
Te1/0/12 1-3,9-10,20,22,50-51,99-102,104-109,111-113,115,172-173,201-203,206,214,219-220,223-225,227-230,233,240,243,250,253,603-605,610
Te1/1/1 2,22,99-102,104-107,109,111-113,172-173
Te1/1/2 2,22,101-102,104-107,111,172-173
Te1/1/7 1,22,101-102,106,111-112,203,219,610
Te1/1/8 1-3,9-10,20,22,50-51,99-102,104-109,111-113,115,172-173,201-203,206,214,219-220,223-225,227-230,233,240,243,250,253,603-605,610
Po1 1-3,9-10,20,22,50-51,99-102,104-109,111-113,115,172-173,201-203,206,214,219-220,223-225,227-230,233,240,243,250,253,603-605,610
Te1/0/3 is where the device is located at that I am trying to get DHCP to work. We have a transparent VTP topology and we only allow certain vlans on different trunk ports depending on the location & needs.
Just incase, here is the trunking interface for the otherside of the trunk:
OOJH-IDF-1W#show int trunk
Port Mode Encapsulation Status Native vlan
Gi1/0/48 on 802.1q trunking 1
Te1/1/1 on 802.1q trunking 1
Port Vlans allowed on trunk
Gi1/0/48 1,21-22,52,99-101,103,111,203,220,224,610
Te1/1/1 1-2,21-22,52,99-101,109,111,203,219-220,224,600,610
Port Vlans allowed and active in management domain
Gi1/0/48 1,21-22,99-101,103,111,203,224,610
Te1/1/1 1-2,21-22,99-101,111,203,219,224,600,610
Port Vlans in spanning tree forwarding state and not pruned
Gi1/0/48 1,21-22,99-101,103,111,203,224,610
Te1/1/1 1-2,21-22,99-101,111,203,219,224,600,610
06-26-2024 11:05 AM
The core and SW is allow vlan but it not active
Vlan52 is missing from trunk
So check both SW by do
Show vlan see if vlan is add correctly to database of SW's
MHM
06-27-2024 05:50 AM
also make double check if you run STP in that VLAN52 or not
MHM
06-28-2024 12:47 AM
Hello
Do you have snooping enabled?, if so make sure you have trusted the up-links to the cores switch ?
show ip dhcp snooping
07-24-2024 01:03 PM
Turns out that the interface for the VLAN was built on another switch by my predecessor which created many many issues. Removed the conflicting interface and the issue was resolved.
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