CCNA-26个基本实验(2)

2019-03-28 23:09

Cisco网络联盟 www.cisconet.cn提供

cisconet2 (config-if)#no shutdown 打开s0口

cisconet2 (config-if)#exit

cisconet2 (config)#interface serial 1 进入s1端口

cisconet2 (config-if)#ip address 172.16.1.2 255.255.255.0 添加s1口的IP

cisconet2 (config-if)#no shutdown 打开s1口t

cisconet2 (config-if)#exit

cisconet2 (config)#ip route 172.16.3.0 255.255.255.0 172.16.1.1 添加静态路由

cisconet2 (config)#ip route 172.16.5.0 255.255.255.0 172.16.2.2 添加静态路由

Router(config)#hostbane cisconet3

cisconet3 (config)#interface ethernet 0 进入e0端口

cisconet3 (config-if)#ip address 172.16.4.1 255.255.255.0 添加e0口的IP

cisconet3 (config-if)#no shutdown 打开e0口

cisconet3 (config-if)#exit

cisconet3 (config)#interface serial 1 进入s1端口

cisconet3 (config-if)#ip address 172.16.2.2 255.255.255.0 添加s1口的IP

cisconet3 (config-if)#no shutdown 打开s1口t

cisconet3 (config-if)#exit cisconet3 (config)#ip route 0.0.0.0 0.0.0.0 172.16.2.1 添加缺省路由 PC 上的配置为: PC1:IP为172.16.3.2 网关:172.16.3.1 PC2:IP为172.16.4.2 网关:172.16.4.1

ccna 实验八 RIP动态路由的配置

实验要求:

1.路由器名为cisconet1、 cisconet2;

2.cisconet1与PC1相连,cisconet2与PC2相连,cisconet1的so口与jiande2的so口相连;

3.各接口的IP地址如拓扑图所示,cisconet1为DCE,cisconet2为DTE; 4.在两路由器上起用RIP协议;

Cisco网络联盟 www.cisconet.cn提供

5.查看路由表并验证各网段之间的连通性.

实验过程:

1.按拓扑图的需要配置各路由器端口的IP地址,用no shutdown命令起用各端口;

2.在cisconet1的S0端口使用clock rate 64000命令配置时钟频率; 3.配置各PC的ip地址和默认网关;

4.在两路由器上使用show ip route命令查看路由表,只能看到与该路由器直连的网段;

5.起用RIP协议并将各网段加入路由进程

在cisconet1上:cisconet1(config-router)#router rip 起用路由协议

cisconet1(config-router)#network 192.168.1.0 将192.168.1.0/24网段加入路由进程

cisconet1(config-router)#network 192.168.2.0 将192.168.2.0/24网段加入路由进程

cisconet1(config-router)#end cisconet1#show ip route 查看路由表 在cisconet2上 cisconet1(config-router)#router rip 起用路由协议

cisconet1(config-router)#network 192.168.1.0 将192.168.1.0/24网段加入路由进程 cisconet1(config-router)#network 192.168.3.0 将192.168.3.0/24网段加入路由进程

cisconet1(config-router)#end cisconet1#show ip route 查看路由表 配置RIP协议后,路由表中可以看到通过RIP协议学习到的非直连的网段的路由条目,

在PC1上使用PING 192.168.3.2测试到PC2的连通性,测试成功。

ccna 实验九 通过IGRP路由协议实现非等价带宽的负载均衡

实验要求: 1.路由器名为cisconet1和cisconet2;

2.两路由器用双绞线(10M)和串行线连接(1.544M);

3.在两路由器上创建两各环回接口模拟与路由器直连的PC机; 4.使用命令实现非等价负载均衡。

实验过程:

1.路由器cisconet1的配置

cisconet1(config)#interface ethernet 0 配置e0口 cisconet1(config-if)#ip address 4.4.4.1 255.255.255.0 配置IP地址

cisconet1(config-if)#exit

Cisco网络联盟 www.cisconet.cn提供

cisconet1(config)#interface serial 0 配置S0口

cisconet1(config-if)#ip address 2.2.2.1 255.255.255.0 配置IP地址

cisconet1(config-if)#clock rate 64000 配置DCE端时钟频率

cisconet1(config-if)#no shutdown 启用端口 cisconet1(config-if)#exit

cisconet1(config)#interface loopback 0 创建loopback0接口

cisconet1(config-if)#ip address 1.1.1.1 255.255.255.0 配置IP地址

cisconet1(config-if)#exit

cisconet1(config)#router igrp 100 启用IGRP路由协议

cisconet1(config-router)#network 1.0.0.0 加入直连的网络号

cisconet1(config-router)#network 4.0.0.0 cisconet1(config-router)#network 2.0.0.0

cisconet1(config-router)#variance 6 设置variance值,可以在路径间启用非等价负载平衡 2.路由器cisconet2的配置

cisconet2(config-if)#interface serial 0 配置S0口 cisconet2(config-if)#ip address 2.2.2.2 255.255.255.0 配置IP地址 cisconet2(config-if)#no shutdown 启用端口 cisconet2(config-if)#exi

cisconet2(config)#interface ethernet 0 配置e0口

cisconet2(config-if)#ip address 4.4.4.2 255.255.255.0 配置IP地址 cisconet2(config-if)#exit cisconet2(config)#interface loopback 0 创建loopback0接口

cisconet2(config-if)#ip address 3.3.3.1 255.255.255.0 配置IP地址 cisconet2(config-if)#exit cisconet2(config)#router igrp 100 启用IGRP路由协议

cisconet2(config-router)#network3.0.0.0 加入直连的网络号

cisconet2(config-router)#network 4.0.0.0 cisconet2(config-router)#network 2.0.0.0

cisconet2(config-router)#variance 6 设置variance值 3.验证非等价负载均衡

在cisconet1查看路由表会看到到3.3.3.1由两条路径;

在cisconet1上使用扩展的PING命令发送出14各数据包PING IP 3.3.3.1 信息提示大部分数据包从两路由器间10M的线路走,小部分从1.544M 的线路走(如拓扑图所示)数据包的分流和线路的带宽成正比。

Cisco网络联盟 www.cisconet.cn提供

ccna 实验十 使用扩展的ACL封杀PING命令

实验要求:

1.路由器名为:cisconet1、cisconet2;

2.cisconet1的S0端口与cisconet2的S0端口相连,cisconet1为DCE,另一路由器为DTE;

3.从cisconet1使用PING命令测试到cisconet2的连通性,结果为不可达,但却可以TELNET到cisconet2

实验过程: 1.在cisconet2上配置特权密码和vty密码,密码都设置为cisconet;

2.配置路由器cisconet1:

cisconet1(config)#interface serial 0 进入S0端口

jaince1(config-if)#ip address 192.168.1.1 255.255.255.0 配置IP地址

jaince1(config-if)#clock rate 64000 配置时钟频率

jaince1(config-if)#no shutdown 起用端口 3.配置路由器cisconet2:

cisconet2(config)#access-list 100 deny icmp any any 创建ACL100过滤ICMP数据包

cisconet2(config)#access-list 100 permit ip any any 允许IP包通过

cisconet2(config)#interface serial 0 jaince2(config-if)#ip address 192.168.1.1 255.255.255.0 配置IP地址

jaince2(config-if)#no shutdown 开启端口 jaince2(config-if)#ip access-group 100 in 将ACL100关联到该接口 4.验证实验 在cisconet1上使用PING命令测试到cisconet2,结果不可达

从cisconet1上TELNET到cisconet2会话成功,说明使用ICMP协

议的PING命令已经被封杀。

ccna 实验十一 配置单区域的OSPF协议

实验要求:

1.路由器名为cisconet1,cisconet2和cisconet3; 2.三台路由器属于同一个区域0;

3.将三台路由器相连,并在路由器上启用OSPF路由协议。

实验过程:1.按拓扑图的需要配置各路由器端口的IP地址,用no shutdown命令起用各端口;

Cisco网络联盟 www.cisconet.cn提供

2.在cisconet2的S0和S1端口使用clock rate 64000命令配置时钟频率;

3.在cisconet1上使用PING 2.2.2.2命令测试到达cisconet3的S0接口的连通性,测试不成功;

4.使用show ip route 命令在各路由器上查看路由表,只能看到与该路由器直连的网段;

5在个路由器上起用OSPF路由协议,并将其直连网段加入路由进程: Cisconet1上的配置:

Cisconet1(config)#router ospf 1 启用OSPF路由协议并将路由进程设置为1

Cisconet1(config-router)#network 1.1.1.0 0.0.0.255 area 0 将直连网段加入路由进程 Cisconet2上的配置:

Cisconet2(config)#router ospf 1 启用OSPF路由协议并将路由进程设置为1

Cisconet2(config-router)#network 1.1.1.0 0.0.0.255 area 0 将直连网段加入路由进程

Cisconet2(config-router)#network 2.2.2.0 0.0.0.255 area 0 将直连网段加入路由进程 Cisconet3上的配置:

Cisconet3(config)#router ospf 1 Cisconet3(config-router)#network 2.2.2.0 0.0.0.255 area 0 配置好路由协议后使用show ip route 在cisconet1和cisconet3查看路由表能看到到达非直连网段的路径, 在cisconet1上使用PING 2.2.2.2命令测试到达cisconet3的S0接口的连通性,测试成功。

ccna 实验十二 IGRP和EIGRP的无缝结合

实验要求:

1路由器名为cisconet1,cisconet2和cisconet3; 2.在cisconet1和cisconet2上起用IGRP路由协议;

3.在cisconet2和cisconet3上起用RIGRP路由协议,且两路由协议的版本号相同; 4.测试三台路由器之间的连通性。

实验过程:

1.路由器cisconet1上的配置

cisconet1(config)#interface serial 0 进入S0端口

cisconet1(config-if)#ip address 1.1.1.1 255.255.255.0 配置IP地址

cisconet1(config-if)#no shutdown 启用端口 cisconet1(config-if)#exit

cisconet1(config)#router igrp 100 起用IGRP协议


CCNA-26个基本实验(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:通风设施施工安全技术措施

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: