最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

ping, ping6 (icmp, icmpv6)

IT圈 admin 20浏览 0评论

ping, ping6 (icmp, icmpv6)

选项:

I interface address

              Set source address to specified interface address. Argument may be numeric IP address or name of  device.  When  pinging  IPv6
              link-local address this option is required.  如果ping6则必须设置。



举例:

ping6 -I eth2 fe80::20c:29ff:fe0f:aa4a

PING fe80::20c:29ff:fe0f:aa4a(fe80::20c:29ff:fe0f:aa4a) from fe80::20c:29ff:fe0f:aa4a eth2: 56 data bytes

64 bytes from fe80::20c:29ff:fe0f:aa4a: icmp_seq=1 ttl=64 time=0.061 ms

64 bytes from fe80::20c:29ff:fe0f:aa4a: icmp_seq=2 ttl=64 time=0.006 ms


ping6 ::1
PING ::1(::1) 56 data bytes

64 bytes from ::1: icmp_seq=0 ttl=64 time=0.021 ms


wireshark用icmpv6过滤查看。

ping, ping6 (icmp, icmpv6)

选项:

I interface address

              Set source address to specified interface address. Argument may be numeric IP address or name of  device.  When  pinging  IPv6
              link-local address this option is required.  如果ping6则必须设置。



举例:

ping6 -I eth2 fe80::20c:29ff:fe0f:aa4a

PING fe80::20c:29ff:fe0f:aa4a(fe80::20c:29ff:fe0f:aa4a) from fe80::20c:29ff:fe0f:aa4a eth2: 56 data bytes

64 bytes from fe80::20c:29ff:fe0f:aa4a: icmp_seq=1 ttl=64 time=0.061 ms

64 bytes from fe80::20c:29ff:fe0f:aa4a: icmp_seq=2 ttl=64 time=0.006 ms


ping6 ::1
PING ::1(::1) 56 data bytes

64 bytes from ::1: icmp_seq=0 ttl=64 time=0.021 ms


wireshark用icmpv6过滤查看。

发布评论

评论列表 (0)

  1. 暂无评论