Date: Tue, 6 Aug 2013 10:59:22 +0200 From: Andreas Nilsson <andrnils@gmail.com> To: Olivier Nicole <olivier.nicole@cs.ait.ac.th> Cc: Olivier Nicole <on@cs.ait.ac.th>, FreeBSD Net <freebsd-net@freebsd.org>, s m <sam.gh1986@gmail.com> Subject: Re: how define network with mask 8 for dhcp server? Message-ID: <CAPS9%2BSuEd=az9HkJZfHv%2B4A=Nk-ZS1AzRH7FaoOOtugUr19mFw@mail.gmail.com> In-Reply-To: <CA%2Bg%2BBvgekEcdD=d8MG883ze02gnofTCV2wL7LA3gWXHSbMAUzQ@mail.gmail.com> References: <CAA_1SgERG9jQE8vApcv0GYsBhvpf9FYFW2Pw0rqGT%2B9FjP2ktQ@mail.gmail.com> <u9zjsv9rwc.fsf@banyan.cs.ait.ac.th> <CAA_1SgGR0XGPb2pCb0CaNB5xjUdubSynLOnFvzTVJGUroMyEzQ@mail.gmail.com> <CA%2Bg%2BBvgekEcdD=d8MG883ze02gnofTCV2wL7LA3gWXHSbMAUzQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 6, 2013 at 10:40 AM, Olivier Nicole <olivier.nicole@cs.ait.ac.th > wrote: > Sam, > > > my problem is to know how define a network with mask 8 and dhcp server > > works correctly with it! you know if i config my dhcpd.conf like below, i > > have core dump either: > > subnet 10.0.0.0 netmask 255.0.0.0 > > { > > range 10.0.0.1 10.255.255.254; > > } > > > > do you know how should i define my range ?? > > The reason may be that 2^24 machines in a subnet is such a non-sense > that dhcp simply cannot manage it. > > Best regards, > > Olivier > > > > > On Tue, Aug 6, 2013 at 12:23 PM, Olivier Nicole < > Olivier.Nicole@cs.ait.ac.th > >> wrote: > > > >> Sam, > >> > >> > subnet 192.0.0.0 netmask 255.0.0.0 > >> > >> I know it is not the answer to your question, but you are wrong in your > >> guess that 192.0.0.0/8 is all private IPs. Only 192.168.0.0/16 is. > >> > >> I know that for certain because my own IP starts with 192. > >> > >> If you want a full /8 private, you can only use 10.0.0.0/8 > >> > >> Bets regards, > >> > >> Olivier > >> > >> -- > >> > > Well, I would guess it may run out of memory... I did a few tests: 192.0.0.0 - 192.128.255.255 does work ( using ~2.5Gb RAM ). 192.0.0.0 - 192.192.255.255 does work ( using ~4Gb RAM ). 192.0.0.0 - 192.200.255.255 does work ( using ~4.2Gb RAM ). 192.0.0.0 - 192.224.255.255 dumps core Why would you want to have such a huge range? Best regards Andreas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSuEd=az9HkJZfHv%2B4A=Nk-ZS1AzRH7FaoOOtugUr19mFw>