[cisco][LAB]OSPF in NBMA
Posted jbite9057
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[cisco][LAB]OSPF in NBMA相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章