Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-11-2005, 04:22 PM
|
#1
|
Member
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483
Rep:
|
DHCP- 1st timer
Hi All,
I'm trying to start my new dhcp3 daemon but am having trouble. /var/syslog reports:
Sep 11 14:15:14 localhost dhcpd: Wrote 0 leases to leases file.
Sep 11 14:15:14 localhost dhcpd:
Sep 11 14:15:14 localhost dhcpd: No subnet declaration for eth0 (64.81.72.103).
Sep 11 14:15:14 localhost dhcpd: ** Ignoring requests on eth0. If this is not what
Sep 11 14:15:14 localhost dhcpd: you want, please write a subnet declaration
Sep 11 14:15:14 localhost dhcpd: in your dhcpd.conf file for the network segment
Sep 11 14:15:14 localhost dhcpd: to which interface eth0 is attached. **
Sep 11 14:15:14 localhost dhcpd:
Sep 11 14:15:14 localhost dhcpd:
Sep 11 14:15:14 localhost dhcpd: Not configured to listen on any interfaces!
Ok, I know its asking me to decalre a subnet attached to a NIC, in my case, eth0. How the heck do I declare this? Here's /etc/dhcpd.conf:
# option definitions common to all supported networks...
option domain-name "darklight.org";
option domain-name-servers 64.81.79.1, 216.231.41.2;
default-lease-time 600;
max-lease-time 7200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
subnet 64.0.0.0 netmask 255.0.0.0 {
range 64.1.1.1 64.1.1.254
}
# This is a very basic subnet declaration.
#subnet 10.254.239.0 netmask 255.255.255.224 {
# range 10.254.239.10 10.254.239.20;
# option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
#}
Am I missing sometrhing?
Thanks,
ab
Last edited by aquaboot; 09-11-2005 at 05:06 PM.
|
|
|
09-11-2005, 04:34 PM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Maybe you meant to uncomment the first line of this:
Code:
#subnet 64.0.0.0 netmask 255.0.0.0 {
range 64.1.1.1 64.1.1.254
}
|
|
|
09-11-2005, 05:16 PM
|
#3
|
Member
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483
Original Poster
Rep:
|
Thanks very much for the reply. Yeah, I meant to uncomment that line (I have edited beginning thread mesg. to reflect thi) but still no go- same log error.
Still Stuck,
aq
|
|
|
09-11-2005, 05:19 PM
|
#4
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Hrrm, very odd. How are you starting the daemon?
|
|
|
09-11-2005, 08:21 PM
|
#5
|
Member
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483
Original Poster
Rep:
|
Thanks again for the reply. I'm starting the daemon at command line with:
/etc/init.d/dhcp3-server start
Cheers,
ab
|
|
|
All times are GMT -5. The time now is 01:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|