计算机网络综合实验三层交换机,计算机网络实验指导书-三层交换机的访问控制-实验8...

a7f4a3f590493a1e451dd952a488fd7c.gif 计算机网络实验指导书-三层交换机的访问控制-实验8

(6页)

c7a41c9e7b3efa86ab888efa5d228d2a.gif

本资源提供全文预览,点击全文预览即可全文预览,如果喜欢文档就下载吧,查找使用更方便哦!

9.9 积分

计算机网络实验报告试验时间:***********姓名:★****★★*学号■ ******实验名称:三层交换机的访问控制实验拓扑4PS chAC 192.168.1.2/24>Swi chB< 172.2.2.1/24^^go/i —< 17Z1.L1724> Swi90/2 ^192.168.1.1/24^PC-PT PC- PTPC2 PC3172.2.2.2/24172.2.2.1 ,二.实验目的1 . ACL能正常工作的前提是所有主机都能ping通。2 .三层交换机的基本配置:设置路由器接口 IP地址。配置RIP路由 3?根据以上拓扑划分出的2个网段,要求禁止主机PC4访问172.1.1.0/24网段。该如何实现?三、实验步骤fl)设置交换机接口 IP地址。SwitchtenSwxcchtconf tEnter configuration coranands, one per line. End with CNTL/Z. Switch(config)tint gO/1Switch (conflg-lf)#no switchportSwitch(config-lf)«%LINEPROTO-5-UPDOWN:Line protocolonInterfaceGigabitEthemetO/lr changedstatetodowr%LINEPROTO-5-UPDOWN:Line protocolonInterfaceGigabitEthemetO/19 changedstatezoupSwitch(config-lf)tipaddress 172?1..1.1.2SS.255.255.0Swxtch(config-lf)*noshutdownSwitch (config-lf)tint g 0/2Switch(config-lf)#noswitchportSwitch (config?!.() «%LINEPROT O? 5-UPDOWN?Line protocolonInterfaceGigabitEthernet0/2, changedstatetodowr%LINEPROTO-5-UPDOWN:Line protocolonInterfaceGigabitEthernecO/2r changedstatetoupSwitch (conf ig-lf) tip 4dd“ss 192.1C8.1.1 255.255.255.0 Switch(config-if)tno shutdownSwitch(config-lf)texitSwitch(config>#Switch>enSwitchtconf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)tint gO/1Switch(config-lf)#no switchporcSwitch(confiif)t%LINEPR0TO?5?UPDOWN: Line protocol on Interface GigabltEthernetO/lr changed state co down %LINEPROTO-5-UPDOWN: Line protocol on Interface GigobitEthernetO/lf changed state to up Switch(config-lf)tip address 172.2.2.1 255.255.255.0Switch(config-if)tno shutdownSwitch (config-lf) gO/2Switch(config-lf)#no switchportSwitch(config-if)I%LINEPROTO-5-UPDOWN: Lxne protocol on Interface GxgabxtEthemet0/2r changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabltEthernecO/2#changed state toaddress 192.168.1.2 255.255.255.0shutdownSwitch(confiif) lip Switch(config?if)#no Switch(config?if) lexSwitch (config) #|(2) 配置RIP路由Swxtch(config)tip routingSwitch(config)Iroucer ripSwitch(config-router)?version 2Switch(config-router)Inetwork 172.1.1.0 Swicch(config?rourer)tnecwork 192?168.1.0 Swixch(con£ig?rou"r)Switch(config)tip routingSwitch(config)trouter ripSwitch(config?router)Aversion 2Switch(config-router)Inetwork 172.2.2.0Switch(config-router)(network 192?168.1.0Svrixch (contig-router)(3) 测试一下PCO . PC1 . PC2. PC3是否都能互相ping通C:\>ping 172.2.2.2Pinning 172.2.2.2 with 32 bytes of data:Request tmed out.Reply frott 172.2.2.2: bytesa32 tine

4d91c43bfc72ca913299809b07b4968f.gif  天天文库所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。

关于本文

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值