Paul Hoffman wrote:
Greetings again. I have a DSL connection with 32 addresses. My ifconfig line in rc.conf looks like:
ifconfig_tx0="inet a.b.c.130 netmask"

This works fine. I am trying to configure dhcpd (from the ports collection). My config file says:

default-lease-time 86400;
option subnet-mask;
option routers a.b.c.158;
option domain-name-servers a.b.c.130;
ddns-update-style none;

subnet a.b.c.158 netmask {
range a.b.c.150 a.b.c.157;

This gets the fatal startup error:

/etc/dhcpd.conf line 7: subnet a.b.c.158: bad subnet number/mask combination.
subnet a.b.c.158 netmask
a.b.c.158 is the last usable address, not the network address. try a.b.c.128 instead, which is the network address for you /27.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to