Linux下相关IPv6协议的命令

网络 网络管理
本文针对linux系统下的IPv6协议的安装和地址查看两方面进行了详细的叙述。其中列举了操作过程中重要的命令部分,希望对大家有所帮助。

对于Linux系统的IPv6协议相关安装和测试来说是比较复杂的。需要在模块上面加载命令进行配置和调试现在我们就来介绍一下这方面的具体情况吧。首先我们来对linux下安装ipv6协议进行一个介绍。

◆Linux下安装IPv6协议

Linux的内核版本需要在2.2.0以上,以RedLinux9 0系统为例,可以使用下面的命令来加载IPv6协议模块:

  1. [root@localhost net]# modprobe ipv6 

如果已经成功安装了IPv6协议模块,可以通过检查一下/proc/net/if_inet6文件是否存在即可,例如:

  1. [root@localhost net]# more if_inet6  
  2.  
  3. 00000000000000000000000000000001 01 80 10 80 lo  
  4.  
  5. 20010da88007000102e081fffeb12b1e 02 40 00 00 eth0  
  6.  
  7. fe8000000000000002e081fffeb12b1e 02 40 20 80 eth0 

◆Linux环境下IPv6协议地址的查看

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

  1. [root@localhost net]# ifconfig –a 

该命令输出结果举例如下:

  1. eth0Link encap:EthernetHWaddr 00:E0:81:B1:2B:1E  
  2.  
  3. inet addr:X.X.X.XBcast:X.X.X.XMask:255.255.255.128  
  4.  
  5. inet6 addr: 2001:da8:8007:1:2e0:81ff:feb1:2b1e/64 Scope:Global  
  6.  
  7. inet6 addr: fe80::2e0:81ff:feb1:2b1e/64 Scope:Link  
  8.  
  9. UP BROADCAST RUNNING MULTICASTMTU:1500Metric:1  
  10.  
  11. RX packets:254532256 errors:0 dropped:0 overruns:0 frame:0  
  12.  
  13. TX packets:244110437 errors:0 dropped:0 overruns:0 carrier:0  
  14.  
  15. collisions:0 txqueuelen:1000  
  16.  
  17. RX bytes:3737272748 (3.4 GiB)TX bytes:2766824028 (2.5 GiB)  
  18.  
  19. Interrupt:233 

在linux系统下进行这两步IPv6协议的操作后,我们就可以通过一个世纪的网站测试一下它的连通性了。

责任编辑:佟健 来源: csdn.net
相关推荐

2010-06-07 12:14:49

IPV6协议地址

2010-06-08 17:30:56

IPv6协议栈

2010-06-01 13:52:03

IPv6协议路由协议

2019-06-05 15:43:34

IPV6IPV4网站

2010-06-12 14:34:52

ipv6协议

2010-05-27 11:51:04

IPv6协议

2010-06-21 15:18:19

IPv6协议栈

2010-05-26 14:02:02

Mobile IPv6

2010-05-26 15:06:44

IPv6协议栈

2010-06-01 16:34:06

IPv6协议

2010-06-07 10:24:51

安装IPv6协议

2010-06-28 15:57:23

IPv6协议标准

2010-06-01 15:36:35

IPv6协议技术

2010-05-26 13:49:45

移动IPv6协议

2010-05-26 17:44:55

IPv6协议

2010-07-01 15:27:30

安装IPv6协议

2010-05-26 17:39:28

IPv6协议

2010-06-07 16:58:51

linuxIPv6协议栈

2010-06-28 10:46:57

JBossIPv6协议

2010-05-27 11:47:38

点赞
收藏

51CTO技术栈公众号