Centos 5 and IPv6 (IPv6-in-IPv4 tunneling)
Step 1:
Register Account at Freenet6
Step 2:
Download Gateway6 Client
freenet6-6.0.1-1.src.rpm (166)Step 3:
Compile source rpm and install
# rpmbuild --rebuild freenet6-6.0.1-1.src.rpm # rpm -ivh /path/to/freenet6-6.0.1-1.x86_64.rpm
Step 4:
Configure
# vi /etc/gw6c.conf
edit
userid=user passwd=pass server=amsterdam.freenet6.net
Step 5:
Start freenet6 client
# /etc/init.d/freenet6 start
Step 6:
Check tunnel device with encapsulation IPv6-in-IPv4
# ifconfig
sit1 Link encap:IPv6-in-IPv4
inet6 addr: fe80::c0a8:7a01/64 Scope:Link
inet6 addr: fe80::ca7f:611e/64 Scope:Link
inet6 addr: 2001:5c0:1400:b::2e8d/128 Scope:Global
inet6 addr: fe80::ca7f:6166/64 Scope:Link
inet6 addr: fe80::ac11:183/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MTU:1280 Metric:1
RX packets:2948 errors:0 dropped:0 overruns:0 frame:0
TX packets:3475 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:387849 (378.7 KiB) TX bytes:2050953 (1.9 MiB)
Step 7:
Test it
# ping6 ipv6.google.com PING ipv6.google.com(tx-in-x68.google.com) 56 data bytes 64 bytes from tx-in-x68.google.com: icmp_seq=0 ttl=52 time=622 ms 64 bytes from tx-in-x68.google.com: icmp_seq=1 ttl=52 time=618 ms 64 bytes from tx-in-x68.google.com: icmp_seq=2 ttl=52 time=618 ms 64 bytes from tx-in-x68.google.com: icmp_seq=3 ttl=52 time=618 ms
done!
Tags: c, centos, compile, gcc, ipv6, linux, redhat, rpm, tunnel
