close

refer:

6to4

FreeBSD supports automatic 6to4-tunnelling with the stf tunnel-interface. Setting up a 6to4 tunnel requires several steps on the command line.

Beforehand, you need the following information:

$6to4
6to4/IPv6-prefix of the host (see 6to4 Details: Creating the prefix for instructions).

Create the interface:ifconfig stf0 createSet up the 6to4/IPv6-endpoint of the tunnel:ifconfig stf0 inet6 $6to4 prefixlen 16 aliasSet the (IPv6) default route on the public 6to4 anycast address:route add -inet6 default 2002:c058:6301::

example:

ipv4 :211.1.1.100  ipv6 : 2002:d301:164::d301:164/16  ==>211.1.1.100 == d3 01 01 64 (hex code)

ifconfig stf0 create

ifconfig stf0 inet6  2002:d301:164::d301:164/16 up

route add -inet6 default 2002:c058:6301::  ==>(relay router ip : 192.88.99.1)

 

 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 yves2005 的頭像
    yves2005

    YvEs2005

    yves2005 發表在 痞客邦 留言(0) 人氣()