Solved

Confeguring clients and DHCP servers when using subnetting

Posted on 2008-10-29
3
198 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

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

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

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
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…

867 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

21 Experts available now in Live!

Get 1:1 Help Now