码迷,mamicode.com
首页 > 系统相关 > 详细

[cisco][LAB]OSPF in NBMA

时间:2020-02-06 23:03:47      阅读:85      评论:0      收藏:0      [点我收藏+]

标签:bsp   arp   name   inf   ram   work   图片   switch   delay   

NBMA為一種沒有廣播類型的的網路連接,這會使得OSPF建立需要手動設定

 

拓樸如下:

技术图片

 

 

R1#

!
interface Loopback0
 ip address 172.16.1.1 255.255.255.0
 ip ospf network point-to-point
!
interface Serial2/0
 ip address 192.168.1.1 255.255.255.0
 encapsulation frame-relay
 ip ospf network point-to-multipoint
 serial restart-delay 0
 frame-relay map ip 192.168.1.2 102 broadcast
 frame-relay map ip 192.168.1.3 103 broadcast
 no frame-relay inverse-arp
!
!
router ospf 1
 network 172.16.1.0 0.0.0.255 area 0
 network 192.168.1.0 0.0.0.255 area 0
!

R2#

!
interface Loopback0
 ip address 172.16.3.1 255.255.255.0
 ip ospf network point-to-point
!
interface Serial2/0
 ip address 192.168.1.2 255.255.255.0
 encapsulation frame-relay
 ip ospf network point-to-multipoint
 serial restart-delay 0
 frame-relay map ip 192.168.1.1 201 broadcast
 no frame-relay inverse-arp
!
router ospf 1
 network 172.16.3.0 0.0.0.255 area 0
 network 192.168.1.0 0.0.0.255 area 0
!

R3#

!
interface Loopback0
 ip address 172.16.4.1 255.255.255.0
 ip ospf network point-to-point
!
interface Serial2/0
 ip address 192.168.1.3 255.255.255.0
 encapsulation frame-relay
 ip ospf network point-to-multipoint
 serial restart-delay 0
 frame-relay map ip 192.168.1.1 301 broadcast
 no frame-relay inverse-arp
!
!
router ospf 1
 network 172.16.4.0 0.0.0.255 area 0
 network 192.168.1.0 0.0.0.255 area 0
!

R4為frame-relay switch的設定

hostname SW
!

!
frame-relay switching
!
interface Serial2/1
 no ip address
 encapsulation frame-relay

 frame-relay intf-type dce
 frame-relay route 102 interface Serial2/2 201
 frame-relay route 103 interface Serial2/3 301
 no sh 
!
interface Serial2/2
 no ip address
 encapsulation frame-relay
 
 frame-relay intf-type dce
 frame-relay route 201 interface Serial2/1 102
 no sh 
 
interface Serial2/3
 no ip address
 encapsulation frame-relay
 
 frame-relay intf-type dce
 frame-relay route 301 interface Serial2/1 103
 no sh

 

[cisco][LAB]OSPF in NBMA

标签:bsp   arp   name   inf   ram   work   图片   switch   delay   

原文地址:https://www.cnblogs.com/jbite9057/p/12271325.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!