OSPF、EIGRP、RIP、静态路由的重分布综合试验
2011-12-30 21:17
330 查看
OSPF、EIGRP、RIP、静态路由的重分布综合试验
.net文件就不发了,简单的直连。
看下R2、R4、R5的sh run文件和路由表
R2的核心配置文件
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
router ospf 100
log-adjacency-changes
redistribute rip subnets
network 192.168.2.0 0.0.0.255 area 0
!
router rip
redistribute ospf 100
network 192.168.1.0
default-metric 2
R4的核心配置
interface FastEthernet0/0
ip address 192.168.3.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.4.1 255.255.255.0
duplex auto
speed auto
!
router eigrp 100
redistribute ospf 100
network 192.168.4.0
default-metric 1000 10 1 255 1500
auto-summary
!
router ospf 100
log-adjacency-changes
redistribute eigrp 100 subnets
network 192.168.3.0 0.0.0.255 area 0
default-metric 64
R5的核心配置
interface FastEthernet0/0
ip address 192.168.5.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.4.2 255.255.255.0
duplex auto
speed auto
!
router eigrp 100
network 6.6.6.6 0.0.0.0
network 192.168.4.0
network 192.168.5.0
auto-summary
!
router ospf 100
log-adjacency-changes
no auto-cost
!
ip classless
ip route 6.6.6.6 255.255.255.255 FastEthernet0/0
R2的路由表
R 1.0.0.0/8 [120/1] via 192.168.1.1, 00:00:26, FastEthernet0/0
6.0.0.0/32 is subnetted, 1 subnets
O E2 6.6.6.6 [110/64] via 192.168.2.2, 00:10:28, FastEthernet0/1
O E2 192.168.4.0/24 [110/64] via 192.168.2.2, 00:36:14, FastEthernet0/1
O E2 192.168.5.0/24 [110/64] via 192.168.2.2, 00:09:24, FastEthernet0/1
C 192.168.1.0/24 is directly connected, FastEthernet0/0
C 192.168.2.0/24 is directly connected, FastEthernet0/1
O 192.168.3.0/24 [110/2] via 192.168.2.2, 00:37:01, FastEthernet0/1
R4的路由表
O E2 1.0.0.0/8 [110/20] via 192.168.3.1, 00:37:36, FastEthernet0/0
6.0.0.0/32 is subnetted, 1 subnets
D 6.6.6.6 [90/30720] via 192.168.4.2, 00:11:03, FastEthernet0/1
C 192.168.4.0/24 is directly connected, FastEthernet0/1
D 192.168.5.0/24 [90/30720] via 192.168.4.2, 00:09:59, FastEthernet0/1
O E2 192.168.1.0/24 [110/20] via 192.168.3.1, 00:37:36, FastEthernet0/0
O 192.168.2.0/24 [110/2] via 192.168.3.1, 00:37:36, FastEthernet0/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0
R5的路由表
D EX 1.0.0.0/8 [170/2565120] via 192.168.4.1, 00:36:35, FastEthernet0/1
6.0.0.0/32 is subnetted, 1 subnets
S 6.6.6.6 is directly connected, FastEthernet0/0
C 192.168.4.0/24 is directly connected, FastEthernet0/1
C 192.168.5.0/24 is directly connected, FastEthernet0/0
D EX 192.168.1.0/24 [170/2565120] via 192.168.4.1, 00:36:35, FastEthernet0/1
D EX 192.168.2.0/24 [170/2565120] via 192.168.4.1, 00:36:35, FastEthernet0/1
D EX 192.168.3.0/24 [170/2565120] via 192.168.4.1, 00:36:35, FastEthernet0/1
本文出自 “网络技术交流” 博客,请务必保留此出处http://tianfuhua.blog.51cto.com/4154152/755008
.net文件就不发了,简单的直连。
看下R2、R4、R5的sh run文件和路由表
R2的核心配置文件
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
router ospf 100
log-adjacency-changes
redistribute rip subnets
network 192.168.2.0 0.0.0.255 area 0
!
router rip
redistribute ospf 100
network 192.168.1.0
default-metric 2
R4的核心配置
interface FastEthernet0/0
ip address 192.168.3.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.4.1 255.255.255.0
duplex auto
speed auto
!
router eigrp 100
redistribute ospf 100
network 192.168.4.0
default-metric 1000 10 1 255 1500
auto-summary
!
router ospf 100
log-adjacency-changes
redistribute eigrp 100 subnets
network 192.168.3.0 0.0.0.255 area 0
default-metric 64
R5的核心配置
interface FastEthernet0/0
ip address 192.168.5.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.4.2 255.255.255.0
duplex auto
speed auto
!
router eigrp 100
network 6.6.6.6 0.0.0.0
network 192.168.4.0
network 192.168.5.0
auto-summary
!
router ospf 100
log-adjacency-changes
no auto-cost
!
ip classless
ip route 6.6.6.6 255.255.255.255 FastEthernet0/0
R2的路由表
R 1.0.0.0/8 [120/1] via 192.168.1.1, 00:00:26, FastEthernet0/0
6.0.0.0/32 is subnetted, 1 subnets
O E2 6.6.6.6 [110/64] via 192.168.2.2, 00:10:28, FastEthernet0/1
O E2 192.168.4.0/24 [110/64] via 192.168.2.2, 00:36:14, FastEthernet0/1
O E2 192.168.5.0/24 [110/64] via 192.168.2.2, 00:09:24, FastEthernet0/1
C 192.168.1.0/24 is directly connected, FastEthernet0/0
C 192.168.2.0/24 is directly connected, FastEthernet0/1
O 192.168.3.0/24 [110/2] via 192.168.2.2, 00:37:01, FastEthernet0/1
R4的路由表
O E2 1.0.0.0/8 [110/20] via 192.168.3.1, 00:37:36, FastEthernet0/0
6.0.0.0/32 is subnetted, 1 subnets
D 6.6.6.6 [90/30720] via 192.168.4.2, 00:11:03, FastEthernet0/1
C 192.168.4.0/24 is directly connected, FastEthernet0/1
D 192.168.5.0/24 [90/30720] via 192.168.4.2, 00:09:59, FastEthernet0/1
O E2 192.168.1.0/24 [110/20] via 192.168.3.1, 00:37:36, FastEthernet0/0
O 192.168.2.0/24 [110/2] via 192.168.3.1, 00:37:36, FastEthernet0/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0
R5的路由表
D EX 1.0.0.0/8 [170/2565120] via 192.168.4.1, 00:36:35, FastEthernet0/1
6.0.0.0/32 is subnetted, 1 subnets
S 6.6.6.6 is directly connected, FastEthernet0/0
C 192.168.4.0/24 is directly connected, FastEthernet0/1
C 192.168.5.0/24 is directly connected, FastEthernet0/0
D EX 192.168.1.0/24 [170/2565120] via 192.168.4.1, 00:36:35, FastEthernet0/1
D EX 192.168.2.0/24 [170/2565120] via 192.168.4.1, 00:36:35, FastEthernet0/1
D EX 192.168.3.0/24 [170/2565120] via 192.168.4.1, 00:36:35, FastEthernet0/1
本文出自 “网络技术交流” 博客,请务必保留此出处http://tianfuhua.blog.51cto.com/4154152/755008
相关文章推荐
- 路由知识 静态路由 rip eigrp ospf
- 关于eigrp,ospf,rip的综合实验
- 【视频】CCNA——路由协议(静态路由协议、RIP、EIGRP、OSPF)的基本配置
- 路由重分布 rip,eigrp,和ospf
- 路由知识 静态路由 rip eigrp ospf
- Rip/eigrp/ospf综合应用
- EIGRP-RIP-OSPF重分布实验
- 路由重分布 rip,eigrp,和ospf
- EIGRP,OSPF,RIP.以及静态路由的技术细节
- 路由协议 RIP、IGRP、OSPF和EIGRP 的对比
- 被动接口在rip,eigrp,ospf中的应用
- NSSA RIP&OSPF 路由重分布
- rip、eigrp、ospf应用比较
- RIP,EIGRP,OSPF路由重分发实验(9)
- RIP与OSPF路由重分布
- RIP-OSPF-EIGRP 相互再发布
- rip与ospf路由重分布
- RIP,IGRP,EIGRP,OSPF的对比总结
- OSPF 区域 RIP EIGRP 注入 推荐
- 多路径路由算法选择(2)——回顾传统的动态路由协议(RIP、OSPF、BGP、IGRP、EIGRP、IS-IS)