[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with dhcpd.conf
- To: <misc@openbsd.org>
- Subject: Problems with dhcpd.conf
- From: <JPRMF@netcabo.pt>
- Date: Mon, 16 Sep 2002 22:57:50 +0100
- Content-Class: urn:content-classes:message
- Thread-Index: AcJdzBlqNdiLi8maEdaCsgBQixNM+A==
I have some problems with dhcpd.conf, yesterday i had that configuration:
.............................................................................................................................................
shared-network LOCAL-net {
option domain-name "my.domain";
option domain-name-servers 192.168.1.3, 192.168.1.5;
subnet 192.168.0.1 netmask 255.255.255.0 {
option routers 192.168.1.1;
range 192.168.1.32 192.168.1.127;
}
}
............................................................................................................................................
and it gives me an error:
.......................................................................................................................................
starting network deamons: gateway dhcpd: Adress range 192.168.1.32 to 192.168.1.127 not on net 192.168.0.1/255.255.255.255.0!
dhcpd: existing
and make a rl1 subnet declaration
...........................................................................................................................................
today i change my dhcpd.conf to:
........................................................................................................................................
shared-network LOCAL-NET {
option domain-name "my.domain";
option domain-name-server 192.168.1.3, 192.168.1.5;
subnet 192.168.1.0 netmask 255.255.255.0
{
option routers 192.168.1.1;
range 192.168.1.21 192.168.1.127;
}
subnet 192.168.o.o netmask 255.255.255.0
{
}
..............................................................................................................................................
and it gives me another error:
............................................................................................................................................
starting network daemons: gateway dhcpd: /etc/dhcpd.conf: unexpected end of file
gateway dhcpd:
gateway dhcpd: ^
gateway dhcpd: Configuration file errors encounterede --existing
.................................................................................................................................
what's wrong???