2013年1月23日 星期三

[IPV6][Ubuntun] How to set IPV6 address and ping IPv6 address


1. Assign IPv6 address
Good@Good-laptop:~$ sudo ifconfig eth0  inet6 add 2001:1::3001/64

2. Ping  IPv6 address
Good@Good-laptop:~$ ping6 2001:1::2009
PING 2001:1::2009(2001:1::2009) 56 data bytes
64 bytes from 2001:1::2009: icmp_seq=1 ttl=64 time=6.75 ms
64 bytes from 2001:1::2009: icmp_seq=2 ttl=64 time=0.256 ms
64 bytes from 2001:1::2009: icmp_seq=3 ttl=64 time=0.293 ms
64 bytes from 2001:1::2009: icmp_seq=4 ttl=64 time=0.249 ms
64 bytes from 2001:1::2009: icmp_seq=5 ttl=64 time=0.292 ms
64 bytes from 2001:1::2009: icmp_seq=6 ttl=64 time=0.250 ms
^C
--- 2001:1::2009 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4999ms

rtt min/avg/max/mdev = 0.249/1.349/6.757/2.418 ms
Good@Good-laptop:~$

Reference :

0 意見:

張貼留言