Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2002 14:00:23 -0800 (PST)
From:      Dennis Holmes <dholmes@liberator.dyndns.org>
To:        m@dev0g.com (Mike Dewhirst)
Cc:        questions@freebsd.org
Subject:   Re: Dhcp config
Message-ID:  <200203012200.OAA65327@star-one.liberator.dyndns.org>
In-Reply-To: <000001c1c15f$c373bac0$470a0ac0@host02> from Mike Dewhirst at "Mar 1, 2002  8:29:18 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Look what Mike Dewhirst wrote:
>I am trying to configure this card:
>
>ifconfig rl0 inet 10.0.24.34 netmask 255.255.255.224
>
>For this range:
>
>10.0.24.34 - 10.0.24.63
>
>With this config file:
>
>default-lease-time         3600;
>max-lease-time             99999;
>ddns-updates               off;
>ddns-update-style          none;
>option subnet-mask 255.255.255.224;
>option broadcast-address 10.0.24.63;
>option routers 10.0.24.34;
>option domain-name-servers 212.35.179.1;
>option domain-name dolphintime;
>subnet 10.0.24.0 netmask 255.255.255.224 {
>  range 10.0.24.35 10.0.24.63;
>}
>
>I get this error:
>
>Address range 10.0.24.35 to 10.0.24.63 not on net 10.0.24.0/255.255.255.224
>
>Any suggestions would really appreciated.

The network with address 10.0.24.0 and mask 255.255.255.224 as specified in
your config has these characteristics:
Network address:  10.0.24.0
Broadcast address:  10.0.24.31
Addresses available for devices:  10.0.24.1 - 10.0.24.30

What you're really looking for might be this:
subnet 10.0.24.32 netmask 255.255.255.224 {
   range 10.0.24.35 10.0.24.62;
}

or this:
subnet 10.0.24.0 netmask 255.255.255.192 {
   range 10.0.24.35 10.0.24.62;
}

+----------------+-------------------+------------------------------------+
| Dennis Holmes  | dholmes@rahul.net |  "We demand rigidly defined        |
| San Jose, CA   +-------------------+   areas of doubt and uncertainty!" |
+------=>{ Meanwhile, as Ford said: "Where are my potato chips?" }<=------+

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203012200.OAA65327>