cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
239
Views
1
Helpful
3
Replies

How to reserve IP to MAC (manual binding) on cisco 1900 series router

mariamzahran26
Level 1
Level 1

how to reserve set of IPs to MAC (manual binding) of set of devices on cisco 1900 series router without using static ip. I tried this way:

1- ip dhcp pool (pool name)

host (ip) (mask)

client-identifier ()

hardware-address

this error appear immediately after the host command : % This command may not be used with network, origin, vrf, or relay pools.

note that I need to reserve IPs for set of devices to give them access on firewall to internet , while the other devices aren't allowed to access internet.

 

1 Accepted Solution

Accepted Solutions

Torbjørn
Spotlight
Spotlight

You need to configure each reservation as an individual pool.

The error message says that the "host" configuration cannot be used with configuration of the "network" command as these are in direct conflict. The "host" configuration specified which network addressing should be assigned to the host that matches the client identifier specified for the pool. The "network" configuration dictates that hosts that match the criteria for the pool should be assigned an address within the network specified. 

You should hence configure the reservations as individual dhcp pools, as the "pools" both state what criteria needs to be met to be matched and what address should be assigned.

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

View solution in original post

3 Replies 3

Torbjørn
Spotlight
Spotlight

You need to configure each reservation as an individual pool.

The error message says that the "host" configuration cannot be used with configuration of the "network" command as these are in direct conflict. The "host" configuration specified which network addressing should be assigned to the host that matches the client identifier specified for the pool. The "network" configuration dictates that hosts that match the criteria for the pool should be assigned an address within the network specified. 

You should hence configure the reservations as individual dhcp pools, as the "pools" both state what criteria needs to be met to be matched and what address should be assigned.

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

I tried this solution but doesn't work , I have created a pool for every individual host contain its ip, mask, hardware-address and client-id but it assign the host id , mask and HW address without client identifier. then I checked the arp, the device appear in the arp with the dhcp ip not the ip that I reserved for its mac.

Hmm, it should work. Can you post the output of "show run | section dhcp" here?

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

Review Cisco Networking for a $25 gift card