[oracle@sv0379 ~]$ /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:E0:81:BC:4B:08
inet addr:10.12.3.25 Bcast:10.12.3.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:81ff:febc:4b08/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:116463330 errors:2 dropped:0 overruns:0 frame:2
TX packets:81661705 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27692720357 (25.7 GiB) TX bytes:24081769784 (22.4 GiB)
Memory:fbbe0000-fbc00000
eth1 Link encap:Ethernet HWaddr 00:E0:81:BC:4B:09
inet addr:10.12.12.92 Bcast:10.12.12.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:81ff:febc:4b09/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:107784267 errors:1 dropped:0 overruns:0 frame:1
TX packets:90471061 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:53428846210 (49.7 GiB) TX bytes:13325639414 (12.4 GiB)
Memory:fbae0000-fbb00000
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:6826913 errors:0 dropped:0 overruns:0 frame:0
TX packets:6826913 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:141081961152 (131.3 GiB) TX bytes:141081961152 (131.3 GiB)
[oracle@sv0379 ~]$
[bdc_cs@sv0378 portalclient]$ ping6 -I eth0 fe80::2e0:81ff:febc:4b08 ##注意ping6后的参数是 -I 是大写的i 。
PING fe80::2e0:81ff:febc:4b08(fe80::2e0:81ff:febc:4b08) from fe80::2e0:81ff:febc:4ad8 eth0: 56 data bytes
64 bytes from fe80::2e0:81ff:febc:4b08: icmp_seq=0 ttl=64 time=0.208 ms
64 bytes from fe80::2e0:81ff:febc:4b08: icmp_seq=1 ttl=64 time=0.246 ms
64 bytes from fe80::2e0:81ff:febc:4b08: icmp_seq=2 ttl=64 time=0.245 ms
未认真考证win7下 ping 向linux
E:\>ping 2001:203::113
正在 Ping 2001:203::113 具有 32 字节的数据:
来自 2001:203::113 的回复: 时间<1ms
来自 2001:203::113 的回复: 时间<1ms
来自 2001:203::113 的回复: 时间<1ms
来自 2001:203::113 的回复: 时间<1ms
2001:203::113 的 Ping 统计信息:
数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
往返行程的估计时间(以毫秒为单位):
最短 = 0ms,最长 = 0ms,平均 = 0ms
E:\>ping -6 2001:203::113
正在 Ping 2001:203::113 具有 32 字节的数据:
来自 2001:203::113 的回复: 时间<1ms
来自 2001:203::113 的回复: 时间<1ms
来自 2001:203::113 的回复: 时间<1ms
来自 2001:203::113 的回复: 时间<1ms
2001:203::113 的 Ping 统计信息:
数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
往返行程的估计时间(以毫秒为单位):
最短 = 0ms,最长 = 0ms,平均 = 0ms
E:\>