实验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 ...
随机推荐
- ng-Enter指令
app.directive('ngEnter', function() { return function(scope, element, attrs) { element.bind("ke ...
- WebService 生成类的命令语句
在开发项目中,有时候需要调用webservice接口程序,根据项目规定有的项目是直接引入接口,有的是需要把接口生成代理类的形式在项目中使用,根据项目需要来取舍. 以下列出项目中常用的Webservic ...
- SQL Server 在数据库中查找字符串(不知道表名的情况下 查找字符串)
declare @key varchar(30)set @key = '广州' --替换为要查找的字符串DECLARE @tabName VARCHAR(40),@colName VARCHAR(40 ...
- sync_with_stdio
/* The synchronization referred to is @e only that between the standard * C facilities (e.g., stdout ...
- linux命令:du
1.命令介绍: du用来查看文件和目录的使用空间. 2.命令格式: du [选项] 文件 3.命令参数: -a或-all 显示目录中个别文件的大小. -b或-bytes 显示目录或文件大小时,以b ...
- HTTP 响应头信息
HTTP 响应头信息 HTTP请求头提供了关于请求,响应或者其他的发送实体的信息. 在本章节中我们将具体来介绍HTTP响应头信息.
- SpringMvc+Spring+Mybatis的jar包依赖关系图
- 浅谈js的事件冒泡机制
很多人都听说过,js的事件冒泡机制,其实,这个说法还是比较生动形象的,就是一个水泡在水底下,冒泡到水面的过程. 那js的事件冒泡机制呢,就是一个DOM树,一级一级向上冒的过程,最终是到document ...
- window.onload、DOMContentLoaded和$(document).ready()
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="C ...
- com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence报错解决方法
添加了XML实体和表映射文件后,莫名报错,百思不得其解,也找不到哪里错了,后来把mybatis-config.xml文件中去掉中文注释就好了 mybatis-config.xml文件中的内容如下,去掉 ...