niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » networking
DHCP
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Dan
*nix forums addict


Joined: 29 Mar 2005
Posts: 94

PostPosted: Tue Feb 15, 2005 12:47 am    Post subject: DHCP Reply with quote

I've had dhcpd running without any problem on Redhat 8. I'm now
booting from a second hard disk with Debian Sarge installed. I'm
using the same dhcpd.conf files while running Debian as I did when I
was running Redhat, but I'm getting errors when I start up dhcpd.

This is the error message from syslog:
"No subnet declaration for eth0 (0.0.0.0).
Please write a subnet declaration in your dhcpd.conf file for the
network segment to which interface eth0 is attached.
exiting."

While running Redhat, eth0 is the local 192.168.0.0 network, and eth1
connects to the adsl modem (pppoe). While running Debian, eth0 and
eth1 are reversed, this is just the way they come up when booting.
I'm sure this has something to do with the errors I'm getting.

I've tried adding another subnet declaration for eth0, but I get the
same error.

Here's my dhcpd.conf file:

default-lease-time 691200;
max-lease-time 691200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1, 203.0.178.191;
ddns-update-style interim;
authoritative;

subnet 192.168.0.0 netmask 255.255.255.0
{
range 192.168.0.100 192.168.0.254;
option netbios-name-servers 192.168.0.1;
option domain-name-servers 192.168.0.1;

host dan
{
hardware ethernet 00:0E:A6:C7:82:E8;
fixed-address 192.168.0.3;
}
}

#also tried adding the following, and variations on it:

subnet 0.0.0.0 netmask 255.255.255.0
{
}


Thanks

Dan
Back to top
Dan
*nix forums addict


Joined: 29 Mar 2005
Posts: 94

PostPosted: Tue Feb 15, 2005 12:50 am    Post subject: Re: DHCP Reply with quote

On Tue, 15 Feb 2005 09:47:00 +0800, Dan
<dan@dontspammecauseidontlikit.com> wrote:


For some reason my news reader posted this here, it was meant to be a
new post on its own.

Dan

Quote:


I've had dhcpd running without any problem on Redhat 8. I'm now
booting from a second hard disk with Debian Sarge installed. I'm
using the same dhcpd.conf files while running Debian as I did when I
was running Redhat, but I'm getting errors when I start up dhcpd.

This is the error message from syslog:
"No subnet declaration for eth0 (0.0.0.0).
Please write a subnet declaration in your dhcpd.conf file for the
network segment to which interface eth0 is attached.
exiting."

While running Redhat, eth0 is the local 192.168.0.0 network, and eth1
connects to the adsl modem (pppoe). While running Debian, eth0 and
eth1 are reversed, this is just the way they come up when booting.
I'm sure this has something to do with the errors I'm getting.

I've tried adding another subnet declaration for eth0, but I get the
same error.

Here's my dhcpd.conf file:

default-lease-time 691200;
max-lease-time 691200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1, 203.0.178.191;
ddns-update-style interim;
authoritative;

subnet 192.168.0.0 netmask 255.255.255.0
{
range 192.168.0.100 192.168.0.254;
option netbios-name-servers 192.168.0.1;
option domain-name-servers 192.168.0.1;

host dan
{
hardware ethernet 00:0E:A6:C7:82:E8;
fixed-address 192.168.0.3;
}
}

#also tried adding the following, and variations on it:

subnet 0.0.0.0 netmask 255.255.255.0
{
}


Thanks

Dan
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 9:25 am | All times are GMT
navigation Forum index » *nix » Linux » networking
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts I need to configure DHCP server to force client to obtain... malazc@gmail.com networking 1 Thu Jul 20, 2006 8:44 pm
No new posts Solaris 9 x86 install can't find DHCP server jma Solaris 1 Wed Jul 19, 2006 9:32 am
No new posts [SOLARIS 9] DHCP and DNS jf.lormeau@gmail.com Solaris 5 Tue Jul 18, 2006 9:53 am
No new posts Linksys WET11 not acquiring DHCP address from ISC DHCPd s... Kevin T. Neely networking 5 Tue Jul 18, 2006 3:22 am
No new posts DHCP failover without shared-network. Ken Roberts networking 0 Mon Jul 17, 2006 11:37 pm

Bankruptcy | Directory of Directories | eHarmony | Guitar Books | Debt Consolidation
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1083s ][ Queries: 16 (0.0284s) ][ GZIP on - Debug on ]