LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-17-2006, 07:40 PM   #1
geden
Member
 
Registered: Nov 2004
Distribution: Mandriva ONE/ Kubuntu 8.04
Posts: 61

Rep: Reputation: 15
dhcp3 server config


Trying to set up dhcp server on my network and have a problem with the config. Most references refer to subnets on the networks but I have no subnets, its just a standard private ip network of the 192.168.0.X ilk. Does anyone have a working /etc/dhcp/dhcpd.conf for this type of network or a plainspeak tute for the config?
 
Old 03-17-2006, 08:31 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You most certainly do have a subnet for your private network. The subnet for 192.168.0.X is a standard class C subnet (*), /24 or 255.255.255.0. Beyond that, all you would need to do is specify the gateway for the network, and the DNS servers. You can do fancy things, like put a MAC address into the configs so that machine always gets the same IP address from the server, or give certain machines (again based on MAC) get a different address scheme than others. Most all of those things are not necessary for a simple network, but all things are possible.

(*) You could if you so elect not make a 192.168 network have a 255.255.255.0 subnet. You could make it larger or smaller, but well north of 99% of 192.168.X.Y subnets will have 255.255.255.0 subnets.

I don't have a config for you, but a sample from google should suit you fine.

peace,
JimBass
 
  


Reply



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
DHCP3 Mac Filter linx win Debian 2 07-28-2005 11:50 AM
[Debian] Boot stop initializing eth0 (DHCP3) Zolex Linux - Newbie 1 03-09-2004 09:05 AM
Apache Server Config, Mail Server, & Uploading johan the olive Linux - Networking 5 03-14-2003 11:42 PM
dhcp3-client won't negotiate with windows dhcp server through cable modem frankster2000 Linux - Networking 0 06-25-2002 09:04 AM
dhcp3-client ph33r Linux - Networking 1 05-19-2002 10:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:27 PM.

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