Re: IPv6 bridge + gif tunnel

2004-11-14 Thread Hideki Yamamoto

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 [EMAIL PROTECTED]
Subject: Re: IPv6 bridge + gif tunnel
Date: Sun, 07 Nov 2004 06:15:47 +0900 (JST)
Message-ID: [EMAIL PROTECTED]

 
 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: [EMAIL PROTECTED]
Broadband Media Company  | Tel: +81-48-420-7012
Oki Electric Industry Co., Ltd.  | FAX: +81-48-420-7016
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPv6 bridge + gif tunnel

2004-11-06 Thread Hideki Yamamoto

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

From: Hideki Yamamoto [EMAIL PROTECTED]
Subject: IPv6 bridge + gif tunnel
Date: Thu, 04 Nov 2004 01:53:41 +0900 (JST)
Message-ID: [EMAIL PROTECTED]

 
 Hi,
 
 I am considering a network application test environments with FreeBSD
 boxes as following.  In the following, we show three step
 architectures.  This is an example for IPv6 VPN using IPv4 network.  I would
 like to use the IPv6 address assigned by IPv6 router on the remote the
 IPv6 terminal.  And the packets from/to IPv6 MC router, which supports 
 MLDv1 or v2 specification, are also transfered to/from the IPv6
 terminal.
 
 At the first step, I think it seems to be possible by using ipf bridge
 function.  I wonder if it is possible to implement the second step or
 later.  Are there any information about this issue?  Any information
 are welcomed.  Thanks in advance.
 
 STEP1 Simple IPv6 bridge
   +--box#1-+
   [IPv6 MC router ]-+-+-(fxp0) IPv6 bridge |
   ||
   ||
+--+-(bge0) IPv6 bridge |
|  ++
|
|term#1
+-[IPv6 terminal(NDP client)]
 
 
 STEP2 IPv6 bridge cascaded by gif tunnel
 
   +--box#2--+
   [IPv6 MC router ]-+-+-(fxp0) IPv6 bridge  |
   | |
   | |
+--+-(bge0) IPv6 bridge and IPv4 |
|  | (gif0) IPv6 over IPv4   |
|  +-+
|
  IPv4 router   
|
|  +---box#3-+
+--+-(bge1) IPv6 bridge and IPv4 |
   | (gif1) IPv6 over IPv4   |
   | |
   | |
   | |
+--+-(fxp0) IPv6 bridge  |
|  +-+
|
|term#2
+-[IPv6 terminal(NDP client)]
 
 
 STEP3 IPv6 bridge cascaded by gif tunnel with tun device
 
   +--box#4--+
   [IPv6 MC router ]-+-+-(fxp0) IPv6 bridge  |
   | |
   |