当前位置: 首页 > 其他范文 > 其他范文

实训分解实验wyy

作者:奇冤待雪 | 发布时间:2021-01-01 06:44:23 收藏本文 下载本文

实验一 划分 VLAN,对网络进行有效分段 实验需求:

同一 vlan 上的 2 台主机可以相互 ping tong,不同 vlan 上的主机互相不能 ping 通 1、VLAN 及 TRUNK 实验步骤:

在 switch1 上进行设置:

vlan 10!vlan 20!int f0/2 sw mo ac sw ac vl 10!int f0/3 sw mo ac sw ac vl 20!int f0/1 sw tr en dot sw mo tr

实验二 静态路由 实验需求:

实现全网全通,主机 pca 可以 ping 主机 pcb 实验截图:

实验步骤:

1、在 R1 上配置地址,并与网段为 10.1.4.0 的网段联通:

f0 对应的地址为 10.1.1.1 f1/0 对应的地址为 10.1.2.1 hostname R1!int f0/0 ip add 10.1.1.1 255.255.255.0 no sh!int f0/1 ip add 10.1.2.1 255.255.255.0 no sh!ip route 10.1.4.0 255.255.255.0 10.1.2.2---------------------------2、在 R2 上配置地址并与网段为 10.1.1.0 和 10.1.4.0 的网段联通 F0 对应的地址为 10.1.2.2 F1/0 对应的地址为 10.1.3.1 hostname R2!int f0/0 ip add 10.1.2.2 255.255.255.0 no sh!int f0/1 ip add 10.1.3.1 255.255.255.0 no sh!ip route 10.1.1.0 255.255.255.0 10.1.2.1 ip route 10.1.4.0 255.255.255.0 10.1.3.2

=================================== 3、在 R3 上配置地址并与网段为 10.1.1.0 的网段联通 地址为:

hostname R3!int f0/0 ip add 10.1.3.2 255.255.255.0 no sh!int f0/1 ip add 10.1.4.1 255.255.255.0 no sh!ip route 10.1.1.0 255.255.255.0 10.1.3.1 实验三 ACL 实验四 PPP 验证 实验需求:

密码验证 实验截图:

PPP 验证之 PAP hostname R1!username xxx password 0 yyy!interface Serial0/0/0 ip address 10.1.1.1 255.255.255.0 encapsulation ppp ppp authentication pap ppp pap sent-username abc password 0 xyz

clock rate 64000-----------------------------------------------hostname R2!username abc password 0 xyz!interface Serial0/0/0 ip address 10.1.1.2 255.255.255.0 encapsulation ppp ppp authentication pap ppp pap sent-username xxx password 0 yyy PPP 验证之 CHAP 实验 需求:

设置接口 s0/0/0 的地址为 10.1.1.1、进入 ppp 协议、设置时钟为 64000 hostname R1!username R2 password 0 cisco!interface Serial0/0/0 ip address 10.1.1.1 255.255.255.0 encapsulation ppp ppp authentication chap clock rate 64000 实验需求:

设置接口 s0/0/0 的地址为 10.1.1.2、进入 ppp 协议 hostname R2!username R1 password 0 cisco!interface Serial0/0/0 ip address 10.1.1.2 255.255.255.0 encapsulation ppp ppp authentication chap 实验五 DHCP 实验 要求 :

创建 DHCP 地址池,主机从路由器 R0 上得到地址其中 ip 地址为 10.1.1.2 Dns 为 218.2.135.1 默认网关为 10.1.1.1 实验截图:

实验步骤:

hostname Router!ip dhcp excluded-address 10.1.1.1!ip dhcp pool xxx network 10.1.1.0 255.255.255.0 default-router 10.1.1.1 dns-server 218.2.135.1!interface FastEthernet0/0 ip address 10.1.1.1 255.255.255.0 实验六 单臂路由 实验 需求:

1、主机 A 在 VLAN10 内,ip 地址为 10.1.1.2/24,网关 10.1.1.1 2、主机 B 在 vlan20 内,ip 地址为 10.1.2.2/24,网关 10.1.2.1 3、在路由器 R1 上配置单臂路由,使主机 A 和主机 B 相互通信。

实验截图:

实验步骤:

路由器 R1:

hostname R1!interface FastEthernet0/0 no ip address duplex auto speed auto!interface FastEthernet0/0.100 encapsulation dot1Q 10 ip address 10.1.1.1 255.255.255.0!interface FastEthernet0/0.200 encapsulation dot1Q 20 ip address 10.1.2.1 255.255.255.0 ============================================= 交换机 SW1 hostname SW1!!interface FastEthernet0/1 switchport mode trunk!interface FastEthernet0/2 switchport access vlan 10 switchport mode access!interface FastEthernet0/3 switchport access vlan 20 switchport mode access!--------------------------------------SW1# sh vlan b VLAN Name Status Ports----------------------------------------------------------------------------1 default active Fa0/4, Fa0/5, Fa0/6, Fa0/7 Fa0/8, Fa0/9, Fa0/10, Fa0/11 Fa0/12, Fa0/13, Fa0/14, Fa0/15 Fa0/16, Fa0/17, Fa0/18, Fa0/19 Fa0/20, Fa0/21, Fa0/22, Fa0/23

Fa0/24, Gig1/1, Gig1/2 10 VLAN0010 active Fa0/2 20 VLAN0020 active Fa0/3------------------------------------------------------------------------------------------------------------------------------------主机 A:

主机 B:

实验七 NAT 配置 动态 NAT 实验步骤:

(1)定义内部地址 access-list 10 permit 10.1.1.0 0.0.0.255(2)定义外部地址 ip nat pool xxx 61.1.1.1 61.1.1.254 mask 255.255.255.0(3)将内部地址和外部地址关联 ip nat inside source list 10 pool xxx(4)定义内部接口和外部接口 router(config-if)#ip nat inside router(config-if)#ip nat outside 端口地址翻译(PAT)实验步骤:

(1)定义内部地址 access-list 10 permit 10.1.1.0 0.0.0.255(2)将内部地址与外部接口关联 ip nat inside source list 10 interface s0/0/0 overload(3)定义内部接口和外部接口 router(config-if)#ip nat inside router(config-if)#ip nat outside 静态 NAT ip nat inside source static tcp 10.1.1.254 80 61.1.1.1 80 实验需求:

内网的主机 10.1.1.254 通过外网地址 61.1.1.1 向外部提供 www.xiexiebang.comTL/Z.Router(config)#hos r1 r1(config)#int s1/0 r1(config-if)#ip add 10.1.3.1 255.255.255.0 r1(config-if)#no sh Router> Router>en Router#conf t Enter configuration commands, one per line.End with CNTL/Z.Router(config)# Router(config)#hos r2 r2(config)# r2(config)#int s1/1 r2(config-if)#ip add 61.1.1.1 255.255.255.0 r2(config-if)#no sh r2(config-if)#int f0/0 r2(config-if)#ip add 10.1.4.1 255.255.255.0

r2(config-if)#no sh server2

r2(config-if)#int f1/1 %Invalid interface type and number r2(config)#int s1/1 r2(config-if)#ip add 61.1.1.1 255.255.255.0 r2(config-if)#no sh Router>en Router#conf t Enter configuration commands, one per line.End with CNTL/Z.Router(config)#hos r3 r3(config)# r3(config)#int s1/0 r3(config-if)#ip add 61.1.1.2 255.255.255.0 r3(config-if)#no sh r3(config-if)#int f0/0 r3(config-if)#ip add 71.1.1.1 255.255.255.0 r3(config-if)#no sh pc3

实训分解实验

实验实训

实训实验心得体会

实验实训耗材管理办法

数据库实训心得体会数据库实验心得体会

本文标题: 实训分解实验wyy
链接地址:https://www.dawendou.com/fanwen/qitafanwen/349954.html

版权声明:
1.大文斗范文网的资料来自互联网以及用户的投稿,用于非商业性学习目的免费阅览。
2.《实训分解实验wyy》一文的著作权归原作者所有,仅供学习参考,转载或引用时请保留版权信息。
3.如果本网所转载内容不慎侵犯了您的权益,请联系我们,我们将会及时删除。

重点推荐栏目

关于大文斗范文网 | 在线投稿 | 网站声明 | 联系我们 | 网站帮助 | 投诉与建议 | 人才招聘 | 网站大事记
Copyright © 2004-2025 dawendou.com Inc. All Rights Reserved.大文斗范文网 版权所有