Date: Tue, 23 Jul 2013 09:26:20 +0100 From: Frank Leonhardt <frank2@fjl.co.uk> To: freebsd-questions@freebsd.org Subject: Re: dhcp server returns core dump when i define network with mask 8 Message-ID: <51EE3E2C.2090203@fjl.co.uk> In-Reply-To: <loom.20130723T095802-729@post.gmane.org> References: <CAA_1SgGFpBCnxWf4tKa3--nZiYhDgyiEcwvrfsUodxiOwMNfdg@mail.gmail.com> <loom.20130723T095802-729@post.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 23/07/2013 09:03, jb wrote:
> s m <sam.gh1986 <at> gmail.com> writes:
>
>> ...
>> subnet 192.0.0.0 netmask 255.0.0.0 {
>> range 192.0.0.1 192.255.255.255;
> The 'range' denotes IP addresses that can be allocated to clients.
> The IP 192.255.255.255 is a reserved broadcast address for the network.
> jb
>
>
It's definitely "bad idea" to try to use it, but it doesn't explain the
core dump.
Also, using DHCP to dish out addresses that don't belong to you AND
aren't on a private network (as defined by IANA) will probably lead to
trouble. Valid private address ranges are:
10.0.0.0 - 10.255.255.255 (private class A)
172.16.0.0 - 172.31.255.255 (private class B x 16)
192.168.0.0 - 192.168.255.255 (private class C x 256)
Which block you use is really a matter of taste - classes haven't been
used in routing for quite a while so you can consider them all as
straight blocks but I (for one) still treat them as classed just to help
me visualise what's what. For example, I'll use one class C per site to
prevent conflicts over VPN.
192.0.0.0/24 addresses are allocated to real hosts on the wider
internet, although IIRC some of the lower ones are reserved for use in
documentation (like example.com) - is that where the idea came from?!? :-)
Regards, Frank.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51EE3E2C.2090203>
