Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/mdaeo.org/usr/plugins/AMP/Action.php on line 388
如何在Linux环境下查看IPv6地址?

如何在Linux环境下查看IPv6地址?

2011-01-26T10:24:34

对于Linux环境,可以使用ifconfig命令来查看IPv6的地址和工作情况,具体命令为:

[root@localhost net]# ifconfig –a

 

        该命令输出结果举例如下

            eth0   Link encap:Ethernet  HWaddr 00:E0:81:B1:2B:1E

          inet addr:X.X.X.X  Bcast:X.X.X.X  Mask:255.255.255.128

          inet6 addr: 2001:da8:8007:1:2e0:81ff:feb1:2b1e/64Scope:Global

          inet6 addr: fe80::2e0:81ff:feb1:2b1e/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:254532256 errors:0 dropped:0 overruns:0 frame:0

          TX packets:244110437 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:3737272748 (3.4 GiB)  TX bytes:2766824028 (2.5 GiB)

          Interrupt:233

当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »
因本文不是用Markdown格式的编辑器书写的,转换的页面可能不符合MIP标准。