UC-7400-LX Plus User’s Manual
Managing Communications
4-28
Step 4: Run the tun6to4.sh script to activate the 6to4 tunnel. You will be assigned a new
IPv6-based IP address.
61.56.74.14
root@Moxa:~# /etc/init.d/tun6to4.sh start
Creating tunnel interface...
Setting tunnel interface up...
Assigning 2002:3d38:4a0e::1/16 address to tunnel interface...
Assigning ::96 address to (local lan interface)...
Adding route to IPv6 internet on tunnel interface via relay...
root@Moxa:~# ifconfig tun6to4
tun6to4 Link encap:IPv6-in-IPv4
inet6 addr: 2002:3d38:4a0e::1/16 Scope:Global
inet6 addr: ::61.56.74.14/128 Scope:Compat
UP RUNNING NOARP MTU:1472 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@Moxa:~#
Step 5: Test the 6to4 tunnel with the ping6 command to see if the remote server can echo the
PING response. If receive the echo, then the IPv6-to-IPv4 tunnel has been successfully
established.
61.56.74.14
root@Moxa:~# Moxa:~#
ping6 2002:3cea:4272::1
PING 2002:3cea:4272::1(2002:3cea:4272::1) 56 data bytes
64 bytes from 2002:3cea:4272::1: icmp_seq=1 ttl=64 time=213 ms
64 bytes from 2002:3cea:4272::1: icmp_seq=2 ttl=64 time=213 ms
root@Moxa:~#