IPv6, just for fun!

原创 2004年12月30日 21:09:00

# traceroute6 www.6bone.net
traceroute to 6bone.net (2001:5c0:0:2::24) from 3ffe:321f:0:525::1, 30 hops max, 16 byte packets
1 3ffe:3200::9 (3ffe:3200::9) 17.927 ms 12.379 ms 18.241 ms
2 backup.ipv6.net.edu.cn (3ffe:3200::2) 16.137 ms 16.776 ms 15.762 ms
3 3ffe:2b00:500:2c::2 (3ffe:2b00:500:2c::2) 525.088 ms 523.628 ms 537.893 ms
4 tu-0.viagenie.mlpsca01.us.b6.verio.net (2001:418:0:4000::26) 479.759 ms 442.372 ms 441.983 ms
5 3ffe:b00:c18:1::1 (3ffe:b00:c18:1::1) 475.668 ms 475.701 ms 475.876 ms
6 www.6bone.net (2001:5c0:0:2::24) 516.658 ms 476.343 ms 477.029 ms
-------------------------------------------------
#traceroute www.6bone.net
traceroute to 6bone.net (209.71.226.24), 30 hops max, 38 byte packets
1 xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) 0.332 ms 5.045 ms 0.323 ms
2 xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) 0.621 ms 0.682 ms 0.553 ms
3 210.43.146.125 (210.43.146.125) 0.691 ms 0.522 ms 0.560 ms
4 210.43.146.5 (210.43.146.5) 0.919 ms 0.726 ms 0.766 ms
5 202.112.53.213 (202.112.53.213) 12.923 ms 2.182 ms 2.080 ms
6 bjcd3.cernet.net (202.112.46.161) 13.671 ms 9.869 ms 9.507 ms
7 202.112.61.197 (202.112.61.197) 12.701 ms 9.719 ms 9.768 ms
8 202.112.61.34 (202.112.61.34) 210.741 ms 209.512 ms 208.044 ms
9 sl-gw10-hk-11-0.sprintlink.net (203.222.39.157) 206.988 ms 208.358 ms 204.920 ms 10 sl-bb21-hk-2-1.sprintlink.net (203.222.38.47) 208.520 ms 214.165 ms 212.232 ms
11 sl-bb24-sj-0-3.sprintlink.net (144.232.8.217) 388.573 ms 382.812 ms 391.084 ms
12 sl-bb25-sj-15-0.sprintlink.net (144.232.3.218) 393.157 ms 393.785 ms 392.492 ms 13 sl-bb22-sj-12-0.sprintlink.net (144.232.3.209) 393.881 ms 394.198 ms 400.750 ms 14 sl-bb22-rly-11-0.sprintlink.net (144.232.20.187) 478.523 ms 519.525 ms 662.978 ms 15 sl-bb26-rly-12-0.sprintlink.net (144.232.14.174) 449.615 ms 470.806 ms 463.488 ms 16 sl-st21-ash-11-0.sprintlink.net (144.232.20.134) 514.742 ms 458.815 ms 471.815 ms 17 sl-deutsche-5-0.sprintlink.net (144.223.246.70) 460.628 ms 497.855 ms 460.490 ms 18 217.239.40.78 (217.239.40.78) 493.289 ms 493.951 ms 473.424 ms
19 62.159.61.254 (62.159.61.254) 422.116 ms 434.238 ms 430.717 ms
20 ATM7-0-103.WANB-NYCMNY.IP.GROUPTELECOM.NET (66.59.191.61) 433.951 ms 429.128 ms 443.283 ms
21 POS6-0.WANB-MTRLPQ.IP.GROUPTELECOM.NET (216.18.63.198) 468.136 ms 466.506 ms 462.706 ms
22 h216-18-72-73.gtcust.grouptelecom.net (216.18.72.73) 465.921 ms 478.913 ms 472.319 ms
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
 30 * * *
--------------------------------------------------
# ping6 www.6bone.net PING
www.6bone.net(www.6bone.net) 56 data bytes
64 bytes from www.6bone.net: icmp_seq=2 ttl=59 time=527 ms
64 bytes from www.6bone.net: icmp_seq=3 ttl=59 time=500 ms
64 bytes from www.6bone.net: icmp_seq=4 ttl=59 time=536 ms
64 bytes from www.6bone.net: icmp_seq=5 ttl=59 time=479 ms
64 bytes from www.6bone.net: icmp_seq=6 ttl=59 time=494 ms
64 bytes from www.6bone.net: icmp_seq=7 ttl=59 time=493 ms
--- www.6bone.net ping statistics ---
7 packets transmitted, 6 received, 14% packet loss, time 5998ms rtt min/avg/max/mdev = 479.873/505.366/536.968/20.171 ms
-------------------------------------------------
Now, let's try a multicast address
(note:All Routers Addresses:
FF01:0:0:0:0:0:0:2
FF02:0:0:0:0:0:0:2
FF05:0:0:0:0:0:0:2
The above 3 multicast addresses identify the group of all IPv6 routers, within scope 1 (node-local), 2 (link-local), or 5 (site-local))
---------------------------
FF01:0:0:0:0:0:0:2 node-local routers
# ping6 -c 3 ff01::1
PING ff01::1(ff01::1) 56 data bytes --- ff01::1
ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms
-------------------------------------------
Note: When pinging IPv6 link‐local address option "-I" is required, or it'll complain about "connect: Invalid argument".
---------------------------------------
FF02:0:0:0:0:0:0:2 link-local routers
# ping6 -I sit1 -c 3 FF02::2
 PING FF02::2(ff02::2) from fe80::cac4:33da sit1: 56 data bytes --- FF02::2 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms
Of course ,“inet6 addr: fe80::cac4:33da/64 Scope:Link” is my sit1's link-local address. ::1 is the loopback address.
------------------------------------------
FF05:0:0:0:0:0:0:2 site-local router
# ping6 -c 3 FF05::2
connect: Cannot assign requested address
-------------------------------------
All Nodes Addresses: FF01:0:0:0:0:0:0:1
FF02:0:0:0:0:0:0:1
 The above multicast addresses identify the group of all IPv6 nodes, within scope 1 (node-local) or 2 (link-local).
--------------------------
# ping6 -c 3 FF01::1
PING FF01::1(ff01::1) from ::1 sit1: 56 data bytes --- FF01::1 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1998m
 ------------------------
#ping6 -I sit1 -c 3 FF02::1
 PING FF02::1(ff02::1) from fe80::cac4:33da sit1: 56 data bytes
 64 bytes from ::1: icmp_seq=1 ttl=64 time=0.066 ms
64 bytes from fe80::ca26:6309: icmp_seq=1 ttl=64 time=23.6 ms (DUP!)
64 bytes from ::1: icmp_seq=2 ttl=64 time=0.055 ms
64 bytes from fe80::ca26:6309: icmp_seq=2 ttl=64 time=48.0 ms (DUP!)
64 bytes from ::1: icmp_seq=3 ttl=64 time=0.054 ms
--- FF02::1 ping statistics --- 3 packets transmitted, 3 received, +2 duplicates, 0% packet loss, time 2001ms rtt min/avg/max/mdev = 0.054/14.370/48.002/19.142 ms
Is this the way to find all IPv6 nodes in link-local if packets all not blocked and responded, not sure! And who's fe80::ca26:6309?
------------
#ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx inet addr:xxx.xxx.xxx.xxx         Bcast:XXXX.XXXX.XXXX.255 Mask:255.255.255.0
        inet6 addr: fe80::2xx:xxff:fexx:xxxx/64 Scope:Link
        UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX         packets:115628 errors:43 dropped:0 overruns:0 frame:43 TX packets:13735
        errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX         bytes:13467437 (12.8 MiB) TX bytes:1069253 (1.0 MiB) Interrupt:177 Base         address:0x8000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0         inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1         RX packets:4334 errors:0 dropped:0 overruns:0 frame:0 TX packets:4334 errors:0         dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:304444 (297.3 KiB)
        TX bytes:304444 (297.3 KiB) sit1 Link encap:IPv6-in-IPv4 inet6 addr: xxxx:xxxx:0:xxxx::x/128  Scope:Global --my IPv6 addr
        inet6 addr: fe80::cac4:33da/128 Scope:Link UP POINTOPOINT RUNNING NOARP
        MTU:1480 Metric:1 RX packets:2424 errors:0 dropped:0 overruns:0 frame:0 TX
        packets:2146 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX
        bytes:2255577 (2.1 MiB) TX bytes:293730 (286.8 KiB) vmnet8 Link encap:Ethernet
        HWaddr 00:50:56:C0:00:08 inet addr:172.16.212.1 Bcast:172.16.212.255
        Mask:255.255.255.0 inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link UP
        BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0
        dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) 
------------------
# tracepath www.6bone.net
1: xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) 0.155ms pmtu 1500 ---my ip, omited
1: xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) 5.189ms --gateway ip, omitted
2: 210.43.146.97 (210.43.146.97) asymm 36 2.758ms
3: 210.43.146.125 (210.43.146.125) 2.463ms
4: 210.43.146.5 (210.43.146.5) 2.137ms
5: 202.112.53.213 (202.112.53.213) 7.895ms
6: bjcd3.cernet.net (202.112.46.161) 13.973ms
7: 202.112.61.197 (202.112.61.197) asymm 8 15.869ms
8: 202.112.61.34 (202.112.61.34) asymm 9 200.454ms
9: sl-gw10-hk-11-0.sprintlink.net (203.222.39.157) asymm 10 199.265ms
10: sl-bb21-hk-2-1.sprintlink.net (203.222.38.47) asymm 11 203.073ms
11: sl-bb24-sj-0-3.sprintlink.net (144.232.8.217) asymm 12 376.037ms
12: sl-bb25-sj-15-0.sprintlink.net (144.232.3.218) asymm 13 376.483ms
13: sl-bb22-sj-12-0.sprintlink.net (144.232.3.209) asymm 14 382.428ms
14: sl-bb22-rly-11-0.sprintlink.net (144.232.20.187) asymm 15 435.451ms
15: sl-bb26-rly-12-0.sprintlink.net (144.232.14.174) asymm 16 442.295ms
16: sl-st21-ash-11-0.sprintlink.net (144.232.20.134) asymm 17 438.933ms
17: sl-deutsche-5-0.sprintlink.net (144.223.246.70) asymm 15 441.557ms
18: 217.239.40.78 (217.239.40.78) asymm 17 467.039ms
19: 62.159.61.254 (62.159.61.254) asymm 22 424.879ms
20: ATM7-0-103.WANB-NYCMNY.IP.GROUPTELECOM.NET (66.59.191.61) asymm
21 427.091ms
21: POS6-0.WANB-MTRLPQ.IP.GROUPTELECOM.NET 216.18.63.198) asymm 26 454.253ms
22: h216-18-72-73.gtcust.grouptelecom.net 216.18.72.73) asymm 25 449.843ms
23: no reply
24: no reply
25: no reply
26: no reply
27: no reply
28: no reply
29: no reply
30: no reply
31: no reply
Too many hops: pmtu 1500 Resume: pmtu 1500
------------
# tracepath6 www.6bone.net
1?: [LOCALHOST] pmtu 1480 1: 3ffe:3200::9 19.569ms
2: backup.ipv6.net.edu.cn 20.729ms 3: backup.ipv6.net.edu.cn asymm 2 20.359ms pmtu 1280
3: 3ffe:2b00:500:2c::2 asymm 9 695.570ms
4: tu-0.viagenie.mlpsca01.us.b6.verio.net asymm 3 615.156ms
5: 3ffe:b00:c18:1::1 asymm 6 651.834ms
6: no reply
7: no reply
8: no reply
9: no reply
10: no reply
11: no reply
12: no reply
13: no reply
14: no reply
15: no reply
16: no reply
17: no reply
18: no reply
19: no reply
20: no reply
21: no reply
22: no reply
23: no reply
24: no reply
25: no reply
26: no reply
27: no reply
28: no reply
29: no reply
30: no reply
31: no reply
Too many hops: pmtu 1280 Resume: pmtu 1280
----------------------------
#ping6 www.6bone.net
#tcpdump -t -n -i eth0 -s 512 -vv  proto ipv6
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 512 bytes
IP (tos 0x0, ttl  30, id 0, offset 0, flags [DF], length: 124) aaa.aaa.aaa.aaa> bbb.bbb.bbb.bbb: 3ffe:321f:0:525::1 > 2001:5c0:0:2::24: [icmp6 sum ok] icmp6: echo request seq 1 (len 64, hlim 64)
IP (tos 0x0, ttl  23, id 0, offset 0, flags [DF], length: 124) bbb.bbb.bbb.bbb >aaa.aaa.aaa.aaa: 2001:5c0:0:2::24 > 3ffe:321f:0:525::1: [icmp6 sum ok] icmp6: echo reply seq 1 (len 64, hlim 59)
------------------------------------------------
#host -t AAAA www.kame.net
www.kame.net has AAAA address 2001:200:0:8002:203:47ff:fea5:3085

As Mozilla in my debian supports IPv6(I can't remember version), so just put
http://[2001:200:0:8002:203:47ff:fea5:3085]/
in mozilla's address bar and press Enter, u'll see a dancing kame :-)
----------------------
# nmap -6 ::1

Starting nmap 3.75 ( http://www.insecure.org/nmap/ ) at 2004-12-30 22:22 CST
Interesting ports on ip6-localhost (::1):
(The 1662 ports scanned but not shown below are in state: closed)
PORT   STATE SERVICE
22/tcp open  ssh
Nmap run completed -- 1 IP address (1 host up) scanned in 0.180 seconds
------------------------------------
Gossip:
In fact, I was editing this page in linux, when it was finished and I refreshed this page but only to find that the line feed has missing. Oh , it looks  badly since all sentences are all in one single paragraph. Let me think.... Is it the reason that in windows is“/0x0d/0x0a”but in linux is “/0x0a”(Not to mention “0x0d”in Mac)?As when I posted my article, the content was sent to csdn, but was processed by a ASP server running on windows platform,  so it spoiled my page.  Next time maybe I should write a shell script to try to solve this problem when I rebooted into linux again !

游戏设计(just for fun)

(不定期更新) 游戏里有许多设计,维持了游戏的生命力,应该带来一些启发1.金币回收系统 游戏运营一段时间后,玩家通过各种渠道获得金币,为了避免通货膨胀,减少流通货币,避免通货膨胀,实现玩家...
  • spring_3_shine
  • spring_3_shine
  • 2016年09月09日 23:39
  • 106

Just For Fun:智力题【1】

小明和小强都是张老师的学生,张老师的生日是M月N日,2人都知道张老师的生日 是下列10组中的一天,张老师把M值告诉了小明,把N值告诉了小强,张老师问他们知道他的生日是那一天吗? 3月4日 3月5日...
  • u013700658
  • u013700658
  • 2014年05月22日 22:09
  • 441

计算机之旅(just for fun)(未完)

未经允许,拒绝转载   这篇文章综合了目前我在编译原理,linux内核,以及其它涉及计算机方面的认识。推荐书籍:UTL(深入理解linux内核),龙书,linkers and loaders,以及一...
  • jggyyhh
  • jggyyhh
  • 2017年01月03日 14:59
  • 318

【玲珑学院OJ1065】Just for Fun(模拟)

题目链接 对于这题。。我也是服的。 迷之题意。 输入并没有说是整数。wa了几发。 后来用double 又wa了几发。。 没想到爆了double 的精度。 就只能用字符串。 然而输入会有前...
  • oranges_c
  • oranges_c
  • 2016年11月27日 16:39
  • 99

大神教你如何渗透自己的电脑--just for fun

转自:http://kansara744.blogspot.com/2015/06/hack-windows-pc-using-kali-linux.html HACK WINDOWS PC U...
  • albertjone
  • albertjone
  • 2016年10月11日 21:08
  • 1405

一个简单的ShellCode执行器&代码(just for fun)

最近看到有个问题:如何做到在程序运行时读入并执行一段代码 这是很容易做到的,能够运行是因为冯·诺依曼结构中程序和数据并没有本质区别. 其实完全没有必要读入代码运行,动态链接库完全可以胜任这方面...
  • gigzhu
  • gigzhu
  • 2014年11月13日 23:12
  • 727

什么是Just In Time编译器?

1. 什么是Just In Time编译器? Hot Spot 编译 当 JVM 执行代码时,它并不立即开始编译代码。这主要有两个原因: 首先,如果这段代码本身在将来只会被执行一次,那么从本质上...
  • YZWDNN
  • YZWDNN
  • 2017年05月15日 01:40
  • 1020

just proxy 代理工具 上谷歌google 2016年最新

just proxy 代理工具 上谷歌google 2016年最新 高速上YouTube Facebook
  • u010430099
  • u010430099
  • 2016年04月01日 18:25
  • 2746

Erlang中的fun函数使用详解

先看一个Erlang的规定:在Eralng中,同一个模块中的两个函数,如果她们同名但是它们的目(arity)不同,这样的两个函数被认为是完全不同的两个函数。通常情况下,这样的函数被用作辅助函数。   ...
  • sunjiangangok
  • sunjiangangok
  • 2017年04月10日 10:25
  • 632

RxJava之just源码解读

上一节我们主要讲了from的实现的原理,这讲我们主要分析的是just的源码 废话不多说,直接进入主题。我们主要分析的是just的实现原理,subscribe的方法,我在这里不多解析,因为在前两章中,...
  • yuanbing1988
  • yuanbing1988
  • 2016年10月21日 05:25
  • 266
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:IPv6, just for fun!
举报原因:
原因补充:

(最多只允许输入30个字)