?
Solved

dhcp scope

Posted on 2015-02-02
7
Medium Priority
?
112 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 2000 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
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
LVL 12

Assisted Solution

by:Bryant Schaper
Bryant Schaper earned 2000 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 2000 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

764 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