Solved

dhcp scope

Posted on 2015-02-02
7
109 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Technology Partners: 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

Title # Comments Views Activity
Well known ports and optimal ports scanning range 12 96
Network setup between buildings 4 53
Usage of Prefix-List 5 41
site - site VPN 3 35
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
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…
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…

685 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