LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2005, 07:07 AM   #1
snip128
Member
 
Registered: Jan 2004
Location: Delaware
Distribution: gentoo
Posts: 96

Rep: Reputation: 15
confugure dhcpd


i need to know how to configure dhcpd...i had it working fine, but then when i put another NIC card in, for internet, it says:

Code:
No subnet declaration for eth1 (68.50.16.3). 
Please write a subnet declaration in your dhcpd.conf file for the network segment to which interface eth1 is attached.
exiting.
sooooo....how do i do this? the card i actually need the dhcp for is eth0 (my lan)...
 
Old 07-12-2005, 08:04 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
your dhcpd.conf file should hold an example of this
you also find examples in man dhcpd.conf (also found at http://www.8ung.at/spblinux/doc/dhcpd.conf.html)
looking into the website of your dhcp server
/usr/share/doc holds a lot of info aswell
for dhcp3 server you can look into
/usr/share/doc/dhcp3-server/examples (this was the first result of searching dhcpd.conf on http://www.google.com/linux)

if all of that should fail, i'll post you an example...
don't get me wrong - this place is to be helpt at: these though are the basic steps wich can be used with nearly any trouble in any program...
 
Old 07-12-2005, 11:01 AM   #3
snip128
Member
 
Registered: Jan 2004
Location: Delaware
Distribution: gentoo
Posts: 96

Original Poster
Rep: Reputation: 15
yea...i still don't get it...or rather...where to put it...putting in the subnet declaration right beneath my one for eth0 didnt work...i didnt think it would anyway...the subnet for eth1 is 255.255.255.128 (or so ifconfig says)

Code:
subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.3 192.168.1.250;
  option broadcast-address 192.168.1.255;
  option routers 192.168.1.1;
thats the subnet i have for eth0...so shouldn't i just be able to put something like:

Code:
subnet 68.50.176.0 netmask 255.255.255.128 {
range 68.50.176.1 68.50.176.3
option broadcast-address 255.255.255.255
}
 
Old 07-12-2005, 11:38 AM   #4
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
add this somewhere in your dhcpd.conf file, perhaps before you main declaration for eth0
Code:
subnet 68.50.16.0 netmask 255.255.255.0 {
}
 
  


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
dhcpd subnet declaration problems in dhcpd.conf vcrispo Linux - Networking 6 07-15-2005 10:32 AM
dhcpd blackzone Linux - Networking 1 12-21-2004 09:41 AM
DHCPD startup failure, mdk 9.2, dhcpd v3.0.1rc11 fuzzyworm Linux - Networking 1 02-14-2004 03:58 AM
./confugure failed... now what ???? qwijibow Linux - Newbie 4 05-15-2003 03:30 PM
dhcpd.master or dhcpd.conf rickg Linux - Networking 0 04-11-2002 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:59 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