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

 

 

你可能感兴趣的:(静态,职场,休闲,rip,EIGRP,eigrp与ospf路由重发布)