R2:
en
conf t
no ip domain-lo
ser pass
enab s cisco123
line con 0
exec-t 0 0
line vty 0 4
pass cisco123
login
exit
int lo0
ip add 2.2.2.2 255.255.255.0
int f0/0
ip add 12.12.12.2 255.255.255.0
no sh
int f1/0
ip add 10.1.23.1 255.255.255.0
passive-int f1/0 \\關閉F1/0接口的RIP更新
neighbor 10.1.13.2 \\配置與13.2創建更新 (需求五的第一種方法)
no sh
exit
router rip
ver 2
no au
net 2.2.2.0
net 12.12.12.0
net 10.1.23.0
end
wr負載均衡
R3:
en
conf t
no ip domain-lo
ser pass
enab s cisco123
line con 0
exec-t 0 0
line vty 0 4
pass cisco123
login
exit
int lo0
ip add 3.3.3.3 255.255.255.0
int f1/0
ip add 10.1.13.2 255.255.255.0
no sh
int f0/0
ip add 10.1.23.2 255.255.255.0
no sh
exit
router rip
ver 2
no au
net 3.3.3.0
net 10.1.13.0
net 10.1.23.0
passive-int f1/0 \\關閉F1/0接口的RIP更新
neighbor 10.1.13.1 \\配置與13.1創建更新 (需求五的第一種方法)
end
wrdom
需求六:
R1:
en
conf t
router rip
no net 172.16.0.0
exit
ip route 172.16.0.0 255.255.248.0 lo1 \\配置靜態路由
router rip
redist sta me 1 \\將靜態路由以1的度量值灌輸到rip
end
wride
需求七:
R2:
en
conf t
router rip
maximum-paths 1 \\指定負載均衡路由數量爲1
end
wr
router