|
|
|
|
|
|
| Author |
Message |
Dan *nix forums addict
Joined: 29 Mar 2005
Posts: 94
|
Posted: Tue Feb 15, 2005 12:47 am Post subject:
DHCP
|
|
|
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
|
Posted: Tue Feb 15, 2005 12:50 am Post subject:
Re: DHCP
|
|
|
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 |
|
 |
|
|
The time now is Fri Jan 09, 2009 9:25 am | All times are GMT
|
|
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
|
|