03-26-2018 11:37 PM - edited 03-08-2019 02:24 PM
Hello Guys,
I am trying to migrate DHCP from windows server to IOS device. We have a VLAN with vrf and the requirement is to do MAC address reservation with IP source binding on access layer switch. I am using below config but it does not work, I see DHCP binding for client pools but with infinite lease as shown below
PARTIAL OUTPUT of show ip dhcp binding
10.108.47.5 40d8.xxxx.xxxx Infinite Manual Selecting Unknown.
10.108.47.10 01xx,xxxx,xxxx,xx Infinite Manual Selecting Unknown
Configuration:
ip dhcp pool POOL
vrf POB
network 10.10.47.0 255.255.255.128
dns-server 10.x.x.180 10.x.x.184 10.x.x.175 10.x.x.177
default-router 10.10.47.1
domain-name domain.com
lease 0 0 20
exit
ip dhcp pool client1
host 10.10.47.10 255.255.255.128
client-name client1
hardware-address 01xx.xxxx.xxxx.xx
lease 0 0 20
default-router 10.10.47.1
ip dhcp pool client2
host 10.10.47.5 255.255.255.128
client-name client2
hardware-address 40xx.xxxx.xxxx
lease 0 0 20
default-router 10.10.47.1
I am not able to use vrf POB under client pools. I tried above with client-identifier and hardware-address commands.
Below is the IP source binding configuration on access switch:
ip source binding 40xx.xxxx.xxxx vlan 2004 10.10.47.5 int fa0/2
ip source binding 01xx.xxxx.xxxx.xx vlan 2004 10.10.47.10 int fa0/3
interface FastEthernet0/4
ip verify source
switchport port-security
ip dhcp client lease 0 0 20
interface FastEthernet0/2
ip verify source
switchport port-security
ip dhcp client lease 0 0 20
Can you please let me know if I am missing something. I searched online dhcp implementation with VRF and MAC reservation but did not help.
Thank you in advance.
03-31-2018 09:48 AM
Hello,
from what i read, DHCP clients require to use client-identifier in your manual bindings:
client-identifier 01XX.XXXX.XXXX.XX
where XX.XXXX.XXXX.XX is your MAC address, 01 is for ethernet media
hardware-address is for BOOTP requests
regards,
Guillaume
04-01-2018 10:58 AM
Hi,
This 01 Indicates the protocol of the hardware platform. If no type is specified, the default protocol is Ethernet.
Regards,
Deepak Kumar
04-03-2018 09:48 AM
Thank you guys for taking time in replying. I already did that and it failed.
I contacted TAC and they confirmed that Denali is the only version that support DHCP vrf host static mappings.
Thank you
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: