一、如图所示新建拓扑图
二、为路由器配置IP地址
如图R3所示
三、使用DHCP使PC可以自动获取地址
如图R3所示
四、在R1 R2 R3上宣告
rip 1
version 2
network 66.0.0.0
五、使PC1可以ping通PC5不可以pingPC6
使用高级ACL(3000—4000)
在R1上配置
[1]acl 3000
[1-acl-adv-3000]rule deny cimp source 66.1.3.254 0 destination 66.1.5.253 0
[1]interface g0/0/0
[1-GigabitEthernet0/0/0]traffic-filter inbound 3000
六、R1不能ping通R3 但是可以远程登录R3
R3:user-interface vty 0 4
authentication-mode aaa
aaa
local-user QQQ password cipher huawei
local-user QQQi service-type telnet
local-user QQQ privilege level 15
[1]acl 3000
[1-acl-adv-3333]rule deny cimp source 66.1.1.1 0 destination 66.1.2.2 0
[1]interface g0/0/1
[1-GigabitEthernet0/0/1]traffic-filter inbound 3000