dhcpd possible within jail?
Christer Edwards
christer.edwards at gmail.com
Sat Nov 1 09:27:01 PDT 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-jail/attachments/20081101/fa4819c1/attachment.pgp
More information about the freebsd-jail
mailing list