[cisco][LAB]OSPF in NBMA
2024-09-08 18:42:41
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
最新文章
- react+redux官方实例TODO从最简单的入门(5)-- 查
- Java集合框架知识总结
- 深入理解PHP内核(七)变量及数据类型-常量
- Ruby--String
- 卷积神经网络的初步理解LeNet-5(转)
- phpwind数据同步本地之后板块排版乱
- ArcGIS Engine 下投影坐标和经纬度坐标的相互转换
- arranging-coins
- 【Java】SHA加密
- [ios]ios的延迟执行方法
- JavaScript this 局部变量全局变量 作用域 作用域链 闭包
- 投资新兴市场和细分市场 good
- Win7/8在用账户密码登录时, 设置成保留用户名, 只输入密码
- 【原创】python实现视频内的face swap(换脸)
- Menubutton按钮弹出菜单
- selenium常用内容
- 在tomcat下部署两个或多个项目时 log4j和web.xml配置webAppRootKey 的问题(转)
- axios中的this指向问题
- Scara机器人微分运动
- centos7 搭建svn服务器