神马工程师都是浮云~~~
某日,某基层单位网络瘫痪,通过了解调查路由器的配置信息丢失,然后领导就开始着急发飙,也派了相关工程师来调试,搞来搞去都没搞成事(所谓的工程师都是有PAPER的,其实肚子里没货),于是乎,请我个伴读书童出马,看了下拓扑,只需要配置个RIP就搞定,废话不多说,上图,上配置脚本......
R1:
-------------------------------
en
conf t
no ip domain lookup
no logging console
ip classless
ip subnet-zero
int f0/0
ip add 207.0.0.1 255.255.255.0
no shut
exit
int s0/0
ip add 202.0.0.1 255.255.255.0
no shut
exit
router rip
version 2
network 207.0.0.0
network 202.0.0.0
end
show ip route
---------------------------------
R2:
---------------------------------
en
conf t
no ip domain lookup
no logging console
ip classless
ip subnet-zero
int s0/0
clock rate 9600
ip add 202.0.0.2 255.255.255.0
no shut
exit
int s0/1
clock rate 9600
ip address 203.0.0.1 255.255.255.0
no shut
exit
router rip
version 2
network 202.0.0.0
network 203.0.0.0
end
show ip route
----------------------------------------
R3"
----------------------------------------
en
conf t
no ip domain lookup
no logging console
ip classless
ip subnet-zero
int s0/0
ip add 203.0.0.2 255.255.255.0
no shut
exit
int f0/0
ip add 204.0.0.1 255.255.255.0
no shut
exit
router rip
ver 2
network 203.0.0.0
network 204.0.0.0
end
show ip route
转载于:https://blog.51cto.com/guesscan/657662