6to4 within DO on Ubuntu

April 21, 2014 1.4k views
I need to get IPv6 connectivity to my droplet up and running and I figured I'd use 6to4 for a quick and easy setup. Ubuntu 14.04 makes it easy. In the interfaces file: auto tun6to4 iface tun6to4 inet6 6to4 local 162.243.xx.xx (IP of eth0) mtu 1480 Nice and simple. :) interface: 25: tun6to4: mtu 1480 qdisc noqueue state UNKNOWN group default link/sit 162.243.xx.xx brd inet6 2002:a2f3:xxxx::1/16 scope global valid_lft forever preferred_lft forever route entry: 2000::/3 via :: dev tun6to4 metric 1024 I *receive* any packets going to 2002:a2f3:xxxx::/16 but outgoing packets don't get to their destination. I've checked a packet capture and yes, the outgoing packets are correctly formed. Has anyone else had luck?
3 Answers
I'm pretty sure that /etc/interfaces config is enough. Try setting up a 6to4 tunnel as described in this tutorial: http://www.anyweb.co.nz/tutorial/Linux6to4Host.

Let me know how it goes!
@Kamal that tutorial is old and no longer applies to Ubuntu 14.04 which has the ability to accomplish the same thing solely with the snippet I pasted in my question.
Have another answer? Share your knowledge.