cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
291
Views
2
Helpful
5
Replies

DHCP on Cisco IoS

stephenstown20
Level 1
Level 1

hello 

a customer is trying to migrate DHCP services from Windows Server to Cisco switch infrastructure 

there are a number of reservations on the scope in the format IP -- name 

the screenshot attached shows an example 

Q can this type of reservation be replicated on a DHCP server in Cisco IoS

stephenstown20_0-1732568799743.png

 

 

 

 

 

5 Replies 5

stephenstown20
Level 1
Level 1

wider screenshot of the microsoft binding -- IP Address -- name 

@stephenstown20 

  In cisco you can use the exclude address option:

ip dhcp excluded-address <address range>

And you can use Client identifier

client-identifier <mac address>

I believe this is the far you can go. 

 

steps needed
is convert the name into ASCII 

config Pool for subnet 
config Pool for each host using client-name <ASCII>

this way you get same as DHCP server 

Screenshot (196).png

Hello stephenstown20,

there are two ways to create a reservation:

ip dhcp excluded-address 192.168.1.10
!
ip dhcp pool CLIENT_10
host 192.168.1.10 255.255.255.0
client-identifier 0100.3412.1b0c.19

The client-identifier option prepends a 01 (for Ethernet) to the MAC address.

or

ip dhcp excluded-address 192.168.1.10

ip dhcp pool CLIENT_10
hardware-address 0034.121b.0c19
host 192.168.1.10 255.255.255.0

Referece: https://community.cisco.com/t5/switching/how-to-reserve-a-specific-mac-address-in-the-existing-cisco-dhcp/td-p/4046515

Best regards
******* If This Helps, Please Rate *******

Friend he need to use Name of host not Mac.

Thanks 

MHM

Review Cisco Networking for a $25 gift card