From owner-freebsd-net@FreeBSD.ORG Tue Dec 23 10:23:57 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 449BB16A4CE for ; Tue, 23 Dec 2003 10:23:57 -0800 (PST) Received: from phoenix.gargantuan.com (rrcs-se-24-73-171-238.biz.rr.com [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAFFE43D5A for ; Tue, 23 Dec 2003 10:23:53 -0800 (PST) (envelope-from michael@gargantuan.com) Received: from localhost (localhost.gargantuan.com [127.0.0.1]) by spamassassin-injector (Postfix) with SMTP id 997EE60C; Tue, 23 Dec 2003 13:23:52 -0500 (EST) Received: by phoenix.gargantuan.com (Postfix, from userid 1001) id 584B2609; Tue, 23 Dec 2003 13:23:40 -0500 (EST) Date: Tue, 23 Dec 2003 13:23:40 -0500 From: "Michael W. Oliver" To: Ian Smith Message-ID: <20031223182340.GA81289@gargantuan.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Personal-Email: michael@gargantuan.com X-WWW-Site: http://michael.gargantuan.com X-GPG-Public-Key: $X-WWW-Site/gnupg/pubkey.asc X-Home-Phone: +1-863-816-8091 X-Mobile-Phone: +1-863-738-2334 X-Home-Address: 8008 Apache Lane, Lakeland, FL, US 33810-2172 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on phoenix.gargantuan.com X-Spam-Level: X-Spam-Status: No, hits=-104.2 required=5.0 tests=AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=2.60 cc: freebsd-net@freebsd.org Subject: Re: bridge with access on both interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 18:23:57 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 24, 2003 at 04:38:32AM +1100, Ian Smith wrote: > Hello net crew, [...] > In short, ifconfig appears unwilling to have two NICs covering the same > /24. Can this be set up? I'm also at a bit of a loss with the routing, > so inside packets to the bridge box (ie unbridged packets) are responded > to on the same interface, and outside unbridged packets go only to/from > the gw. Some tcpdumps on both in and outside interfaces suggest an ARP > response problem also, perhaps; no responses on the inside iface at all. You can't have two interfaces within the same IP subnet, with the same mask, on one box. What you can do is configure the primary interface with the /24 mask, and then configure the other interface with a /32 mask. This is the same process that you would use to put two (or more) addresses from the same IP subnet on a single interface. Regarding the other stuff, if a particular service is configured to listen on any interface (noted by the "*.*" under "Local Address" in a netstat listing), then it should be available via either interface of the bridge, assuming that the bridge is configured correctly (sysctl's and such). What are your /etc/rc.conf settings with regards to the bridge configuration? --=20 Mike perl -e 'print unpack("u","88V]N=3D&%C=3D\"!I;F9O(&EN(&AE861E