Solved

Confeguring clients and DHCP servers when using subnetting

Posted on 2008-10-29
3
197 Views
Last Modified: 2012-05-05
Hi

when i use subnetting is there any special configuration i should do to dhcp server and clients ? or i just put the range and mask such as 255.255.224.0 on the dhcp server and its done ?
0
Comment
Question by:Pure_Heart
3 Comments
 
LVL 3

Accepted Solution

by:
Patricck earned 125 total points
ID: 22829518
Hi,
the answer for your question:
http://linuxgazette.net/issue83/ward.html
;)
0
 
LVL 31

Expert Comment

by:Toni Uranjek
ID: 22829523
Hi!

You sholud exclude IP addresses for servers from address pool to avoid IP conflicts. Subnet mask should be the same as the subnet mask of your DHCP server if server and clients are on the same local network.

HTH

Toni
0
 
LVL 25

Expert Comment

by:Fred Marshall
ID: 22832227
You are *always* using subnetting - in the sense that there is a particular subnet mask in use .. which there always is.

So, yes that's all you have to do - subject to what "toniur" mentions.  The range of addresses for DHCP is almost ALWAYS a subset of the mask range.

Example:

Subnet: 192.168.1.0 / 255.255.255.0 meaning host addresses 192.168.1.1 to 192.168.1.254.
Assuming that some devices / hosts will be on fixed IPs, then you will want to reserve a range for them.  
Let's say that some are at the bottom of the range using: 192.168.1.1 to .20
Let's say that some are at the top of the range using: 192.168.1.235 to .254
So, the DHCP range then should be limited to some or all of the range 192.168.1.21 to 192.168.1.234 depending on your needs and desires.  

DHCP can't help you manage overlaps - that's why you do this.
For example:
Computer #1 has a fixed IP address of 192.168.1.13.
DHCP range is set for 192.168.1.1 to 192.168.1.254.
Computer #1 is shut down for a week for some reason (maybe it's a laptop even - although one would not as normally assign a fixed IP to a laptop .. but you get the idea I'm sure)
DHCP assigns 192.168.1.13 to another computer/device during that time.
Then, Computer #1 comes back on line and there is an IP address conflict!!!
That's why the range "partitions" need to be defined and managed.



0

Featured Post

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

Join & Write a Comment

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
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…

760 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

23 Experts available now in Live!

Get 1:1 Help Now