Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-08-2005, 03:11 PM   #1
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Rep: Reputation: 30
dhcpd.conf "range" spanning address classes?

I've looked all over the place but haven't found a dhcpd.conf example with a directive like this in a single subnet:


Is this possible, or do I need to set up multiple subnets for each class of network address? I need to do this because I will likely have more than 256 users per subnet, though I suppose I could reorganize the topology across multiple subnets.

I have the potential for a thousand or so users getting DHCP leases from this box and I don't care to separate them into logical subnets...unless of course someone has a good reason to.
Old 04-08-2005, 03:55 PM   #2
Registered: Dec 2004
Location: Western Pennsylvania, USA
Distribution: Red Hat
Posts: 150

Rep: Reputation: 15
If you use a subnet mask of, and will be in the same subnet. With that mask, you could have over 65500 IP addresses on the subnet.
If you want about 1000 machines to be on the same subnet, you'll need to use a subnet mask of at least That should give you around 1022 usable addresses on the subnet.

Most people don't use subnets that large but as long as you have the switch infastructure in place and your dhcp server can handle it, there's no reason you shouldn't be able to do it. It beats adding routers into your network if you don't need them.
Old 04-08-2005, 05:19 PM   #3
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Original Poster
Rep: Reputation: 30
Wicked, thanks !


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd error "Can't bind to dhcp address" msjenkins Linux - Networking 4 10-06-2010 05:16 PM
dhcpd.conf "option routers" non fixed TroelsSmit Linux - Networking 1 08-11-2005 04:31 AM
difference between "Web server local URL" and "IPv4 address"? kpachopoulos Linux - General 2 09-17-2004 01:30 PM
LDAP object classes: cn=admin, why "simpleSecurityObject" and "organizationalRole&quo Hko Linux - Networking 0 08-06-2004 07:55 AM
"host" ok, but "ping" can't find ip address hardigunawan Linux - Networking 2 05-16-2002 05:41 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration