ILD

电信猫开启ipv6支持
作者:Yuan Jianpeng 邮箱:yuanjp89@163.com
发布时间:2019-6-20 站点:Inside Linux Development

打开光猫的管理页面,用户名username,密码:nE7jA%5m,进入internet连接配置页面,选择连接名称如下图,IP模式选择IPv4&IPv6,IPv6信息选择默认。


然后查看Ubuntu的接口信息,发现有IPv6地址:

eno1      Link encap:Ethernet  HWaddr 74:d4:35:19:8f:9c  

          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0

          inet6 addr: 240e:fa:c60e:f500:896b:240:7ab3:b6a4/64 Scope:Global

          inet6 addr: fe80::6b31:7e2d:2e3d:f84f/64 Scope:Link

          inet6 addr: fd3e:da8a:bd79:0:3323:9c07:548a:719f/64 Scope:Global

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

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

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

          collisions:0 txqueuelen:1000 

          RX bytes:157059800 (157.0 MB)  TX bytes:304943523 (304.9 MB)

          Interrupt:20 Memory:f0400000-f0420000 


然后进入测试网站测试http://www.test-ipv6.com/index.html.zh_CN


ping上海交大的IPv6站点:

$ ping6 ipv6.sjtu.edu.cn

PING ipv6.sjtu.edu.cn(2001:da8:8000:1::80) 56 data bytes

64 bytes from 2001:da8:8000:1::80: icmp_seq=1 ttl=38 time=258 ms

64 bytes from 2001:da8:8000:1::80: icmp_seq=2 ttl=38 time=251 ms

64 bytes from 2001:da8:8000:1::80: icmp_seq=3 ttl=38 time=257 ms

64 bytes from 2001:da8:8000:1::80: icmp_seq=4 ttl=38 time=251 ms


Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.