On Saturday 22 July 2006 21:27, Mikhail Goriachev wrote:
> Instead of PF, you can control serving interfaces from /etc/rc.conf:
>
> dhcpd_ifaces="fxp0 rl0"

Sure, the dhcpd_ifaces variable instructs the rc script to add those 
interfaces as arguments to dhcpd. However, as I mentioned in the first post, 
dhcpd ignores those arguments and listens on all interfaces.

Currently, I have this in /etc/rc.conf:

dhcpd_enable="YES"
dhcpd_ifaces="fxp0 rl0"

The rc script works correctly. ps shows:

/usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf 
/var/db/dhcpd/dhcpd.leases -pf /var/run/dhcpd/dhcpd.pid -user 
dhcpd -group dhcpd fxp0 rl0

However, netstat shows that dhcpd is listening on all interfaces:

# netstat -nat | grep 67
udp4       0      0  *.67                   *.*

For me, that's no big deal. PF will make sure that no DHCP traffic will go 
through on the third interface.

Cheers,
--Serban Giuroiu
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to