[luau] dhcpd.conf setup

Charles Lockhart lockhart at jeans.ifa.hawaii.edu
Wed Jun 25 07:18:01 PDT 2003


Yeah, I think that's what happened.  I ended up searching dejanews and 
stumbled across a reference to a mini-HOWTO on dhcp which I managed to 
track down, and got it to work, or at least start without errors, and it 
looks like it's working for what I'm trying to do.

Thanks,

-Charles


> In that case, you didn't tell dhcpd everythign it wants to knwo about 
> your network setup.  DHCPd needs to know a LOT about your network setup 
> (at the minimum, it needs a subnet declaration that is the exact same as 
> your network card's).  Even if you only want to serve a small range of 
> the subnet up as dynamic addresses, you still need to declare the entire 
> subnet.  Then use the range parameter to tell it about where you 
> actually want addresses assigned from.
> 
> Example:
> subnet 192.168.17.0 netmask 255.255.255.0 {
>   range 192.168.17.100 192.168.17.200;
>   option routers 192.168.17.1;
>   option domain-name-servers 192.168.0.1;
>   option domain-name "secondary.local.lan";
> }
> 
> The interface is configured as 192.168.17.1/255.255.255.0 (notice the 
> matching subnet declaration).  I then use the range option to tell it 
> that I only want .100-200 served as dynamic addresses.  If you have more 
> than one IP in different subnets on the interface, or if more than one 
> IP range lives on the same subnet, you'll want to tell dhcpd.conf abotu 
> that too (there's a SHARED-NETWORK option or somethign like that for 
> telling it about subnets on the same physical network that you're not 
> actually a member of IP wise, man dhcpd.conf for more info on that).
> 
> Hope this helps.
> 
> --MonMotha
> 
> _______________________________________________
> LUAU mailing list
> LUAU at videl.ics.hawaii.edu
> http://videl.ics.hawaii.edu/mailman/listinfo/luau
> 




More information about the LUAU mailing list