[6bone] Two IPv6 Hosts Communicating over IPv4 network

Chen Zhigao zgchen@psl.com.sg
Tue, 10 Dec 2002 21:04:20 +0800


Thanks for all of ur advice. Because our network is behind a NAT server, the
two IPv6 hosts might not be assigned global IPv4 addresses so as to act as
tunnel endpoints. Someone told me the Teredo protocol can tunnel IPv6 over
UDP through NAT. So I get some new questions. Hope to hear from you.

1) Is there any Teredo implementation available for Linux?
2) How would it affect the normal 6-over-4 tunneling? Any different
configuration?
3) With 6-over-4 tunneling, IPv4 router, especially the subnet router, and
IPv6 host can not interpret each other's ICMP packets, e.g. router
solicitation/advertisement. Guess I shall implement a module to convert
ICMPv4 and ICMPv6. Am I correct?

Look forward to your reply and suggestion. Many thanks.

Zhigao


-----Original Message-----
From: 6bone-admin@mailman.isi.edu [mailto:6bone-admin@mailman.isi.edu]On
Behalf Of Stephane Bortzmeyer
Sent: Monday, December 09, 2002 10:25 PM
To: Chen Zhigao
Cc: 6bone@mailman.isi.edu
Subject: Re: [6bone] Two IPv6 Hosts Communicating over IPv4 network


On Mon, Dec 09, 2002 at 10:04:30PM +0800,
 Chen Zhigao <zgchen@psl.com.sg> wrote
 a message of 26 lines which said:

> I guess IPv6/ICMPv6 packets must be converted to IPv4/ICMPv4 packets

No: too complicated to do it in the kernel, semantics too different,
too many things can go wrong.

> What I want is a IPv6 over IPv4 tunneling.

Yes. Just set up a tunnel.

> 1) Has such work been implemented in Linux or other OS?

Yes. On each side (the syntax is Debian, YMMV):

auto tun1
iface tun1 inet6 v4tunnel
   endpoint 213.248.x.y
   address 2001:6c0:x:y:z
   netmask 127
   # Not mandatory but could be useful (BGP...) Use traceroute to see
   # the length of the tunnel (9 in my case)
   up ip tunnel change tun1 ttl 9

> 3) Does my scenario need to connect to 6bone, since only two IPv6 hosts
are
> involved?

No.

> 4) Anything else need to be done apart from conversion of IP/ICMP?

Do not do it. Just tunnel IPv6 over IPv4.

> Any suggestion and comment are highly appreciated.

Check the firewall, too: you need to authorize protocol 41 (IPv6 into
IPv4).
_______________________________________________
6bone mailing list
6bone@mailman.isi.edu
http://mailman.isi.edu/mailman/listinfo/6bone