Date: Tue, 23 Dec 2003 13:23:40 -0500 From: "Michael W. Oliver" <michael@gargantuan.com> To: Ian Smith <smithi@nimnet.asn.au> Cc: freebsd-net@freebsd.org Subject: Re: bridge with access on both interfaces Message-ID: <20031223182340.GA81289@gargantuan.com> In-Reply-To: <Pine.BSF.3.96.1031224025136.14168A-100000@gaia.nimnet.asn.au> References: <Pine.BSF.3.96.1031224025136.14168A-100000@gaia.nimnet.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--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<G,*");' --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/6IgssWv7q8X6o8kRAhX/AJ9snXPT+HA0TxfmjYZactq6Y84BQQCgglwH 9nhobVTp7THy+mNuBGBfhaI= =EgmX -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031223182340.GA81289>