静态、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测试互通性

右侧到左侧的ping测试互通性

 

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值