目录
- 实验条件
- 基础配置
- 需求实现
-
- 1.A---F所有区用Loopback模拟,地址格式为:XX.XX.XX.XX/32,其中X为路由器编号。根据拓扑宣告进对应协议。A1和A2区为特例,A1:55.55.55.0/24,A2:55.55.66.0/24
- 2.照拓扑图配置EIGRP/OSPF路由协议,关闭所有自动汇总。OSPF手动指明RID为Loopback 0地址。
- 3.R4做双向重分布,R6把OSPF重分布到EIGRP,要求全网ping通。如无明确说明,禁止使用静态路由,禁止直接使用ACL过滤数据。
- 4. A1区网段为55.55.55.0/24,配置R6使其禁止从R7学到此网段(要求:使用前缀列表)
- 5. 在R4上配置,要求EIGRP重分布到OSPF时,B区Metric值为100,类型为E1;C区Metric值为200,类型为E1。 其他路由按照默认设置。
- 6. 在R1的Area 0中增加以下网段:11.11.1.0/24、11.11.2.0/24 (用Loopback模拟),要求在R2上配置最精确的路由汇总,并且只允许在III区学到该汇总路由。
- 7. 要求A1到F区的数据流走R4,A2到E区的数据流走R6(R5带A1和A2的源地址采用Traceroute测试)
- 8. 在R7上配置,使其路由表中显示去往E、F区的下一跳是R6。
- 9. 在R4上配置,使其访问E区走 I 区 --> III 区,其他路线不变 (要求:不允许策略路由和分发列表)
实验条件
网络拓朴
拓扑中的IP地址段采用:172.8.AB.X/24,其中AB为两台路由器编号组合,
例如:R3-R6之间的AB为36,X为路由器编号,例如R3的X=3
所有路由器都有一个Loopback 0接口,地址格式为:X.X.X.X/32,其中X为路由器编号。
没有特殊要求,不允许使用静态路由。
需求
- A—F所有区用Loopback模拟,地址格式为:XX.XX.XX.XX/32,其中X为路由器编号。根据拓扑宣告进对应协议。A1和A2区为特例,A1:55.55.55.0/24,A2:55.55.66.0/24。
- 照拓扑图配置EIGRP/OSPF路由协议,关闭所有自动汇总。OSPF手动指明RID为Loopback 0地址。
- R4做双向重分布,R6把OSPF重分布到EIGRP,要求全网ping通。如无明确说明,禁止使用静态路由,禁止直接使用ACL过滤数据。
- A1区网段为55.55.55.0/24,配置R6使其禁止从R7学到此网段(要求:使用前缀列表)
- 在R4上配置,要求EIGRP重分布到OSPF时,B区Metric值为100,类型为E1;C区Metric值为200,类型为E1。 其他路由按照默认设置。
- 在R1的Area 0中增加以下网段:11.11.1.0/24、11.11.2.0/24 (用Loopback模拟),要求在R2上配置最精确的路由汇总,并且只允许在III区学到该汇总路由。
- 要求A1到F区的数据流走R4,A2到E区的数据流走R6(R5带A1和A2的源地址采用Traceroute测试)
- 在R7上配置,使其路由表中显示去往E、F区的下一跳是R6。
- 在R4上配置,使其访问E区走 I 区 --> III 区,其他路线不变 (要求:不允许策略路由和分发列表)
基础配置
R1
R1#show run | s interface
interface Loopback0
ip address 1.1.1.1 255.255.255.255
ip ospf 89 area 2
interface Ethernet0/0
ip address 14.1.1.1 255.255.255.0
ip ospf 89 area 2
duplex auto
interface Ethernet0/1
ip address 12.1.1.1 255.255.255.0
ip ospf 89 area 0
duplex auto
R1#show run | s rout
router ospf 89
router-id 1.1.1.1
R2
R2#show run | s interface
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip ospf 89 area 0
interface Loopback1
ip address 22.22.22.22 255.255.255.255
interface Ethernet0/0
ip address 23.1.1.2 255.255.255.0
ip ospf 89 area 3
duplex auto
interface Ethernet0/1
ip address 12.1.1.2 255.255.255.0
ip ospf 89 area 0
duplex auto
R2#show run | s route
router ospf 89
router-id 2.2.2.2
R3
R3(config-if)#do show run | s interface
interface Loopback0
ip address 3.3.3.3 255.255.255.255
ip ospf 89 area 3
interface Loopback1
ip address 33.33.33.33 255.255.255.255
interface Ethernet0/0
ip address 23.1.1.3 255.255.255.0
ip ospf 89 area 3
duplex auto
interface Ethernet0/1
ip address 36.1.1.3 255.255.255.0
ip ospf 89 area 3
duplex auto
R3(config-if)#do show run | s route
router ospf 89
router-id 3.3.3.3
R4
R4(config-route-map)#do show run | s interface
interface Loopback0
ip address 4.4.4.4 255.255.255.255
ip ospf 89 area 2
interface Loopback1
ip address 44.44.44.44 255.255.255.255
interface Ethernet0/0
ip address 14.1.1.4 255.255.255.0
ip ospf 89 area 2
duplex auto
interface Ethernet0/1
ip address 47.1.1.4 255.255.255.0
duplex auto
R4(config-route-map)#do show run | s route
router eigrp 1
network 44.44.44.44 0.0.0.0
network 47.1.1.4 0.0.0.0
eigrp router-id 4.4.4.4
router ospf 89
router-id 4.4.4.4
R5
R5(config-router)#do show run | s interface
interface Loopback0
ip address 5.5.5.5 255.255.255.255
interface Loopback1
ip address 55.55.55.55 255.255.255.0
interface Loopback2
ip address 55.55.66.66 255.255.255.0
interface Ethernet0/2
ip address 57.1.1.5 255.255.255.0
duplex auto
R5(config-router)#do show run | s route
router eigrp 1
network 0.0<