From owner-freebsd-net@FreeBSD.ORG Thu Nov 20 11:52:52 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 743911065673 for ; Thu, 20 Nov 2008 11:52:52 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 239D08FC0C for ; Thu, 20 Nov 2008 11:52:52 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=oHmo/SjL+VlS3xbRW9dXogHSa8CbmSwxnjHwEWB3WgMDg6w2ZPOAmai/wgk8GYBkDbOTwTUFO2+ZaayofyGa2xGc1ZMFAgQf4NkNmUfkAFDnhFED+t3U2r+5cOf0QUsy5oGCYvIp5KW8Yii/0CljHSnNvfy/lL76rsoM2vf7xVw=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1L385a-0003oD-BD; Thu, 20 Nov 2008 14:52:50 +0300 Date: Thu, 20 Nov 2008 14:52:49 +0300 From: Eygene Ryabinkin To: Cole Message-ID: References: <002f01c94af4$ecbced90$c636c8b0$@net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Epv4kl9IRBfg3rk" Content-Disposition: inline In-Reply-To: <002f01c94af4$ecbced90$c636c8b0$@net> Sender: rea-fbsd@codelabs.ru Cc: freebsd-net@freebsd.org Subject: Re: FreeBSD Bridge and ARP question/strangeness X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2008 11:52:52 -0000 --4Epv4kl9IRBfg3rk Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Cole, good day. Thu, Nov 20, 2008 at 11:46:42AM +0200, Cole wrote: > I have a box with a few interfaces, and i had setup rl0 with an ip address > and it could communicate/ping everything on the network fine, all the rest > of the other interfaces are unplugged and have no ip's assigned. Now if i= go > ahead and create a bridge interface and then just add that single interfa= ce > with the ip assigned to it to the bridge, without assigning a new ip to t= he > bridge, i get some strange things happening. Every box on the network not > running FreeBSD is still able to ping and receive a reply from the box on > the ip it was using on the interface. However, no FreeBSD box is now able= to > ping the box at all. In the arp listing, it shows any of the FreeBSD boxes > that are trying to ping it as "(incomplete)". But for every other box that > isn't FreeBSD it gets a full arp listing and all those boxes are still ab= le > to communicate with the box fine. I think that the first thing to look at will be the tcpdump of the ARP traffic -- if your peers are seeing '(incomplete)' as the bridging host MAC, then it is good to check if ARP requests are received and are they replied to. 'tcpdump -lvvnetti rl0 arp' should produce the fine listing. And the output of 'ifconfig' and 'sysctl net.link.bridge' will be helpful too. --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual =20 )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook=20 {_.-``-' {_/ # --4Epv4kl9IRBfg3rk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkklT5EACgkQthUKNsbL7YgN1QCgnG5QJFD4SNQErkQ5Qmrt3Lz5 VYUAninFoYS+WBgKIhaIj/LY6BcNB0je =sQ2+ -----END PGP SIGNATURE----- --4Epv4kl9IRBfg3rk--