加入收藏 | 设为首页 | 会员中心 | 我要投稿 | RSS
您当前的位置:首页 > 原创教程 > Linux系统管理

IPv6 With Linux

时间:2014-04-15 09:14:20  来源:  作者:

IPv6 has begun to pick up a bit of steam. What was once just fancy talk of the new Internet has now started to take shape and really become a focal point of the Internet. There are VPS (virtual private server) companies out there now that offer IPv6 only. One of the greatest (and possibly worst) aspects about this is that those with IPv4 only are not able to access such servers.

So, how do you know if you're running IPv6 (or have the ability to access IPv6 servers)? Well, one of the best places I've really found to do a quick test on this is http://ipv6-test.com/ This will tell you whether you have IPv6 or not.

It should be noted that adapters have, for the longest time now, been able to assign themselves an IPv6 address on the home network. For example, my eth0 shows this:

whereis ip
$ whereis ip ip: /sbin/ip /usr/sbin/ip /usr/share/man/man8/ip.8.gz /usr/share/man/man7/ip.7.gz

The output for me looks like this:

 

$ ifconfig eth0: flags=4163  mtu 1500         
inet 192.168.1.44  netmask 255.255.255.0  broadcast 192.168.1.255         
inet6 fe80::1e6f:65ff:fe80:33c7  prefixlen 64  scopeid 0x20         
ether 1c:6f:65:80:33:c7  txqueuelen 1000  (Ethernet)         
RX packets 471259  bytes 615471609 (586.9 MiB)         
RX errors 0  dropped 1  overruns 0  frame 0         
TX packets 249691  bytes 30981224 (29.5 MiB)         
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  
lo: flags=73  mtu 16436         inet 127.0.0.1  netmask 255.0.0.0         
inet6 ::1  prefixlen 128  scopeid 0x10         
loop  txqueuelen 0  (Local Loopback)         
RX packets 4646  bytes 1559747 (1.4 MiB)         
RX errors 0  dropped 0  overruns 0  frame 0         
TX packets 4646  bytes 1559747 (1.4 MiB)         
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

chmod +x ipv6.sh && ./ipv6.sh start eth0
来顶一下
返回首页
返回首页
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表
推荐资讯
在CentOS下搭建Android 开发环境
在CentOS下搭建Androi
轻松搭建属于自己的Ubuntu发行版
轻松搭建属于自己的Ub
利用SUSE Studio 打造自己的个性化Linux发行版
利用SUSE Studio 打造
那些采用PHP技术的IT大企业
那些采用PHP技术的IT大
相关文章
    无相关信息
栏目更新
栏目热门