From owner-freebsd-questions@FreeBSD.ORG Tue Jun 5 02:42:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1307C16A400 for ; Tue, 5 Jun 2007 02:42:05 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by mx1.freebsd.org (Postfix) with ESMTP id B3CEA13C44B for ; Tue, 5 Jun 2007 02:42:04 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: by wr-out-0506.google.com with SMTP id 69so896441wra for ; Mon, 04 Jun 2007 19:42:04 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oOgyZqc9/hyMwRsHhmMGXaiuYFR3WXwxRmvTXA+Xg/MmeUJI5NpYr32KDID+yc6JB+4TIB2r4QSleHovvBRuUOwgk65SkpOIBGZsoaDaY3Q5jqJbUJ/cgQo5YndlGmiIPl7O9WMzp3OiUIsBUdtViDt+jvu11c7McFDotL2+B1k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tFDI6+Ulfs69n1I6rxKqQBkUt4sTSdyMCGA/j7ruqOaOfhEZVITC+5AJ5mhWTvFPTCKLXlya4riYJQG3BRJpzjQrS48O00lFn2JxH8xaTBXhcyMU5fL2FijJxCmwnuedkbvBk1xE2W0jF/u79tcITu6EwRkWXSgAl3Ql8nDAlck= Received: by 10.90.72.10 with SMTP id u10mr4414450aga.1181011323867; Mon, 04 Jun 2007 19:42:03 -0700 (PDT) Received: by 10.90.120.10 with HTTP; Mon, 4 Jun 2007 19:42:03 -0700 (PDT) Message-ID: <4d7dd86f0706041942o4397a46en4d2f1cb9e01ef27a@mail.gmail.com> Date: Tue, 5 Jun 2007 12:42:03 +1000 From: "David N" To: "FreeBSD-Questions Mailing List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070604113945.GA15154@schottelius.org> Subject: Re: isc-dhcp3-server in a jail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 02:42:05 -0000 On 05/06/07, Paul Fraser wrote: > On 6/4/07, Nico -telmich- Schottelius > wrote: > > What's the IP-number in your jail and what's it outside? > > > > I am not sure, whether broadcasts are delivered to the jails or not. > > > > Nico > > Hi Nico, > > The IP assigned to the host system is 192.168.72.250, with an alias > for 192.168.72.251. The jail is configured with the IP 192.168.72.251. > > -- > Regards, > > Paul Fraser > http://furyc0de.net/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > To get isc-dhcpd in a jail you need to give the jail access to /dev/bpf0 so you have to edit /etc/defaults/devfs.rules add to the end the unhide rules for bpf eg. [devfsrules_unhide_bpf=5] add path bpf0 unhide [devfsrules_dhcp_jail=6] add include $devfsrules_hide_all add include $devfsrules_unhide_basic add include $devfsrules_unhide_login add include $devfsrules_unhide_bpf then in your /etc/rc.conf add jail__defs_ruleset="devfsrules_dhcp_jail" and restart the jail. modify the configuration accordingly though =)