From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 20:50:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EE06106566B for ; Sun, 10 Jan 2010 20:50:08 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-ma04.mx.aol.com (imr-ma04.mx.aol.com [64.12.206.42]) by mx1.freebsd.org (Postfix) with ESMTP id D5C628FC13 for ; Sun, 10 Jan 2010 20:50:07 +0000 (UTC) Received: from imo-ma04.mx.aol.com (imo-ma04.mx.aol.com [64.12.78.139]) by imr-ma04.mx.aol.com (8.14.1/8.14.1) with ESMTP id o0AKnour020342; Sun, 10 Jan 2010 15:49:50 -0500 Received: from samankaya@netscape.net by imo-ma04.mx.aol.com (mail_out_v42.5.) id w.d34.63a6f99a (37096); Sun, 10 Jan 2010 15:49:48 -0500 (EST) Received: from [172.16.1.52] (mail.reformkurumsal.com [212.156.209.87]) by cia-db07.mx.aol.com (v127.7) with ESMTP id MAILCIADB076-90e84b4a3d67175; Sun, 10 Jan 2010 15:49:44 -0500 Message-ID: <4B4A3D66.5010603@netscape.net> Date: Sun, 10 Jan 2010 22:49:42 +0200 From: Kaya Saman User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: Vince Hoffman References: <4B49D937.9050902@netscape.net> <4B4A3C15.7030806@unsane.co.uk> In-Reply-To: <4B4A3C15.7030806@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 212.156.209.87 X-Mailer: Unknown (No Version) X-Spam-Flag: NO X-AOL-SENDER: samankaya@netscape.net Cc: freebsd-questions@freebsd.org Subject: Re: Possible to run 2 instances of Bind DNS server in jails?? 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: Sun, 10 Jan 2010 20:50:08 -0000 Vince Hoffman wrote: > The only bit I'm not certain on is dedicating a nic to a jail (more > because I havent tried than because I believe it cant be done, I'd > expect that the network stack virtualization in 8+ should allow this.) > You can most definately run seperate instances of applications in > jails. I'd recomend subscribing to the freebsd-jails mailing list > (http://lists.freebsd.org/mailman/listinfo/freebsd-jail) for jail > specific questions as I've only dabbled with them a little. But a 10 > second example > > [root@seaurchin ~]# jls > JID IP Address Hostname Path > 1 10.20.0.3 womble /var/jails/womble > 2 10.20.0.2 foobar /var/jails/foobar > [root@seaurchin ~]# jexec 1 ps ax > PID TT STAT TIME COMMAND > 8166 ?? SsJ 0:06.69 /usr/sbin/syslogd -s > 8231 ?? SsJ 1:00.94 sendmail: accepting connections (sendmail) > 8235 ?? IsJ 0:00.92 sendmail: Queue runner@00:30:00 for > /var/spool/client > 8241 ?? SsJ 0:08.55 /usr/sbin/cron -s > 79334 ?? IsJ 0:00.06 /usr/sbin/named -u bind > 79559 0 R+J 0:00.00 ps ax > [root@seaurchin ~]# jexec 2 ps ax > PID TT STAT TIME COMMAND > 8504 ?? IsJ 0:01.15 sendmail: Queue runner@00:30:00 for > /var/spool/client > 8510 ?? SsJ 0:08.35 /usr/sbin/cron -s > 79447 ?? IsJ 0:00.07 /usr/sbin/named -u bind > 79584 0 R+J 0:00.00 ps ax > > Hope that helps > > > Vince > > Thanks Vince! That really helps a lot :-) Will check the jails mailing list out and see what I can discover regarding the NICs....... Regards, Kaya