GNS3实验:
重要作用在R2中
ip route 1.1.1.0 255.255.255.0 fastEthernet 0/0 12.1.1.1(注:此句作用是让R3收不到1.1.1.0段)
设备连接如下: :route 3725
R1(F0/0)-------------(F0/0)R2(F0/1)---------------------R3(F0/0)
接口如下
R1-----LOOPBACK0 -----1.1.1.1/24
F0/0(12.1.1.1/24)
R2----LOOPBACK0-----2.2.2.2/24
F0/0(12.1.1.2/24)
F0/1(23.1.1.1/24)
R3-----LOOPBACK0---3.3.3.3/24
F0/0(23.1.1.2/24)
配制如下:
R1 : router rip
version 2
no auto-summary
network 1.0.0.0
network 12.0.0.0
R2: router rip
version 2
no auto-summary
network 2.0.0.0
network 12.0.0.0
network 23.0.0.0
ip route 1.1.1.0 255.255.255.0 fastEthernet 0/0 12.1.1.1(注:此句作用是让R3收不到1.1.1.0段)
R3:router rip
version 2
no auto-summary
network 3.0.0.0
network 23.0.0.0
转载于:https://blog.51cto.com/chaohu/1130737