04-22-2020 11:02 AM
Hello,
I have the DHCP server running on the router, it ands out IP addresses, but for the wrong subnet.
I am trying to use only static bindings in pools, with an "origin file" like:
*time* Apr 20 2020 5:11 PM
*version* 3
!IP address Type Hardware address Lease expiration
192.168.1.64 /24 1 146B.9CA6.CE60 Infinite ! test-cam-1
192.168.1.65 /24 1 146B.9CA6.AEEC Infinite ! test-cam-2
192.168.1.66 /24 1 0C8C.2442.1E16 Infinite ! test-cam-3
When I issue a "show ip dhcp binding"
I get to see: "Bindings from all pools not associated with VRF:"
with a "show ip dhcp pool" I get this:
#show ip dhcp pool
Pool VLAN1 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 26
Leased addresses : 26
Pending event : none
65484 subnets are currently in the pool :
Current index IP address range Leased addresses
192.168.1.37 192.168.1.37 - 192.168.1.37 1
....
what does "65484 subnets are currently in the pool :" even mean?
Also, the dhcp server hands ot IP adresses, but theare all like 192.168.0.x
(and all addresses I have in the static files are in 192.168.1.0 and the other pool in 192.168.2.0. on some access points I can see dhcp clients actually 'take' the wrong address and associate with an access point.
thanks,
Ron
Any ideas why that is happening?
04-22-2020 12:01 PM
Hello,
you need to specify the VRF in the pool:
ip dhcp pool HOST_1
vrf RED
host 192.168.37.11 255.255.255.0
client-identifier 013c.970e.9050.f5
ip dhcp pool HOST_1
vrf RED
host 192.168.37.11 255.255.255.0
hardware-address 3c97.0e90.50f5
04-22-2020 01:31 PM
alright, one thing I found out is that this router does not like a comment at the end of a line, and no tabs.
So I have DHCP working on the wired/copper network it seems.
Anyway, the VRF error/warning.
Do I need it (I just have some wired machines and a bunch of wireless stuff) ? is there a default one/setting? Can I ignore it for now?
Ron
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