From owner-freebsd-jail@FreeBSD.ORG Wed Oct 1 12:16:13 2008 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EED01065686 for ; Wed, 1 Oct 2008 12:16:13 +0000 (UTC) (envelope-from prvs=11607a9d0c=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 187728FC19 for ; Wed, 1 Oct 2008 12:16:12 +0000 (UTC) (envelope-from prvs=11607a9d0c=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1222862182; x=1223466982; q=dns/txt; h=Received: Message-ID:From:To:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=NiH7sF6kUz1zREJypI/IH 438/QZ4ys2s/idqv51F6A4=; b=X/Rx64ZaBFCbEcruYcdI+700tG6BhTpPRorWV E7298fU6tzoUSswQXB2ipji1aYYOqLfZA4D5gvZarLqcpVUvgpmMnJBq66lOCymX SybSIl1YDnvvcTS6uxK96ulPgy9JwqtCz4jUohkVkzp0SiWfQ9afPX6Zdrqh8oZZ /7pD6g= X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-14.7 required=6.0 tests=BAYES_00, FORGED_MUA_OUTLOOK, USER_IN_WHITELIST,USER_IN_WHITELIST_TO autolearn=ham version=3.1.8 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v9.6.6) with ESMTP id md50006271792.msg for ; Wed, 01 Oct 2008 12:56:21 +0100 X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 85.236.106.102 X-Return-Path: prvs=11607a9d0c=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-jail@freebsd.org Message-ID: From: "Steven Hartland" To: "Sami Halabi" , References: Date: Wed, 1 Oct 2008 12:56:14 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Spam-Processed: mail1.multiplay.co.uk, Wed, 01 Oct 2008 12:56:21 +0100 X-MDAV-Processed: mail1.multiplay.co.uk, Wed, 01 Oct 2008 12:56:22 +0100 Cc: Subject: Re: Multiple IPS - Freebsd 7.1 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 12:16:13 -0000 I would dearly like to see this make the 7.1 release, multi IP's in order to support backend interfaces in jails, is something that we hit against all the time. Regards Steve ----- Original Message ----- From: "Sami Halabi" To: Sent: Wednesday, October 01, 2008 12:21 PM Subject: Multiple IPS - Freebsd 7.1 > hi everyone, > > I saw a lot of messages about this so here is it - i just patched it (took > me a day but okay :) > > i just downloaded the latest src using this sup file - cvsup: > http://www.royalshells.com/download/freebsd/stable-supfile > > # cvsup stable-supfile > > > i applied the following patch (which i changed to get to work with the > current src): > http://www.royalshells.com/download/freebsd/bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff > > to patch do: > # cd /usr/src > # patch -p6 < bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff > > after done re-compile the kernel: > # cp /usr/src/sys/netinet/in_pcb.h /usr/include/netinet/ > # cp /usr/src/sys/sys/jail.h /usr/include/sys/ > > clean obj dir: > ------------------- > # rm -Rf /usr/obj/* > > compile jail and jls: > ---------------------------- > # cd /usr/src/usr.sbin/jail/ > # make clean && make depend && make install > # cd /usr/src/usr.sbin/jls/ > # make clean && make depend && make install > > compile the kernel: > ----------------------------- > # cd /usr/src > # make buildworld > # make buildkernel KERNCONF=GENERIC > # make installworld > # make installkernel KERNCONF=GENERIC > # mergemaster -U > > after reboot: > # uname -a > FreeBSD server.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Sep 30 > 20:03:00 UTC 2008 root@34.loyalness.com:/usr/obj/usr/src/sys/GENERIC > i386 > # > > check the patch: > # jail > usage: jail [-hi] [-n jailname] [-J jid_file] [-s securelevel] [-l -u > username | -U username] path hostname [ip[,..]] command ... > # > > Enjoy. > > Sami > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" > ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.