IPv6 on FreeBSD 6.2

From Secure Computing Wiki
Revision as of 18:11, 26 June 2007 by Ecrist (Talk | contribs) (New page: After seeing the recommendation from ARIN that everyone adopt IPv6 [http://www.arin.net/announcements/20070521.html], I decided to see what it would take to implement it on my network here...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

After seeing the recommendation from ARIN that everyone adopt IPv6 [1], 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 Block

The 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:

  1. Create a gif interface.
  2. Setup tunnel endpoints.
  3. Assign IPv6 address to interface.
  4. 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