Monday, August 12, 2013

Creating a IPv6 Tunnel on Mac OS X

Maybe I was bored. I am not really sure why I got the bug up my ass to setup a Ipv6 tunnel but I did. Why IPv6, well it's 2 more than IPv4 so it has to be awesome right. Well I think my thought process was/is not many people are using IPv6 yet so it's like a empty highway right
There is also security and blah blah blah, insert marketing verbiage here.

First I checked with my ISP maybe there was a outside chance they offered IPv6 without charge. No go, they don't have anything going for IPv6 in my area and they will get to it when they feel like it kind of thing.
Next checked my cable router just in case. Yes there was a IPv6 option but it did nothing to turn it on, on the WAN side.

This is where tunneling comes in. So I am passing my IPv6 traffic to a provider. Hmmm interesting. So I tried it out.

I chceked out www.tunnelbroker.net. They offer a free IPv6 tunnel. Ok sound interesting.
The setup:
- signed up for a account
- Clicked create a tunnel.
- Selected the end point nearest to me

went to the terminal as root
>ifconfig gif0 create
ifconfig gif0 tunnel 192.168.1.2 XXX.XXX.XXX.XXX
ifconfig gif0 inet6 0000:000:0:ff7::2 0000:000:o:ff7::1 prefixlen /64
route -n add -inet6 default 0000:000:0:ad7::1

And like magic I was on the interweb with IPv6.
> ping6 google.com
.............................
.............................
gtg

So now what? Not many site are IPv6 enabled yet so... not much. Big thing Google is and I send a lot of traffic there way.

No comments:

Post a Comment