实验1_IPv6地址配置
IPv6地址配置
实验任务
(1)掌握如何在路由器及PC上配置IPv6地址
(2)掌握如何用IPv6 ping命令进行IPv6地址可达性检查
(3)掌握如何用命令来查看IPv6地址配置

实验过程
在RT上的配置
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]int g0/0
[H3C-GigabitEthernet0/0]dis ipv6 int g0/0
IP6Stack is not configured.
配置链路本地地址
[H3C-GigabitEthernet0/0]ipv6 address fe80::1 link-local
配置全球唯一地址
[H3C-GigabitEthernet0/0]ipv6 address 1::1 64
查看配置情况
[H3C-GigabitEthernet0/0]dis ipv6 int g0/0
GigabitEthernet0/0 current state: UP
Line protocol current state: UP
IPv6 is enabled, link-local address is FE80::1 [TENTATIVE]
Global unicast address(es):
1::1, subnet is 1::/64 [TENTATIVE]
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF00:1
MTU is 1500 bytes
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND retransmit interval is 1000 milliseconds
Hosts use stateless autoconfig for addresses
在PC上的配置
安装IPv6协议并启用
C:\>netsh interface ipv6 install
确定。
C:\>netsh
netsh>interface ipv6
netsh interface ipv6>show interface
正在查询活动状态...
索引 Met MTU 状态 名称
---- ---- ----- ------------ -----
5 0 1500 已连接 VirtualBox Host-Only Network
4 2 1280 已断开 Teredo Tunneling Pseudo-Interface
3 1 1280 已连接 6to4 Pseudo-Interface
2 1 1280 已连接 Automatic Tunneling Pseudo-Interface
1 0 1500 已连接 Loopback Pseudo-Interface
查看自动配置的链路本地地址
C:\>ipconfig /all
Ethernet adapter 本地连接 6:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Loopback Adapter
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Autoconfiguration IP Address. . . : 169.254.25.129
Subnet Mask . . . . . . . . . . . : 255.255.0.0
IP Address. . . . . . . . . . . . : fe80::4cff:fe4f:4f50%8
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
netsh interface ipv6>show address 8
正在查询活动状态...
单一广播地址 : fe80::4cff:fe4f:4f50
类型 : 链接
DAD 状态 : 首选项
有效寿命 : infinite
首选寿命 : infinite
作用域 : 链接
前缀起源 : 著名
后缀起源 : 链路层地址
没有找到项目。
netsh interface ipv6>add address 8 fe80::2
确定。
netsh interface ipv6>add address 8 1::2
确定。
netsh interface ipv6>show address 8
正在查询活动状态...
单一广播地址 : 1::2
类型 : 手动
DAD 状态 : 首选项
有效寿命 : infinite
首选寿命 : infinite
作用域 : 全局
前缀起源 : 手动
后缀起源 : 手动
单一广播地址 : fe80::2
类型 : 手动
DAD 状态 : 首选项
有效寿命 : infinite
首选寿命 : infinite
作用域 : 链接
前缀起源 : 手动
后缀起源 : 手动
单一广播地址 : fe80::4cff:fe4f:4f50
类型 : 链接
DAD 状态 : 首选项
有效寿命 : infinite
首选寿命 : infinite
作用域 : 链接
前缀起源 : 著名
后缀起源 : 链路层地址
没有找到项目。
测试IPv6地址可达性
在RT上测试PC
[H3C-GigabitEthernet0/0]ping ipv6 -i g0/0 fe80::2
Ping6(56 data bytes) FE80::1 --> FE80::2, press CTRL_C to break
56 bytes from FE80::2, icmp_seq=0 hlim=128 time=1.150 ms
56 bytes from FE80::2, icmp_seq=1 hlim=128 time=0.662 ms
56 bytes from FE80::2, icmp_seq=2 hlim=128 time=0.691 ms
56 bytes from FE80::2, icmp_seq=3 hlim=128 time=0.543 ms
56 bytes from FE80::2, icmp_seq=4 hlim=128 time=0.732 ms
--- Ping6 statistics for fe80::2 ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.543/0.756/1.150/0.207 ms
[H3C-GigabitEthernet0/0]%Oct 7 12:30:10:910 2016 H3C PING/6/PING_STATISTICS: Ping6 statistics for fe80::2: 5 packets transmitted, 5 packets received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.543/0.756/1.150/0.207 ms.
[H3C-GigabitEthernet0/0]
[H3C-GigabitEthernet0/0]ping ipv6 -i g0/0 1::2
Ping6(56 data bytes) 1::1 --> 1::2, press CTRL_C to break
56 bytes from 1::2, icmp_seq=0 hlim=128 time=1.447 ms
56 bytes from 1::2, icmp_seq=1 hlim=128 time=0.708 ms
56 bytes from 1::2, icmp_seq=2 hlim=128 time=0.703 ms
56 bytes from 1::2, icmp_seq=3 hlim=128 time=0.691 ms
56 bytes from 1::2, icmp_seq=4 hlim=128 time=0.688 ms
--- Ping6 statistics for 1::2 ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.688/0.847/1.447/0.300 ms
[H3C-GigabitEthernet0/0]%Oct 7 12:32:36:806 2016 H3C PING/6/PING_STATISTICS: Ping6 statistics for 1::2: 5 packets transmitted, 5 packets received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.688/0.847/1.447/0.300 ms.
[H3C-GigabitEthernet0/0]
[H3C-GigabitEthernet0/0]ping ipv6 -i g0/0 fe80::4cff:fe4f:4f50
Ping6(56 data bytes) FE80::1 --> FE80::4CFF:FE4F:4F50, press CTRL_C to break
56 bytes from FE80::4CFF:FE4F:4F50, icmp_seq=0 hlim=128 time=0.769 ms
56 bytes from FE80::4CFF:FE4F:4F50, icmp_seq=1 hlim=128 time=0.721 ms
56 bytes from FE80::4CFF:FE4F:4F50, icmp_seq=2 hlim=128 time=0.681 ms
56 bytes from FE80::4CFF:FE4F:4F50, icmp_seq=3 hlim=128 time=0.717 ms
56 bytes from FE80::4CFF:FE4F:4F50, icmp_seq=4 hlim=128 time=0.740 ms
--- Ping6 statistics for fe80::4cff:fe4f:4f50 ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.681/0.726/0.769/0.029 ms
[H3C-GigabitEthernet0/0]%Oct 7 12:33:50:652 2016 H3C PING/6/PING_STATISTICS: Ping6 statistics for fe80::4cff:fe4f:4f50: 5 packets transmitted, 5 packets received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.681/0.726/0.769/0.029 ms.
在PC上测试RT
C:\Documents and Settings\Administrator>ping fe80::1%8
Pinging fe80::1%8 with 32 bytes of data:
Reply from fe80::1%8: time<1ms
Reply from fe80::1%8: time<1ms
Reply from fe80::1%8: time<1ms
Reply from fe80::1%8: time<1ms
Ping statistics for fe80::1%8:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Documents and Settings\Administrator>
C:\Documents and Settings\Administrator>ping 1::1
Pinging 1::1 with 32 bytes of data:
Reply from 1::1: time=1ms
Reply from 1::1: time<1ms
Reply from 1::1: time<1ms
Reply from 1::1: time<1ms
Ping statistics for 1::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
实验1_IPv6地址配置的更多相关文章
- IPv6实验1_IPv6地址配置
IPv6地址配置 实验任务 (1)掌握如何在路由器及PC上配置IPv6地址 (2)掌握如何用IPv6 ping命令进行IPv6地址可达性检查 (3)掌握如何用命令来查看IPv6地址配置 实验过程 在R ...
- ipv6地址配置实验(GNS3/ENSP)
实验拓扑: IPV6地址配置如图所示, 配置ipv6指令(以R2为例,R1类似): int e1/2 R2(config-if)#ipv6 address 2001:db08:acad:1::2/64 ...
- 实验 MPLS LDP配置
实验 MPLS LDP配置 一.学习目的 掌握启用和关闭MPLS的方法 掌握启用和关闭MPLS LDP配置方法 掌握使用MPLS LDP配置LSP的方法 二.拓扑图 三.场景 你是公司的网管员,公司的 ...
- VLAN实验2(配置Trunk接口)
本实验基于<HCNA网络技术实验指南> 本实验使用eNSP软件 原理概述: 在以太网中,通过划分VLAN来隔离广播域和增强网络通信的安全性.以太网通常由 多台交换机组成,为了使VLAN的数 ...
- Network基础(一):配置计算机名及工作组、TCP/IP地址配置、网络连通性测试
一.配置计算机名及工作组 目标: 本例要求为修改计算机名并加入工作组: 设置计算机名:姓名拼音 设置工作组名:TARENA-NETWORK 方案: 修改Windows 2008服务器的计算机名(可设为 ...
- centos下网络配置方法(网关、dns、ip地址配置)
本文介绍了centos网络配置的方法,centos网络配置主要包括dns.网关.IP地址: 1.IP地址配置: /etc/sysconfig/network-scripts/ifcfg-eth0 2. ...
- ubuntu11.0静态IP地址配置
1. 静态IP地址配置 配置文件路径:/etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet ...
- linux 静态地址配置选项
最近使用静态地址配置linux, 配置的时候突然不知道配置选项具体内容了,这里面记录一下配置:适用于 ipv4 网络 [root@dhcp-- ~]# cat /etc/sysconfig/netwo ...
- 软件包管理:rpm包管理-yum在线管理-IP地址配置和网络yum源
只需告诉系统你想安装那个包,剩下的所有依赖问题yum都会解决. 有些情况下不能上网,但可以使用光盘. centos的yum是免费的.redhatyum付费. yum管理的其实同样是rpm包.并没有yu ...
随机推荐
- JAVA开发相关
JAVA开发相关1. IntelliJ IDEA开发工具熟练使用2. Maven3. Spring框架(IoC.AOP) 1)数据库相关MyBatis 2)数据库连接池 3)事务.多数据源.跨数据库分 ...
- class can not be find with platformType:1 step 1
使用第三方库的时候 (配合cocopods)混合使用一定要注意 为什么会出现这样的问题... 苦苦难为我半天时间 都有想打人的冲动 前天一切正常今天出来个这 原因很简单当使用cocopods的时候默认 ...
- mysql关于timestamp类型
数据库设置时间字段为timestamp类型,DTO设置为java.util.Date类型.DTO设值sessionLogDTO.setLoginOutTime(new Date());用new Dat ...
- python入门笔记
创建变量 python的变量不需要声明数据类型. >>> fred=100 >>> print (fred) 100 >>> fred 100 创 ...
- 今天遇到的点击添加按钮button_click代码段无法执行的问题
首先:本人小白一枚,刚入行,如有表述不当的地方,还请多多指教 网页界面如图: 当点击添加按钮后断点测试进入后台代码运行: 代码会先执行Page_Load页面,当加载完后Page_Load代码会跳转到m ...
- weixin 公众平台开发
http://www.cnblogs.com/szw/archive/2013/05/14/weixin-course-index.html http://weixin.senparc.com/
- 一个android参考网站,工具+源码
Android多渠道打包工具 https://github.com/wubo/apptools Android官方培训课程中文版(v0.9.4) http://hukai.me/android-t ...
- flash 居中问题
如果舞台是1000的宽度,要剧中比较容易 mc1.x = (1000-400)/2; 这样就居中了,来看原理,首先我们要舞台居中,很容易就想到一个数字 1000/2 结果是500 但是x对舞台的中央是 ...
- XML代码生成器——XMLFACTORY 简介(二)
XML代码生成器——XMLFACTORY 简介(二) 因为春节和项目上线的原因,离写上一篇文章的时间已经好久了. 不知道是事情太多了,还是自已效率太低了.总之是时间不够用. 哎,苦逼的程序员 ...
- 【转】我是如何在SQLServer中处理每天四亿三千万记录的
原文转自:http://blog.jobbole.com/80395/ 首先声明,我只是个程序员,不是专业的DBA,以下这篇文章是从一个问题的解决过程去写的,而不是一开始就给大家一个正确的结果,如果文 ...