Solved

dhcp scope

Posted on 2015-02-02
7
107 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
  • 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
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
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…

831 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