From owner-freebsd-questions Fri Jul 7 8:35:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from eagle.prod.itd.earthlink.net (eagle.prod.itd.earthlink.net [207.217.120.24]) by hub.freebsd.org (Postfix) with ESMTP id CC32637BFAF for ; Fri, 7 Jul 2000 08:35:09 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0828.cvx21-bradley.dialup.earthlink.net [209.179.195.63]) by eagle.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id IAA18981; Fri, 7 Jul 2000 08:35:03 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id IAA00382; Fri, 7 Jul 2000 08:33:26 -0700 (PDT) Date: Fri, 7 Jul 2000 08:32:45 -0700 From: "Crist J. Clark" To: Simon Roockley Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Bridging Message-ID: <20000707083245.A316@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <4.3.2.7.1.20000707103250.00a889b0@pop3.forward-comp.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <4.3.2.7.1.20000707103250.00a889b0@pop3.forward-comp.co.uk>; from simonr@forward-comp.co.uk on Fri, Jul 07, 2000 at 10:33:00AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jul 07, 2000 at 10:33:00AM +0100, Simon Roockley wrote: > I am trying to set up bridging on a FreeBSD 4.0 machine. > > option BRIDGE has been added to the kernal config New kernel built and installed after the change, right? > net.link.ether.bridge=1 added to the /etc/sysctl.conf file > > On one end of the bridge (ep0) are devices with address XXX.XXX.0.XXX > netmask 255.255.0.0 > and on the other end of the bridge (ep1) are devices with the ip address of > XXX.XXX.50.XXX netmask 255.255.255.0 If you are bridging, forget about netmasks, they are meaningless. One thing I like to do to help me "think right" about the bridge (and not think routing) is to only put an IP address on one of the interfaces. > If either ep0 or ep1 are given address of XXX.XXX.50.XXX devices on both > sides can ping and telnet to that > address but not each other. > > Am I missing out anything obvious ? Are the clients on either side of the bridge configured properly? From the limited information you provided, it looks like all of the client machines should have a netmask of 0xffff0000, and the clients all have the correct default gateway which is _not_ the bridge, right? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message