LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 03-19-2008, 07:42 PM   #1
realnoname
LQ Newbie
 
Registered: Mar 2008
Posts: 10

Rep: Reputation: 0
Setup dhcp3


It looks like a lot of people have had the same problem as me but from what I searched nothing I did help... what am trying to do is setup dhcp3 on my debian box and the only thing that its going to be connected to (for now) is just a switch with no access to the internet. When I try to start/restart it I get dhcpd3 failed to start - check syslog for diagnostics.

/etc/dhcp3/dhcpd.conf
Quote:
authoritative;
ddns-update-style interim;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.250;
default-lease-time 518400;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
}
/etc/default/dhcp3-server
Quote:
INTERFACES="eth0"
/var/log/syslog
Quote:
Wrote 0 leases to leases file.
dhcpd:
dhcpd: No subnet declaration for eth0 (0.0.0.0).
dhcpd: ** Ignoring requests on eth0. If this is not what
dhcpd: you want, please write a subnet declaration
dhcpd: in your dhcpd.conf file for the network segment
dhcpd: to which interface eth0 is attached. **
dhcpd: Not configured to listen on any interfaces!
And yes I am a networking/Linux noob

Thanks
 
Old 03-20-2008, 12:21 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
show us the output of "ifconfig eth0" please
 
Old 03-20-2008, 02:12 PM   #3
realnoname
LQ Newbie
 
Registered: Mar 2008
Posts: 10

Original Poster
Rep: Reputation: 0
ifconfig eth0
Quote:
eth0 Link encap:Ethernet HWaddr 00:30:18:A2:ED:E9
inet6 addr: fe80::230:18ff:fea2:ede9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1836 (1.7 KiB)
Interrupt:11 Base address:0xe400
 
Old 03-20-2008, 02:15 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
right... you don't even have an IP address on that interface? your basic networking isn't even up yet. one step at a time...

you do know you can't serve dhcp to yourself right?

Last edited by acid_kewpie; 03-20-2008 at 02:17 PM.
 
Old 03-21-2008, 02:41 PM   #5
realnoname
LQ Newbie
 
Registered: Mar 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
right... you don't even have an IP address on that interface? your basic networking isn't even up yet. one step at a time...

you do know you can't serve dhcp to yourself right?
Haha now that you say that i do.. looks like i got it to work now thanks


now onto the next problem
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BIND9/DHCP3 DDNS not working swilliams2006 Linux - Server 10 06-22-2008 12:42 PM
DHCP3-SERVER on Debian making some noise!! dutche Linux - Networking 0 08-11-2006 02:42 PM
dhcp3 server config geden Debian 1 03-17-2006 08:31 PM
DHCP3 Mac Filter linx win Debian 2 07-28-2005 11:50 AM
dhcp3-client ph33r Linux - Networking 1 05-19-2002 10:24 PM


All times are GMT -5. The time now is 06:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration