I recently set up a few jails for internal network services (sshd, bind,
dhcpd, etc.)  The only issue I have so far is that dhcpd doesn't seem to
work within the jail env.  It appears to start properly, and the process
shows in top, but no leases are ever given out.

I have the following in my jail /etc/rc.conf:

## dhcpd options
dhcpd_enable="YES"
dhcpd_flags="-q"
dhcpd_conf="/usr/local/etc/dhcpd.conf"
dhcpd_ifaces="hme0"
dhcpd_withumask="022"

dhcpd_chuser_enable="YES"
dhcpd_withuser="dhcpd"
dhcpd_withgroup="dhcpd"
dhcpd_chroot_enable="NO"
dhcpd_devfs_enable="NO"
#dhcpd_makedev_enable="YES"
dhcpd_rootdir="/var/db/dhcpd"
dhcpd_includedir=""
#dhcpd_jail_enable="YES"
dhcpd_hostname="hostname.domain.tld"
dhcpd_ipaddress="192.168.0.13"
 
I have also allowed raw_sockets from the host (unless there is another
way to accomplish this).

If anyone can tell me what I'm missing, or if its simply a jail
limitation I'd appreciate it.

thanks in advance,
christer

Attachment: pgphomIdAj9Rq.pgp
Description: PGP signature

Reply via email to