预览加载中,请您耐心等待几秒...
1/2
2/2

在线预览结束,喜欢就下载吧,查找使用更方便

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

ACL扩展访问列表综合练习 基础配置:在R1,R2,R3上配置RIPv2协议 1.在R2上配置。使R1不能ping通R2,但是可以ping通R3。 2.在R1上配置回环口192.168.1.1/24;192.168.2.2/24;192.168.3.3/24;192.168.4.4/24并宣告到RIP中。在R2上实现,R1回环口中IP地址最后一位为奇数的可以ping通R2,偶数的不可以ping通. 3.在R3上配置回环口172.16.1.3/24;172.16.2.3/24;172.16.3.3/24;172.16.4.3/24;172.16.5.3/24并宣告到rip中。要求在R2上实现,R3的回环口中奇数子网可以ping通R2,而偶数不可以。 4.配置R3使用扩展访问控制列表,使得R1上lo0接口(1.1.1.1/24)不能telnet到R3,其他地址允许telnet 5.假设在R3上的回环口网段3.3.3.0/24连接了一台www服务器。拒绝12.12.12.0/24网段的主机访问该WWW服务器。在R3上配置ACL实现要求。 6.在R1,R2,R3之间采用RIPv2发送路由信息,在R2上配置仅接受R1上的RIPv2路由更新,且不准使用passive-interface命令 基础配置: r1#shrun interfaceLoopback0 ipaddress1.1.1.1255.255.255.0 interfaceSerial1/0 ipaddress12.12.12.1255.255.255.0 ! routerrip version2 network1.0.0.0 network12.0.0.0 noauto-summary r2#shrun interfaceLoopback0 ipaddress2.2.2.2255.255.255.0 interfaceSerial1/0 ipaddress23.23.23.2255.255.255.0 interfaceSerial1/2 ipaddress12.12.12.2255.255.255.0 ! routerrip version2 network2.0.0.0 network12.0.0.0 network23.0.0.0 noauto-summary r3#shrun interfaceLoopback0 ipaddress3.3.3.3255.255.255.0 ! interfaceSerial1/2 ipaddress23.23.23.3255.255.255.0 serialrestart_delay0 ! routerrip version2 network3.0.0.0 network23.0.0.0 noauto-summary ! 第一题 R2#Shrun interfaceSerial1/2 ipaddress12.12.12.2255.255.255.0 ipaccess-group100in ! access-list100denyicmpanyhost12.12.12.2 access-list100denyicmpanyhost23.23.23.2 access-list100denyicmpanyhost2.2.2.2 access-list100permitipanyany 测试: r1#ping23.23.23.3!!!!! r1#ping23.23.23.2U.U.U r1#ping2.2.2.2U.U.U r1#ping12.12.12.2U.U.U 第二题 r1#shrun interfaceLoopback0 ipaddress1.1.1.1255.255.255.0 interfaceLoopback1 ipaddress192.168.1.1255.255.255.0 interfaceLoopback2 ipaddress192.168.2.2255.255.255.0 interfaceLoopback3 ipaddress192.168.3.3255.255.255.0 interfaceLoopback4 ipaddress192.168.4.4255.255.255.0 ! routerrip version2 network1.0.0.0 network12.0.0.0 network192.168.1.0 network192.168.2.0 network192.168.3.0 network192.168.4.0 noauto-summary ! r2#shrun interfaceSerial1/2 ipaddress12.12.12.2255.255.255.0 ipaccess-g