OpenBSD

检查IPv6配置

在终端或shell窗口运行如下命令以检查IPv6是否已激活:

ping6 -c5 ::1

如果是以下结果(或类似):

$ ping6 -c5 ::1
PING6(56=40+8+8 bytes) ::1 --> ::1
16 bytes from ::1, icmp_seq=0 hlim=64 time=0.168 ms
16 bytes from ::1, icmp_seq=1 hlim=64 time=0.156 ms
16 bytes from ::1, icmp_seq=2 hlim=64 time=0.154 ms
16 bytes from ::1, icmp_seq=3 hlim=64 time=0.237 ms
16 bytes from ::1, icmp_seq=4 hlim=64 time=0.164 ms
--- localhost ping6 statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.154/0.176/0.237 ms

这意味着IPv6已经安装正确。你应该能看到"5 packets received"。

如果系统不能识别以上命令(或者返回错误信息),请按下一节的说明操作。

如何安装IPv6

OpenBSD 2.7及以后的版本,默认已经安装了IPv6。

The IPv6 Day is Organized and Supported by:



















Other Organizations:






webmaster

$StopWatch