IPv6 on FreeBSD 6.2
After seeing the recommendation from ARIN that everyone adopt IPv6 , I decided to see what it would take to implement it on my network here.
The following are the steps I took to implement IPv6. Your mileage may vary.
Obtain IPv6 Address Block
The first thing I did was contact my ISP to see if they supported IPv6 natively on their network. Fortunately, the did. If you don't have an ISP that does, you can check out http://www.go6.net. Last I checked, they support IPv6 over IPv4 tunneling and will even delegate reverse DNS to your servers!
Route IPv6 Address BlockThe second hurdle I needed to jump was getting my address block routed to my systems. Unfortunately, I am stuck with a low-end DSL router, and, as such, it does not support the newest Internet Protocol addresses. The solution was to utilize a gif tunnel between my FreeBSD 6.2 gateway and my ISP's Cisco router. Note: I don't know what my ISP did with the router on their end to setup the tunnel.
On my end of the tunnel, I needed to perform the following series of commands:
- Create a gif interface.
- Setup tunnel endpoints.
- Assign IPv6 address to interface.
- Add route to routing table.
These commands look like the following:
ifconfig gif0 create ifconfig gif0 tunnel $ip4my_end $ip4ISP_end ifconfig gif0 inet6 $ip6my_end route add -inet6 default $ip6ISP_end