Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2004 23:24:23 +0900 (JST)
From:      Hideki Yamamoto <yamamoto436@oki.com>
To:        freebsd-stable@freebsd.org, freebsd-ipfw@freebsd.org
Subject:   Re: IPv6 bridge + gif tunnel
Message-ID:  <20041114.232423.71097254.yamamoto436@oki.com>
In-Reply-To: <20041107.061547.71182690.yamamoto436@oki.com>
References:  <20041104.015341.71171019.yamamoto436@oki.com> <20041107.061547.71182690.yamamoto436@oki.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

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 <yamamoto436@oki.com>
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?
> 
> > <<STEP2>> 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       |
> >                            |  +-----------------------------+
> >                            |
> >                      <IPv4 router>                           
> >                            |
> >                            |  +-------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
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20041114.232423.71097254.yamamoto436>