一、实验要求以及拓扑图
要求:
1.如图搭建网络拓扑,所有路由器各自创建一个环回接口,合理规划IP地址
2.R1-R2-R3-R4-R6之间使用OSPF协议,R4-R5-R6之间使用RIP协议
3.R1环回重发布方式引入OSPF网络4.R4/R6上进行双点双向重发布
5.分析网络中出现路由环路的原因
6.路由优化
二、各路由IP、OSPF以及RIP配置
R1:
#
interface GigabitEthernet0/0/0
ip address 12.0.0.1 255.255.255.0
#
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.0
ospf network-type broadcast
#
ospf 1 router-id 1.1.1.1
import-route direct route-policy lo0
area 0.0.0.0
network 12.0.0.0 0.0.0.255
#
R2:
#
interface GigabitEthernet0/0/0
ip address 12.0.0.2 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 23.0.0.1 255.255.255.0
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.0
ospf network-type broadcast
#
ospf 1 router-id 2.2.2.2
area 0.0.0.0
net