Solved

Confeguring clients and DHCP servers when using subnetting

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

If you are thinking of adopting cloud services, or just curious as to what ‘the cloud’ can offer then the leader according to Gartner for Infrastructure as a Service (IaaS) is Amazon Web Services (AWS).  When I started using AWS I was completely new…
The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
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…
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…

809 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