Re: Tunnel between two IPv6 islands in an IPv4 ocean?
Rick Thomas wrote:
What would be the "Debian way" to set up a tunnel between two routers
running Debian to connect two IPv6 islands in an otherwise IPv4 ocean?
To be a bit more specific:
There are two groups of us in my University who are experimenting with
IPv6. The rest of the University is entirely IPv4.
Each of these groups has gotten themselves a tunneled router
connection to the IPv6 backbone outside the University, and we can
communicate using IPv6 by going out to the backbone and back into the
University via these two tunnels.
But that seems overly cumbersome. It would be great if we could
connect the two groups directly with an IPv6 on IPv4 tunnel that never
leaves the University. If possible, I'd like to use two Debian
machines to do this. Does anybody know how/if it can be done?
It's very easy.
Here an example /etc/network/interfaces extract:
auto ipv6tun
iface ipv6tun inet6 v4tunnel
address 2001:770:119:1::2
netmask 64
endpoint 10.15.30.2
ttl 64
up ip link set mtu 1280 dev ipv6tun
up ip route add ::/0 via 2001:770:119:1::1 dev ipv6tun
The other side obviously would be the opposite:
auto ipv6tun
iface ipv6tun inet6 v4tunnel
address 2001:770:119:1::1
netmask 64
endpoint 10.15.172.10
ttl 64
up ip link set mtu 1280 dev ipv6tun
up ip route add ::/0 via 2001:770:119:1::2 dev ipv6tun
Kind regards,
Martin List-Petersen
--
Communication is the beginning of understanding
-- AT&T
Reply to: