SixXS::Sunset 2017-06-06

6to4 linux multiple tunnel setup
[sk] Shadow Hawkins on Sunday, 14 November 2010 16:11:22
I am currently experimenting with ipv6,6to4 and 6rd. I successfully created a static tunnel using iproute2(ip t add 6to4 mode sit remote xxx local xxx ...) and ipv6 works well on that machine. Now I wish to extend ipv6 to other Linux machines on my network, but the network is not ipv6 enabled so I wish to create a 6to4 gateway on each machine that will encapsulate and send packets to my static relay tunnel. I could do this by creating several static tunnels pointing to the relay but for my experiment, I wish the tunnels to be generated dynamically (they would find the relay on their own using the 192.88.99.1 anycast). Can anyone point me in the right direction?
6to4 linux multiple tunnel setup
[de] Shadow Hawkins on Monday, 15 November 2010 09:15:13
For IPv6 tunneling within a site ISATAP might be a more adequate solution. See: http://www.litech.org/isatap/
6to4 linux multiple tunnel setup
[de] Shadow Hawkins on Monday, 15 November 2010 09:35:00
other pointers: - http://isatap.org/ - http://en.wikipedia.org/wiki/ISATAP - http://www.saschahlusiak.de/linux/isatap.htm
6to4 linux multiple tunnel setup
[ch] Jeroen Massar SixXS Staff on Monday, 15 November 2010 15:29:53
Please note that you are creating protocol 41 tunnels. 6to4 uses protocol 41 packets, but uses the IPv4 address embedded in the IPv6 address to figure out what the remote IPv4 endpoint of the tunnel is.
but the network is not ipv6 enabled
Why is the network not IPv6 enabled, what stops you?
I wish the tunnels to be generated dynamically
If you use true 6to4 then tunnels are created 'automatically' as the IPv4 address is taken out of the IPv6 address, you will have to use the IPv4 address of every host in the IPv6 address though, and then you get per host a /48.
6to4 linux multiple tunnel setup
[sk] Shadow Hawkins on Monday, 15 November 2010 17:20:42
Nothing really stops me from implementing ipv6, as the hardware probably can be updated if I invest enough time in it. But that is not a problem, I currently wish to experiment with 6to4 tunnels and want to try creating a few tunnels (got two testing Fedora 13 machines, want to make a dynamic tunnel on each) that will automatically find the 6to4 relay using the anycast address, but I haven't figured out yet how to do it. I probably want something like "ip tunnel add 6to4 mode sit remote any local x.x.x.x", but I am unsure how to configure the relay to accept the 192.88.99.1 anycast or if any form of special configuration is needed, but so far my experiments failed. Take note that I am a newbie to this so I do not know the exact kung-fu, but I wish to learn as it will surely come in handy in the coming years.

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker