[mdlug] Supernetting

Mat Enders mat.enders at gmail.com
Sat Apr 16 13:52:39 EDT 2011


On Sat, Apr 16, 2011 at 7:28 AM, Carl T. Miller <carl at carltm.com> wrote:
> Mat Enders wrote:
>>         I am attempting to supernet my network here at the school as I run
>> out of IP address fairly frequently.  Here are the pertinent parts of
>> dhcpd.conf
>>
>> subnet 192.168.1.0/22 netmask 255.255.255.0 {
>
> Mat, I'm confused about this line.  The subnet has a /22
> limiter and a netmask of 255.255.255.0.
>
> Try this and see if it works:
>
> subnet 192.168.1.0 netmask 255.255.63.0 {
>
> c

Here is the error that it is throwing in the log file:

Apr 16 13:47:52 SHODAN dhcpd: /etc/dhcpd.conf line 36: Expecting netmask
Apr 16 13:47:52 SHODAN dhcpd: subnet 192.168.0.0/
Apr 16 13:47:52 SHODAN dhcpd:                               ^
Apr 16 13:47:52 SHODAN dhcpd: Configuration file errors encountered -- exiting

Here is line 36 from the config file:

subnet 192.168.1.0/22 netmask 255.255.252.0 {



-- 
Mathew E. Enders



More information about the mdlug mailing list