[Dnsmasq-discuss] Fully replace isc dhcpd?

Jay Guerette jayguerette at gmail.com
Fri Mar 16 03:23:28 GMT 2007


> I use dnsmasq to setup simple single subnet networks.. but I can I use
> to replace Isc with 20+ subnets and a few shared-networks?
>
> <snip>
>
> I have something like 3500+ lines in dhcpd config.  As well as
> netbios-node-type and netbios-name-servers.
>
> Or is something of this size just better done w/ Isc?
> I would be looking to do this to learn more about dhcpd.
> We would be running this on FreeBSD 6.x

I'm a recent convert to  dnsmasq from dhcpd. Your setup, no matter the
size, should be fairly straightforward; something like:

# set up named ranges
dhcp-range=lan1,10.0.1.10,10.0.1.250,255.255.255.0,12h
dhcp-range=lan2,10.0.2.10,10.0.2.250,255.255.255.0,12h
dhcp-range=lan3,10.0.3.10,10.0.3.250,255.255.255.0,12h
dhcp-range=lan4,10.0.4.10,10.0.4.250,255.255.255.0,12h

# set up static reservations
dhcp-host=00:50:2C:05:14:BB,printer01,10.0.1.10
dhcp-host=00:01:02:70:56:A4,printer02,10.0.2.10
dhcp-host=00:11:1A:53:91:98,printer03,10.0.3.10
dhcp-host=00:0C:41:66:34:8A,printer04,10.0.4.10

# per-lan configuration is easy, just specify a named lan
# configure default routes
dhcp-option=lan1,3,10.0.1.1
dhcp-option=lan2,3,10.0.2.1
dhcp-option=lan3,3,10.0.3.1
dhcp-option=lan4,3,10.0.4.1

# and global configuration is just as easy
# configure DNS server
dhcp-option=6,10.0.0.1



More information about the Dnsmasq-discuss mailing list