[KLUG Members] Firewall packages & DHCP related question.

Adam Williams members@kalamazoolinux.org
10 Jun 2002 05:50:54 -0400


>I started playing with "floppyfw" and was very impressed.  It meets all
>of my requirements quite nicely, but while reading some of the floppyfw
>howto's, I had the brilliant idea to add a 3rd NIC.  This is NOT for a
>DMZ to run servers from, but I want to attach my wireless access point
>to it's own subnet and protect my computers from any wireless attacks.
>The WAP would have internet access, but not access to my local LAN.
>Hacking a 3rd NIC into floppyfw was quite easy (thanks to the howto),
>but I now want to run a DHCP server on each of the two local NIC's.
>That's where I hit the snag.  It comes with "udhcpd", a mini DHCP
>server.  I cannot get it to run twice, once for each NIC, or to serve 
>up different info to the two NIC's.
>Anyone know a way to get udhcpd to serve up info for two subnets?  Or
>maybe I should try and replace udhcpd with the dhcpd that comes on
>Redhat, but the floppy free space is very limited.  Or maybe it's time
>to move on to Devil Linux . . .    Any thoughts?

Usage: dhcpd [-p <UDP port #>] [-d] [-f] [-cf config-file]
            [-lf lease-file] [if0 [...ifN]]

Did you try specifying different config an lease files -
dhcpd -cf /etc/dhcpd.eth0.conf -lf /tmp/lease.eth0 eth0
dhcpd -cf /etc/dhcpd-eth1.conf -lf /tmp/lease.eth1 eth1