Date: Wed, 24 Mar 1999 06:18:40 +0100 (MET) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: mbretter@sbox.tu-graz.ac.at (Michael Bretterklieber) Cc: freebsd-net@FreeBSD.ORG Subject: Re: Problems and Questions to bridge Message-ID: <199903240518.GAA09466@labinfo.iet.unipi.it> In-Reply-To: <99032408331102.00328@babsi.tu-graz.ac.at> from "Michael Bretterklieber" at Mar 24, 99 08:19:59 am
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903240518.GAA09466>