当前位置:文档之家› IPV6基本协议分析实验

IPV6基本协议分析实验

上机报告

姓名 学号

专业班级 计科普1002

课程名称 网络系统集成 指导教师

机房名称

(I520)

上机日期

2012 年12 月 8 日

上机项目名称 IPV6基本协议分析实验

上机步骤及内容: 一、实验目的:

1. 理解router&prefixdiscovery 的过程。

2. 理解IPV6 address resolution 的过程。 二、实验环境

安装windows xp 操作系统的pc2台,安装commware v5版本软件路由器3台;配置电缆1根,普通网线4根,交叉线2根。 三、实验组网图

根据下面的拓扑图,完成IPV6的基本配置与简要分析。

PC1

PC2

E0/0 20::1/64

E0/1 20::2/64

E0/0 30::1/64

E0/1 30::2/64

E0/0 40::1/64

图 1.1 实验组网图

四、实验步骤

1.在实验中我们首先要做到的就是把整个组网图运用配置路由协议的方式使它达到全网互通的效果。下面就是各个路由器之间的配置文档。

RT1路由器

#Dec 8 08:35:08:185 2012 H3C SHELL/4/LOGIN:

Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1: login from Console

%Dec 8 08:35:08:186 2012 H3C SHELL/4/LOGIN: Console login from con0 sys

System View: return to User View with Ctrl+Z.

[H3C]sysname rt1

[rt1]ipv6

[rt1]int e0/1

[rt1-Ethernet0/1]ipv6 add 10::1/64

[rt1-Ethernet0/1]

%Dec 8 08:38:21:378 2012 rt1 IFNET/4/UPDOWN:

Protocol IPv6 on the interface Ethernet0/1 is UP

[rt1-Ethernet0/1]undo ipv6 nd ra halt

[rt1-Ethernet0/1]int e0/0

[rt1-Ethernet0/0]ipv6 add 20::1/64

[rt1-Ethernet0/0]

%Dec 8 08:39:07:826 2012 rt1 IFNET/4/UPDOWN:

Protocol IPv6 on the interface Ethernet0/0 is UP

[rt1-Ethernet0/0]undo ipv6 nd ra halt

[rt1-Ethernet0/0]quit

[rt1]ipv6 rou

[rt1]ipv6 route-static :: 0 20::2

[rt1]

在RT1上面配置好后代码后,我们可以在pc1上面用ipconfig命令来查看IPV6的地址。

图 1.2 ipv6地址

RT2路由器

#Dec 8 08:20:19:25 2012 H3C SHELL/4/LOGIN:

Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1: login from Console

%Dec 8 08:20:19:26 2012 H3C SHELL/4/LOGIN: Console login from con0 sys

System View: return to User View with Ctrl+Z.

[H3C]sysname rt2

[rt2]ipv6

[rt2]int e0/1

[rt2-Ethernet0/1]ipv6 add 20::2/64

[rt2-Ethernet0/1]

%Dec 8 08:26:06:179 2012 rt2 IFNET/4/UPDOWN:

Protocol IPv6 on the interface Ethernet0/1 is UP

[rt2-Ethernet0/1]int s2/0

[rt2-Serial2/0]ipv6 add 30::1/64

[rt2-Serial2/0]quit

[rt2]ripng 1

[rt2-ripng-1]im

[rt2-ripng-1]import-route direct

[rt2-ripng-1]im

[rt2-ripng-1]import-route static

[rt2-ripng-1]int s2/0

[rt2-Serial2/0]ripng 1 enable

[rt2-Serial2/0]quit

[rt2]ipv6 rou

[rt2]ipv6 route-static 10:: 64 20::1

[rt2]

RT3路由器

#Dec 8 08:19:51:555 2012 H3C SHELL/4/LOGIN:

Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1: login from Console

%Dec 8 08:19:51:556 2012 H3C SHELL/4/LOGIN: Console login from con0 sys

System View: return to User View with Ctrl+Z.

[H3C]sysname rt3

[rt3]ipv6

[rt3]int e0/0

[rt3-Ethernet0/0]ipv6 add 40::1/64

[rt3-Ethernet0/0]

%Dec 8 08:28:57:698 2012 rt3 IFNET/4/UPDOWN:

Protocol IPv6 on the interface Ethernet0/0 is UP

[rt3-Ethernet0/0]undo ipv6 nd ra halt

[rt3-Ethernet0/0]int s1/0

[rt3-Serial1/0]ipv6 add 30::2/64

[rt3-Serial1/0]

相关主题