Solved

dhcp scope

Posted on 2015-02-02
7
104 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 11

Accepted Solution

by:
Bryant Schaper earned 500 total points
Comment Utility
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 11

Expert Comment

by:Bryant Schaper
Comment Utility
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
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 11

Assisted Solution

by:Bryant Schaper
Bryant Schaper earned 500 total points
Comment Utility
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
Comment Utility
"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 11

Assisted Solution

by:Bryant Schaper
Bryant Schaper earned 500 total points
Comment Utility
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
Comment Utility
I will need to test it. Thx
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

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…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now