From owner-freebsd-net Tue Mar 23 23:33:33 1999 Delivered-To: freebsd-net@freebsd.org Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id 7082314D06 for ; Tue, 23 Mar 1999 23:33:30 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA09466; Wed, 24 Mar 1999 06:18:41 +0100 From: Luigi Rizzo Message-Id: <199903240518.GAA09466@labinfo.iet.unipi.it> Subject: Re: Problems and Questions to bridge To: mbretter@sbox.tu-graz.ac.at (Michael Bretterklieber) Date: Wed, 24 Mar 1999 06:18:40 +0100 (MET) Cc: freebsd-net@FreeBSD.ORG In-Reply-To: <99032408331102.00328@babsi.tu-graz.ac.at> from "Michael Bretterklieber" at Mar 24, 99 08:19:59 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1962 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi, > > I have the following scenario: > > PC1:192.168.0.238 PC2:192.168.0.96 > |---------| Bridge, FBSD3.1 |---------| > | | |-------------------| | | > | xl0|------|ed1 ed0|-------| | > | | |-------------------| | | > |---------| |---------| you need 3.1-stable, or at least patch /sys/i386/isa/if_ed.c to what is in -stable. By mistake i forgot to put in some pieces when i ported the bridging code to the 3.x branch and realized that only recently. cheers luigi > I configured the bridge as described in the manual: > sysctl -w net.link.ether.bridge=1 > sysctl -w net.link.ether.bridge_ipfw=1 > > Problem: I can't ping from PC1 to PC2 or from PC2 to PC1. > If I assign an IP-address to the bridge, > I can ping from PC1 to the bridge and from PC2 to the > bridge, but not through the bridge. > I use also ipfw on the bridge and here is the output: > > 00150 0 0 allow ip from any to any via lo0 > 00200 0 0 deny ip from any to 127.0.0.0/8 > 00300 87 10385 allow ip from any to any in recv ed0 > 00400 0 0 allow ip from any to any out xmit ed0 > 00500 54 4536 allow ip from any to any in recv ed1 > 00600 59 4908 allow ip from any to any out xmit ed1 > 65535 0 0 allow ip from any to any > > It seems that no packet go out through ed0! > > a) What I've done wrong? > > Thanx, > -- > \|/ > @ @ > +---------------------------oOO-(_)-OOo---------------------------+ > Michael Bretterklieber > Office: Michael.Bretterklieber@gamed.com > Privat: mbretter@sbox.tu-graz.ac.at > URL: http://www.sbox.tu-graz.ac.at/home/m/mbretter/ > +-----------------------------------------------------------------+ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message