how to reserve ip address on Cisco dhcp router
Posted on 2006-10-20
I am interesting how to RESERVE an ip address for the servers, so I need a suggestion how to do it.
You will see that I have used command "lease infinite" this command disables expiration of the lease. I have booted the server first time and if the server got an ip for example 10.0.0.6 than I have just configured this ip as a static ip address for that server, so that no other pc can take it since the lease will not expire.
But this is not the right way to do it, so I would rather configure dhcp that clients can receive the ip address, but in the same time I will reserve couple ip addresses that my servers uses.
For example I have the network now : 10.0.0.0 /8
Than I will that clients range is : 10.0.0.0-10.0.0.50 and the rest can be reserved ip addresses or I can reserve these ip addresses:
10.0.0.51,52,53,54,55,56 so I need a suggestion how to accomplish this goal.
Below is the DHCP configuration I use right now.
ip dhcp pool VLAN10_pool
network 10.0.0.0 255.255.255.0
dns-server 184.108.40.206 220.127.116.11