From owner-freebsd-ipfw@FreeBSD.ORG Sun Nov 14 14:24:27 2004 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 348A016A4D0 for ; Sun, 14 Nov 2004 14:24:27 +0000 (GMT) Received: from iscan1.intra.oki.co.jp (okigate.oki.co.jp [202.226.91.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 313D843D5A for ; Sun, 14 Nov 2004 14:24:25 +0000 (GMT) (envelope-from yamamoto436@oki.com) Received: from aoi.bmc.oki.co.jp (localhost.localdomain [127.0.0.1]) by iscan1.intra.oki.co.jp (8.9.3/8.9.3) with SMTP id XAA13247 for ; Sun, 14 Nov 2004 23:24:23 +0900 Received: (qmail 29490 invoked from network); 14 Nov 2004 23:24:23 +0900 Received: from tulip.bmc.oki.co.jp (172.19.234.100) by aoi.bmc.oki.co.jp with SMTP; 14 Nov 2004 23:24:23 +0900 Received: from localhost (tulip [172.19.234.100]) by tulip.bmc.oki.co.jp (8.13.1/8.12.11) with ESMTP id iAEEON8O015495; Sun, 14 Nov 2004 23:24:23 +0900 (JST) (envelope-from yamamoto436@oki.com) Date: Sun, 14 Nov 2004 23:24:23 +0900 (JST) Message-Id: <20041114.232423.71097254.yamamoto436@oki.com> To: freebsd-stable@freebsd.org, freebsd-ipfw@freebsd.org From: Hideki Yamamoto In-Reply-To: <20041107.061547.71182690.yamamoto436@oki.com> References: <20041104.015341.71171019.yamamoto436@oki.com> <20041107.061547.71182690.yamamoto436@oki.com> X-Mailer: Mew version 3.3 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: IPv6 bridge + gif tunnel X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 14:24:27 -0000 Hi, About the combination between bridge function and gif tunnel function, I have tested it on FreeBSD 4.10, but not succeeded. FreeBSD 4.10 box shows the message when we typed 'sysctl net.link.ether.bridge_cfg=rl0,gif0', gif0 is not an ethernet, continue interface gif0 Not found in bridge. I changed operating system from FreeBSD to OpneBSD 3.5, and succeeded. Multicast and unicast UDP packets, ICMP packets are bridged without losing packets. It seems that the bridge function on OpenBSD is better than FreeBSD. Though I will use OpenBSD for a while as a test tool, I hope OpenBSD bridge function will be ported into FreeBSD in the future. Does anyone have a plan to port it? Regards, Hideki Yamamoto. From: Hideki Yamamoto Subject: Re: IPv6 bridge + gif tunnel Date: Sun, 07 Nov 2004 06:15:47 +0900 (JST) Message-ID: <20041107.061547.71182690.yamamoto436@oki.com> > > Hi, > > I would like to make my problems clear. > I have two questions about bridge function in the following figure. > > (1) Can we use bridge function over psuedo devices such as > gif and tun? > > box3# ifconfig bge0 inet 133.149.0.2 netmask 255.255.255.0 > box2# ifconfig create gif0 > box2# gifconfig gif0 inet 133.149.0.2 133.149.1.2 > box2# sysctl net.link.ether.bridge: 1 > box2# sysctl net.link.ether.bridge_cfg: fxp0,gif0 > > box3# ifconfig bge1 inet 133.149.1.2 netmask 255.255.255.0 > box3# ifconfig create gif1 > box3# gifconfig gif1 inet 133.149.1.2 133.149.0.2 > box3# sysctl net.link.ether.bridge: 1 > box3# sysctl net.link.ether.bridge_cfg: gif1,fxp0 > > (2) Can any protocols go through between IPv6 MC router and > IPv6 terminal in this step2 figure? Are there any limitations? > Is IPv6 packet available? > > > <> IPv6 bridge cascaded by gif tunnel > > > > +------box#2------------------+ > > [IPv6 MC router ]-+---------+-(fxp0) IPv6 bridge | > > | | > > | | > > (IPv4)133.149.0.2 +--+-(bge0) IPv6 bridge and IPv4 | > > | | (gif0) IPv6 over IPv4 | > > | +-----------------------------+ > > | > > > > | > > | +-------box#3-----------------+ > > (IPv4)133.149.1.2 +--+-(bge1) IPv6 bridge and IPv4 | > > | (gif1) IPv6 over IPv4 | > > | | > > | | > > | | > > +--+-(fxp0) IPv6 bridge | > > | +-----------------------------+ > > | > > | term#2 > > +-----[IPv6 terminal(NDP client)] > > > > Thanks in advance > > Hidei Yamamoto > ----------------------------------------------------------------- Hideki YAMAMOTO | Broadband Media Solutions Department | E-mail: yamamoto436@oki.com Broadband Media Company | Tel: +81-48-420-7012 Oki Electric Industry Co., Ltd. | FAX: +81-48-420-7016