Setup for 6to4 Tunnel configuration

Table of Contents

IPv4 Dot Decimal to Hex Converter

Go here for a tool for converting IPv4 addresses into Hex code.

Linux Setup

To setup a 6to4 tunnel on linux run the following ip commands substituting your IPv4 address in place of the one used below.

  • Note: C0A80102? is 192.168.1.2 in Hex.
  • Note: You must use a routable IPv4 address, we are only using a reserved address here as an example

# IPv6 6to4 Tunnel setup
ip tunnel add tun6to4 mode sit ttl 80 remote any local 192.168.1.2
ip link set dev tun6to4 up
ip -6 addr add 2002:C0A8:0102::1/16 dev tun6to4
ip -6 route add 2000::/3 via ::192.88.99.1 dev tun6to4 metric 1

-- TerrenceMartin - 19 Mar 2007


This topic: UCSDTier2 > WebHome > WebTopicList > IPvSixToFourTunnelSetup
Topic revision: r1 - 2007/03/19 - 22:10:34 - TerrenceMartin
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback