Solved

dhcp scope

Posted on 2015-02-02
7
110 Views
Last Modified: 2015-04-27
i have the following dhcp scope setup on a Cisco router. I am just wondering how it works:
ip dhcp pool pool1
 network 10.10.10.0 255.255.255.0
  default-router 10.10.10.1
!
ip dhcp pool pool2
 network 10.10.10.100 255.255.255.0
 client-identifier xxxx.xxxx.xxxx.xx
  default-router 10.10.10.1
!
ip dhcp pool pool3
 network 10.10.10.200 255.255.255.0
 client-identifier xxxx.xxxx.xxxx.xx
  default-router 10.10.10.1
0
Comment
Question by:leblanc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 12

Accepted Solution

by:
Bryant Schaper earned 500 total points
ID: 40584852
The first entry is a broad scope 10.10.10.0 - 10.10.10.255 assignment, the next two are static.  The router assigns when it is sees a request come in on the associated interface in that scope, for example gig0/1 at 10.10.10.1 255.255.255.0
0
 
LVL 12

Expert Comment

by:Bryant Schaper
ID: 40584855
I would point out that the two statics look funny, normally they use the host address and mask for example host 10.10.10.200 255.255.255.0 and ID is the mac + media source
0
 
LVL 1

Author Comment

by:leblanc
ID: 40585166
I have never seen the 2 static dhcp scope like that. That is why I ask. Why doesn't the author just statically assign those 2 IP addresses to the devices.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Assisted Solution

by:Bryant Schaper
Bryant Schaper earned 500 total points
ID: 40585186
some prefer to do it via DHCP.  I actually prefer this as will, then I see the entire scope in a view.  I only static specific servers and network equipment, things that will not be happy if DHCP is down.  Things like workstations and printers I do with DHCP.  All preference.  You may even see people say in a small enough shop you can static everything.  Just don't see why.

I am not sure that code would even work.
0
 
LVL 1

Author Comment

by:leblanc
ID: 40585200
"then I see the entire scope in a view": can you elaborate on this?

"I am not sure that code would even work. ": You meant if the code that I listed work. I can check it out. I guess I can take a look at the device with that MAC address and see if it has that assigned IP address.

So what to you call this type of DHCP? Is it static DHCP scope? Is there any explanation somewhere? I have never seen it before and it is good to know.

Thanks
0
 
LVL 12

Assisted Solution

by:Bryant Schaper
Bryant Schaper earned 500 total points
ID: 40585210
I find the way the cli lists statics ugly, I am referring to something like Windows DNS, and the gui it provides.

     Yes, I am not sure the static mapping will work.  It may could be how older ios versions did it, but without the host statement it may fail.

8590_E_SHEA_SDL(config)#ip dhcp pool pool1
8590_E_SHEA_SDL(dhcp-config)#network 10.99.99.0 /24
8590_E_SHEA_SDL(dhcp-config)#default-router 10.0.0.1
8590_E_SHEA_SDL(config)#ip dhcp pool pool2
 8590_E_SHEA_SDL(dhcp-config)#network 10.99.99.100 /24
% A pool already exists for network 10.99.99.0 / 255.255.255.0.


     I would just call it DHCP with static assignments or dhcp reservations.
0
 
LVL 1

Author Comment

by:leblanc
ID: 40617025
I will need to test it. Thx
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
Hello to you all, I hear of many people congratulate AWS (Amazon Web Services) on how easy it is to spin up and create new EC2 (Elastic Compute Cloud) instances, but then fail and struggle to connect to them using simple tools such as SSH (Secure…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

739 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