双点双向重分布

  • 格式:pdf
  • 大小:462.19 KB
  • 文档页数:8

下载文档原格式

  / 8
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

们都说,眼见为实,今天自己做了一下ospf与rip的双点双向重发布,终于看到了想要的效果,哈哈哈…………

如图r1、r2、r3上起ospf协议,r2、r3、r4、r5上起rip协议。然后在r2、r3上进行重发布。r1配置:

interface Loopback0

ip address 1.1.1.1 255.255.255.255

interface Serial0/1

ip address 10.1.1.1 255.255.255.0

encapsulation frame-relay

ip ospf network point-to-multipoint

ip ospf hello-interval 10

serial restart-delay 0

no arp frame-relay

frame-relay map ip 10.1.1.2 102 broadcast

frame-relay map ip 10.1.1.3 103 broadcast

no frame-relay inverse-arp

router ospf 1

log-adjacency-changes

network 1.1.1.1 0.0.0.0 area 0

network 10.1.1.1 0.0.0.0 area 0

r2配置:

interface Loopback0

ip address 2.2.2.2 255.255.255.255

interface Serial0/1

ip address 10.1.1.2 255.255.255.0

encapsulation frame-relay

ip ospf network point-to-point

serial restart-delay 0

no arp frame-relay

frame-relay map ip 10.1.1.1 201 broadcast frame-relay map ip 10.1.1.3 201 broadcast no frame-relay inverse-arp

interface Ethernet1/0

ip address 24.1.1.2 255.255.255.0

router ospf 1

log-adjacency-changes

redistribute rip metric 100 subnets network 2.2.2.2 0.0.0.0 area 0

network 10.1.1.2 0.0.0.0 area 0

router rip

version 2

redistribute ospf 1 metric 4

network 24.0.0.0

r3配置:

interface Loopback0

ip address 3.3.3.3 255.255.255.255

interface Serial0/1

ip address 10.1.1.3 255.255.255.0 encapsulation frame-relay

ip ospf network point-to-point

serial restart-delay 0

no arp frame-relay

frame-relay map ip 10.1.1.1 301 broadcast frame-relay map ip 10.1.1.2 301 broadcast no frame-relay inverse-arp

interface Ethernet1/0

ip address 34.1.1.3 255.255.255.0

router ospf 1

log-adjacency-changes

redistribute rip metric 100 subnets network 3.3.3.3 0.0.0.0 area 0

network 10.1.1.3 0.0.0.0 area 0

router rip

version 2

redistribute ospf 1 metric 5 network 34.0.0.0

no auto-summary

r4配置:

interface Ethernet1/0

ip address 24.1.1.4 255.255.255.0 half-duplex

!

interface Ethernet1/1

ip address 34.1.1.4 255.255.255.0 half-duplex

!

interface Ethernet1/2

ip address 45.1.1.4 255.255.255.0 half-duplex

router rip

version 2

network 24.0.0.0

network 34.0.0.0

network 45.0.0.0

no auto-summary

r5配置:

interface Loopback0

ip address 5.5.5.5 255.255.255.255

interface Ethernet0/2

ip address 45.1.1.5 255.255.255.0 half-duplex

router rip

version 2

network 5.0.0.0

network 45.0.0.0

no auto-summary