From owner-freebsd-questions@FreeBSD.ORG Mon Jul 7 17:55:44 2008 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 19EAF1065681 for ; Mon, 7 Jul 2008 17:55:44 +0000 (UTC) (envelope-from jwm-freebsd-questions@sentinelchicken.net) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 98CC38FC24 for ; Mon, 7 Jul 2008 17:55:42 +0000 (UTC) (envelope-from jwm-freebsd-questions@sentinelchicken.net) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 07 Jul 2008 13:55:42 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id KBX98881; Mon, 7 Jul 2008 13:55:37 -0400 (EDT) Received: from 207-172-209-180.c3-0.bkl-ubr2.sbo-bkl.ma.static.cable.rcn.com (HELO sentinelchicken.net) ([207.172.209.180]) by smtp01.lnh.mail.rcn.net with ESMTP; 07 Jul 2008 13:55:31 -0400 Received: (qmail 96024 invoked from network); 7 Jul 2008 17:54:40 -0000 Received: from aeryn.skepsi.net (HELO crichton.skepsi.net) (10.0.0.101) by aeryn.skepsi.net with SMTP; 7 Jul 2008 17:54:40 -0000 Received: (nullmailer pid 96021 invoked by uid 1000); Mon, 07 Jul 2008 17:54:40 -0000 Date: Mon, 7 Jul 2008 13:54:40 -0400 From: Jason Morgan To: FreeBSD Questions Message-ID: <20080707175440.GA95976@sentinelchicken.net> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Junkmail-Status: score=10/50, host=mr08.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A010206.48725899.0064,ss=1,fgs=0, ip=207.172.4.11, so=2007-10-30 19:00:17, dmn=5.4.3/2008-02-01 X-Junkmail-IWF: false Subject: Re: Jails and IP Aliasing 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: Mon, 07 Jul 2008 17:55:44 -0000 Hello, On 2008.07.07 09:51:33, David Allen wrote: > Unless I'm losing my mind, I'm encountering what seems to yet another > gotcha with jails. The following has been dumbed down for clarity and > brevity. > > --------------------------------------------------------------------- > # hostname > jailhost.example.org > > # host jailhost > jailhost.example.org has address 10.0.1.2 > > # ifconfig fxp0 > fxp0: flags=8843 metric 0 mtu 1500 > options=b > ether 00:07:e9:c8:2e:32 > inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255 > inet 10.0.1.3 netmask 0xffffffff broadcast 10.0.1.3 > inet 10.0.1.4 netmask 0xffffffff broadcast 10.0.1.4 > media: Ethernet autoselect (100baseTX ) > status: active This is the output for my jail interface. Notice that your jail aliases are broadcasting on the jail's IP. I don't know if this is an issue or not (my jails run on i386 FBSD 6.3), but it's something to look at. How are you setting the aliases? sk0: flags=8843 mtu 1500 options=b inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 inet 10.0.0.101 netmask 0xffffff00 broadcast 10.0.0.255 inet 10.0.0.201 netmask 0xffffff00 broadcast 10.0.0.255 ether xx:xx:xx:xx:xx:xx media: Ethernet autoselect (1000baseTX ) status: active Cheers, ~Jason