DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 1st November 2008
zelut zelut is offline
Port Guard
 
Join Date: Oct 2008
Posts: 11
Default dhcpd within ezjail?

I've not been able to get dhcpd working properly within a jail. I have a number of other jails setup, but dhcpd doesn't seem to respond to any requests.

It will start up and the process is active in top, etc. When I have another client ask for an address however nothing happens. No output in the logs regarding dhcpd either.

I have this in my jail /etc/rc.conf:
Code:
## 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" # runs w/o privileges?
dhcpd_withuser="dhcpd" # user name to run as
dhcpd_withgroup="dhcpd" # group name to run as
dhcpd_chroot_enable="NO" # runs chrooted?
dhcpd_devfs_enable="NO" # use devfs if available?
#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've also got the following in my dhcpd.conf:

Code:
option domain-name "domain.tld";
option domain-name-servers 192.168.0.13;
default-lease-time 600;
max-lease-time 7200;

authoritative;
ddns-update-style none;

subnet 192.168.0.0 netmask 255.255.255.0 {
  range 192.168.0.20 192.168.0.29;
  option domain-name-servers 192.168.0.13;
  option domain-name "domain.tld";
  option routers 192.168.0.1;
  option broadcast-address 192.168.0.255;
  default-lease-time 6000;
  max-lease-time 7200;
}
thanks in advance
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd, vista and wlan hamba FreeBSD Ports and Packages 5 8th September 2009 04:34 PM
dhcpd and dns sputnik OpenBSD General 8 8th May 2009 02:50 PM
ezjail /usr/home users and groups question neurosis FreeBSD Security 7 8th September 2008 08:40 PM
Jails, ezjail, apache, very newbie question. neurosis FreeBSD General 15 23rd August 2008 01:38 PM
help for setting ezjail? bgobs FreeBSD General 13 15th June 2008 10:50 AM


All times are GMT. The time now is 04:55 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick