From owner-freebsd-stable@FreeBSD.ORG Wed Dec 19 13:44:26 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE46755D for ; Wed, 19 Dec 2012 13:44:26 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by mx1.freebsd.org (Postfix) with ESMTP id 2F1368FC13 for ; Wed, 19 Dec 2012 13:44:25 +0000 (UTC) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by dkim.mail.arcticgroup.se (Postfix) with ESMTP id B61131D0D2; Wed, 19 Dec 2012 14:44:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ismobile.com; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=selector1; bh=zUGsik0 7wT4F3GiJvLBDjRax89M=; b=YXZAnNxmA1LneD6n0XunT15JsWyBa6LfEx+AOmR Fwggr7A+aNZKnPEL2IkWQE4z9fuAYCXeUUEQFWGLPl5QldECwf351mB+PJIbFwfV 3hisDSDKuEFn9bd+706mZ1+kI6GG5EXwpBIWA2p1fmRX+62dPOverztOWHSkUD9v sP9s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=ismobile.com; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=selector1; b=h DlYImmT8nws5y1R2IQCUbAAadTUjNob9Cxsj2qerF/0Ky/2X4ByJS92aa/dJvrUs Hst6gtwQdL5u6rSjo0ILwQUyWpOfGpGaRAdVftB2tpU68xsBawqB8JWjnhpg8VMn m+tO+I+WlrMpnKdfo+/t1iX8FkQ4vZc9FTNXBQ8ob0= Received: from [172.16.2.50] (glz-macbookpro.hq.ismobile.com [172.16.2.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ismobile.com (Postfix) with ESMTPSA id 6C1281D03A; Wed, 19 Dec 2012 14:44:17 +0100 (CET) Date: Wed, 19 Dec 2012 14:44:18 +0100 From: =?UTF-8?Q?G=C3=B6ran_L=C3=B6wkrantz?= To: Harald Schmalzbauer Subject: Re: FIB and jail regression [Was: can't reach jails own ipv4 from inside anymore] Message-ID: <7CCE5A5478927C3E39258898@[172.16.2.50]> In-Reply-To: <50D1B7A2.5090909@omnilan.de> References: <50D1A2B2.6040204@omnilan.de> <50D1AB6A.402@omnilan.de> <50D1B7A2.5090909@omnilan.de> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 13:44:26 -0000 --On December 19, 2012 13:48:34 +0100 Harald Schmalzbauer wrote: > schrieb Harald Schmalzbauer am 19.12.2012 12:56 (localtime): >> ... >>> >>> I have more oddities I wanted to check with jails and lagg-interfaces >>> together with VLANs, but I have no idea why I can't connect from one >>> jail to it's own IP(v4) anymore! >> Found out that defining a different FIB causes that behaviour in 9.1. >> But using a different FIB doesn't caus the same in 8.2! > > Easiest way to reproduce: > > Just do a ping on the host (not jail) > > setfib 0 ping anyLocalIP -> works > setfib 1 ping anyLocalIP -> doesn't work > > Anybody with 9.1 and ROUTINGTABLES in custom kernel out there who can't > confirm that? > > Turned out that 9.0-stable from Feb. 2012 doesn't show that problem. > So this problem seems to be introdued between 9.0 and 9.1. > Thanks, > > -Harry > > Works for me: # uname -a FreeBSD 9.1-PRERELEASE r243951: Fri Dec 7 02:29:14 CET 2012 # sysctl -a | grep fib net.my_fibnum: 0 net.add_addr_allfibs: 1 net.fibs: 2 # ifconfig sis1 sis1: flags=8843 metric 0 mtu 1500 options=83808 ... inet 176.57.193.193 netmask 0xfffffff0 broadcast 176.57.193.207 .... media: Ethernet autoselect (100baseTX ) status: active # setfib 0 ping 176.57.193.193 PING 176.57.193.193 (176.57.193.193): 56 data bytes 64 bytes from 176.57.193.193: icmp_seq=0 ttl=64 time=0.497 ms 64 bytes from 176.57.193.193: icmp_seq=1 ttl=64 time=0.481 ms ^C --- 176.57.193.193 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.481/0.489/0.497/0.008 ms # setfib 1 ping 176.57.193.193 PING 176.57.193.193 (176.57.193.193): 56 data bytes 64 bytes from 176.57.193.193: icmp_seq=0 ttl=64 time=0.912 ms 64 bytes from 176.57.193.193: icmp_seq=1 ttl=64 time=0.650 ms ^C --- 176.57.193.193 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.650/0.781/0.912/0.131 ms I have no kernel with both VIMAGE and ROUTINGTABLES so can test that, this has ROUTINGTABLES 2 /glz