Paul Hoffman wrote:
Greetings again. I have a DSL connection with 32 addresses. My ifconfig line in rc.conf looks like: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.
ifconfig_tx0="inet a.b.c.130 netmask 255.255.255.224"
defaultrouter="a.b.c.158
This works fine. I am trying to configure dhcpd (from the ports collection). My config file says:
default-lease-time 86400;
option subnet-mask 255.255.255.224;
option routers a.b.c.158;
option domain-name-servers a.b.c.130;
ddns-update-style none;
subnet a.b.c.158 netmask 255.255.255.224 {
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 255.255.255.224
.daniel
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message