57-高级路由:分发列表:多协议分发列表实验:DVLS

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了57-高级路由:分发列表:多协议分发列表实验:DVLS相关的知识,希望对你有一定的参考价值。

一、实验拓扑:
技术分享图片
二、实验要求:
1、R1、R2运行EIGRP协议,R1只通告12.1.1.0网段进EIGRP,其它运行OSPF协议;
2、R1在EIGRP进程下重分发OSPF协议;
3、R4将Loopback 0修改为P-T-P模式;
2、R1用Prefix-list抓取4.4.4.0路由,并在EIGRP中分别调用Prefix-list in/out;
4、in和out R1、R2查看是否还有2.2.2.0条目?

三、命令部署:
R4(config)#int loopback 0
R4(config-if)#ip ospf network point-to-point

R1(config)#router eigrp 90
R1(config-router)#redistribute ospf 110 metric 100000 10 255 1 1500

R1(config)#access-list 10 deny 4.4.4.0 0.0.0.255
R1(config)#access-list 10 permit any

R1(config)#router eigrp 90
R1(config-router)#distribute-list 10 out ospf 110 //只有out方向才有ospf 110写法
或者是:
R1(config-router)#distribute-list 10 out f0/0

四、验证:
1、R1部署:distribute-list 10 out ospf 110 命令效果:R1仍然有4.4.4.0路由条目,但是R2没有
R2#show ip route
1.0.0.0/24 is subnetted, 1 subnets
D EX 1.1.1.0 [170/30720] via 12.1.1.1, 00:08:53, FastEthernet0/0
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 2.2.2.0/24 is directly connected, Loopback0
D 2.0.0.0/8 is a summary, 00:19:30, Null0
3.0.0.0/32 is subnetted, 1 subnets
D EX 3.3.3.3 [170/30720] via 12.1.1.1, 00:08:53, FastEthernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.1.1.0/24 is directly connected, FastEthernet0/0
D 12.0.0.0/8 is a summary, 00:19:33, Null0
13.0.0.0/24 is subnetted, 1 subnets
D EX 13.1.1.0 [170/30720] via 12.1.1.1, 00:08:56, FastEthernet0/0
14.0.0.0/24 is subnetted, 1 subnets
D EX 14.1.1.0 [170/30720] via 12.1.1.1, 00:08:57, FastEthernet0/0

R1#show ip route
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
D 2.0.0.0/8 [90/156160] via 12.1.1.2, 00:18:39, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/2] via 13.1.1.3, 00:10:58, FastEthernet1/0
4.0.0.0/24 is subnetted, 1 subnets
O 4.4.4.0 [110/65] via 14.1.1.4, 00:10:58, Serial2/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, FastEthernet0/0
13.0.0.0/24 is subnetted, 1 subnets
C 13.1.1.0 is directly connected, FastEthernet1/0
14.0.0.0/24 is subnetted, 1 subnets
C 14.1.1.0 is directly connected, Serial2/0

以上是关于57-高级路由:分发列表:多协议分发列表实验:DVLS的主要内容,如果未能解决你的问题,请参考以下文章

56-高级路由:分发列表:LS协议应用

大型公司网络之——OSPF高级配置(实验)

分发列表实现路由控制过滤(RIP)实验

distribute-list(分发列表)控制路由更新使用

多种动态路由混合架构实验——OSPF协议+RIP协议+静态路由

OSPF高级配置实操——大型公司环境部署