这期内容当中小编将会给大家带来有关静态、rip、eigrp与ospf路由重发布的实例分析,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。
实验名称:静态、rip、eigrp与ospf路由重发布综合实验
实验目的:熟练运用和配置各种协议路由重发布
实验设计:
1、 以ospf的多区互联为实验框架
2、 配置静态路由的重发布,实现与ospf区域的互通
3、 配置rip的重发布,实现接入层与ospf区域的互通
4、 配置eigrp的重发布,实现与ospf区域的互通
实验拓扑图:
主要配置过程:
router 0:
interface Loopback1
ip address 192.168.0.1 255.255.255.0
interface FastEthernet0/0
ip address 192.168.20.1 255.255.255.0
interface Serial0/1/0
ip address 192.168.1.1 255.255.255.0
clock rate 64000
router ospf 100
log-adjacency-changes
redistribute rip subnets
network 192.168.1.0 0.0.0.255 area 1
!
router rip
version 2
network 192.168.20.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.2
router 1:
interface Serial0/1/0
ip address 192.168.1.2 255.255.255.0
!
interface Serial0/1/1
ip address 192.168.2.1 255.255.255.0
clock rate 64000
interface FastEthernet0/0
ip address 192.168.4.1 255.255.255.0
router ospf 200
log-adjacency-changes
redistribute static
network 192.168.1.0 0.0.0.255 area 1
network 192.168.2.0 0.0.0.255 area 0
network 192.168.4.0 0.0.0.255 area 0
!
ip classless
ip route 192.168.0.0 255.255.255.0 192.168.1.1
router 2:
interface Serial0/1/0
ip address 192.168.2.2 255.255.255.0
!
interface Serial0/1/1
ip address 192.168.3.1 255.255.255.0
clock rate 64000
interface FastEthernet0/0
ip address 192.168.5.1 255.255.255.0
router eigrp 100
redistribute ospf 300 metric 10000 100 255 1 1500
network 192.168.3.0
auto-summary
!
router ospf 300
log-adjacency-changes
redistribute eigrp 100 subnets
network 192.168.2.0 0.0.0.255 area 0
network 192.168.5.0 0.0.0.255 area 0
router 3:
interface FastEthernet0/0
ip address 192.168.4.2 255.255.255.0
interface FastEthernet0/1
ip address 192.168.5.2 255.255.255.0
router ospf 400
log-adjacency-changes
network 192.168.0.0 0.0.255.255 area 0
router 4:
interface Loopback1
ip address 192.168.100.100 255.255.255.0
!
interface Loopback2
ip address 192.168.200.200 255.255.255.0
interface Serial0/1/0
ip address 192.168.3.2 255.255.255.0
router eigrp 100
network 192.168.3.0
network 192.168.100.0
network 192.168.200.0
auto-summary
最后测试:
左侧到右侧的ping测试互通性
上述就是小编为大家分享的静态、rip、eigrp与ospf路由重发布的实例分析了,如果刚好有类似的疑惑,不妨参照上述分析进行理解。如果想知道更多相关知识,欢迎关注亿速云行业资讯频道。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。