Solved

how to reserve ip address on Cisco dhcp router

Posted on 2006-10-20
13
3,558 Views
Last Modified: 2012-05-05
Hello,

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
   domain-name vlan10.com
   dns-server 213.184.200.1 213.184.200.2
   default-router 10.0.0.2
   lease infinite
___________________________________________

Thank You
Best regards
Steve_I
0
Comment
Question by:Steve_I
  • 7
  • 6
13 Comments
 
LVL 8

Accepted Solution

by:
caddlady earned 100 total points
ID: 17776956
0
 

Author Comment

by:Steve_I
ID: 17776986
Thank You for answer !!!

I found :

Router(config)# ip dhcp excluded-address low-address [high-address]

I saw this before, but I am not sure can I use the excluded ip addresses for the servers ?? is it the same way as RESERVED ip addresses ??
In windows dhcp I know, there can we reserve and exclude both alternatives are there but not in cisco as I see.
I know that excluded addresses will not be assigned to the clients BUT can I use them for srevers ? or they need to be reserved ?

Steve_I
0
 
LVL 8

Expert Comment

by:caddlady
ID: 17777041
Yes, exclude means same as reserved.  In order for your servers to use them, you must assign them as static ip in the TCP/IP config for their network cards.
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
LVL 8

Expert Comment

by:caddlady
ID: 17777069
mybad...  

Wrong terminology...   exclude does not mean same as reserved...

exclude - means do not assign it to anything
reserved - assign it to only this MAC address

 :)

0
 

Author Comment

by:Steve_I
ID: 17777496
Exact my friend :) that was what I tought ;)

But I could not find the command which can "reserve an specified mac address to an ip address "

Do You know it maybe ??

Thank You for reply !!!!

Best regards
Steve_I
0
 
LVL 8

Expert Comment

by:caddlady
ID: 17778609
Try this link:

http://www.joe-ma.co.za/page.php?28

Good Luck!  Caddlady
0
 

Author Comment

by:Steve_I
ID: 17781410
Hi again !!

Thank You very much for helping !!

But I got simple problem, my pool looks like this below :

ip dhcp pool VLAN10_pool
   network 10.0.0.0 255.255.255.0
   domain-name vlan10.com
   dns-server 213.184.200.1 213.184.200.2
   default-router 10.0.0.2
   lease infinite

So I accessed the ip dhcp pool VLAN10_pool than I run the command :

host 10.0.0.15 255.255.255.0 and when I hit the enter I got the error message below:

Router(dhcp-config)#host 10.0.0.15 255.255.255.0
% This command may not be used with network, origin or vrf pools.

so I could not process the whole command as describedon the link You gave me:

ip dhcp pool STATIC-3
host 10.0.0.10 255.255.255.0
hardware-address 0014.3863.6c88

Steve_I


0
 
LVL 8

Expert Comment

by:caddlady
ID: 17786248
What is the model #, firmware ver, etc. for your equip?
0
 

Author Comment

by:Steve_I
ID: 17786692
The model is Cisco 2600 Series (2620) and the IOS version I use iz 12.3(20)
0
 

Author Comment

by:Steve_I
ID: 17798470
found any solutions for the problem ??

0
 
LVL 8

Expert Comment

by:caddlady
ID: 17800105
The dhcp pool that you would add the static (reserved) ips in is STATIC-3 - not VLAN10_pool.  Try creating the second pool.
0
 
LVL 8

Expert Comment

by:caddlady
ID: 17800168
There is a section on creating a Static Mapping Text File in the link below.

http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a00804419eb.html#wp1114732
0
 

Author Comment

by:Steve_I
ID: 17806482
Hello !!

Nice description on the post above.
Thank You very much for helping me, I will test it now, so I will se how it works.

Best regards
Steve_I
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DNS entry for intranet 1 19
svi stops eigrp advertisement 13 32
decoding the error message TEI_ASSIGNED 8 37
VTP servers with 3650 switches 5 25
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question