02-06-2021 10:35 PM
I am setting up a new out of band switch with port based address allocation to help with an automation project.
I thought I had everything correct, but the dhcp server (the switch) is not assigning addresses.
My config is pretty short, but very repetitive.
I have included a .txt file to shorten up this post.
THANK YOU THANK YOU.
Solved! Go to Solution.
02-07-2021 02:26 AM
Hi,
In my view the interface short name is case sensitive. Can you please try to adjust your pool configuration accordingly, eg.:
address 10.10.10.1 client-id "Gi1/1" ascii
and see if that makes any difference.
Best regards,
Antonin
02-07-2021 02:26 AM
Hi,
In my view the interface short name is case sensitive. Can you please try to adjust your pool configuration accordingly, eg.:
address 10.10.10.1 client-id "Gi1/1" ascii
and see if that makes any difference.
Best regards,
Antonin
02-07-2021 03:19 AM - edited 02-07-2021 03:20 AM
Hello
At first glance remove the following from the access- ports
ip dhcp server use subscriber-id client-id
Also the access-ports are currently assigned to vlan 1 but you don’t have any L3 address for that vlan and the only l3 address you do have isn’t the same as the dhcp scope!
dhcp -10.10.10.0/26
vlan 666 - 172.30.1.0/24
access-port
int x/x
switchport host
swithport access vlan x
02-07-2021 04:26 AM - edited 02-07-2021 04:26 AM
DHCP is now assigning IPs, but it is assigning random IPs
I followed these instructions http://packetpros.com/per-port-ip-address-assignment/
I tried using a capital Gi1/1 but the configuration changes it back to gi1/1
THANK YOU!
02-07-2021 06:34 AM
Hello
conf t
no ip dhcp pool pool1
ip dhcp pool pool1
network 10.10.10.0 255.255.255.192
address 10.10.10.1 client-id "GigabitEthernet1/1" ascii
address 10.10.10.2 client-id "GigabitEthernet1/2" ascii
etc...
02-07-2021 08:32 AM
I will give this ago shortly.
02-07-2021 11:13 AM
Hi,
Thanks for the reply. I have checked the configuration in my lab and my box keeps the commands as configured, ie. maintaining the case sensitivity. What you are experiencing may be an indication of a bug, so you may consider to upgrade.
I have always used the short interface name, not the full name in this case.
Best regards,
Antonin
02-11-2021 12:17 AM - edited 02-11-2021 12:18 AM
THANK YOU folks,
address 10.10.10.1 client-id "Gi1/1" worked!
I guess starting over with a no ip dhcp pool pool1, helped me get the syntax right.
Thanks again!
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