实验内容: R2配置RIP路由协议进程2;R3配置RIP路由协议进程2和进程3;R4配置路由协议RIP进程3.现使PC1可以访问Pc2,且不能访问PC3.

实验拓扑:

实验配置:

[R2]inter g0/0/0 [R2-GigabitEthernet0/0/0]ip add 1.1.1.1 24 [R2-GigabitEthernet0/0/1]ip add 2.2.2.1 24 [R2-GigabitEthernet0/0/1]rip 2 [R2-rip-2]ver 2 [R2-rip-2]netw 1.0.0.0 [R2-rip-2]netw 2.0.0.0

[R3]acl 2000 [R3-acl-basic-2000]rule deny source 5.5.5.0 0.0.0.255 [R3-acl-basic-2000]rule permit [R3]inter g0/0/0 [R3-GigabitEthernet0/0/0]ip add 2.2.2.2 24 [R3-GigabitEthernet0/0/1]ip add 3.3.3.1 24 [R3-GigabitEthernet0/0/1]rip 2 [R3-rip-2]ver 2 [R3-rip-2]netw 2.0.0.0 [R3-rip-2]import-route rip 3 [R3-rip-2]filter-policy 2000 export [R3-rip-2]rip 3 [R3-rip-3]ver 2 [R3-rip-3]netw 3.0.0.0 [R3-rip-3]import-route rip 2

[R4]inter g0/0/0 [R4-GigabitEthernet0/0/0]ip add 3.3.3.2 24 [R4-GigabitEthernet0/0/2]ip add 4.4.4.1 24 [R4-GigabitEthernet0/0/1]ip add 5.5.5.1 24 [R4-GigabitEthernet0/0/1]rip 3 [R4-rip-3]ver 2 [R4-rip-3]netw 3.0.0.0 [R4-rip-3]netw 4.0.0.0 [R4-rip-3]netw 5.0.0.0

实验验证: 用PC1 ping PC2 和PC3

                  蔡瑞---2017-12-31