日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

OSPF中的frame-relay(6) NBMA-broadcast

發布時間:2025/3/17 编程问答 47 豆豆
生活随笔 收集整理的這篇文章主要介紹了 OSPF中的frame-relay(6) NBMA-broadcast 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
!
hostname R1
!
no ip domain lookup
!
interface Loopback0
?ip address 1.1.1.1 255.255.255.255 router ospf 1
?network 0.0.0.0 255.255.255.255 area 0 在這里可以看到,在R1上可以動態獲得到達R1,R2的DLCI號,因為在幀中繼交換機上配置了PVC:
R1#show frame-relay map
Serial1/0 (up): ip 192.168.1.2 dlci 100(0x64,0x1840), static,
????????????? broadcast,
????????????? CISCO, status defined, active
Serial1/0 (up): ip 192.168.1.3 dlci 200(0xC8,0x3080), dynamic,
????????????? broadcast,, status defined, active R1#show ip route Gateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnets
C?????? 1.1.1.1 is directly connected, Loopback0
???? 2.0.0.0/32 is subnetted, 1 subnets
O?????? 2.2.2.2 [110/65] via 192.168.1.2, 00:02:19, Serial1/0
???? 3.0.0.0/32 is subnetted, 1 subnets
O?????? 3.3.3.3 [110/65] via 192.168.1.3, 00:02:19, Serial1/0
C??? 192.168.1.0/24 is directly connected, Serial1/0 R1#show ip ospf neig Neighbor ID???? Pri?? State?????????? Dead Time?? Address???????? Interface
2.2.2.2?????????? 0?? FULL/DROTHER??? 00:00:37??? 192.168.1.2???? Serial1/0
3.3.3.3?????????? 0?? FULL/DROTHER??? 00:00:32??? 192.168.1.3???? Serial1/0
R1#ping 192.168.1.2 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 168/262/472 ms R1#ping 192.168.1.3 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
!!!!!
!
hostname R2
!
interface Loopback0
?ip address 2.2.2.2 255.255.255.255
!
interface Serial1/0
?ip address 192.168.1.2 255.255.255.0
?encapsulation frame-relay
//將NBMA設置成廣播類型的網絡
?ip ospf network broadcast
?ip ospf priority 0
!
router ospf 1
?log-adjacency-changes
?network 0.0.0.0 255.255.255.255 area 0
R2#ping 192.168.1.1 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!! Serial1/0 (up): ip 0.0.0.0 dlci 100(0x64,0x1840)
????????????? broadcast,
????????????? CISCO, status defined, active
Serial1/0 (up): ip 192.168.1.1 dlci 100(0x64,0x1840), dynamic,
????????????? broadcast,, status defined, active R2#show ip route
Gateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnets
O?????? 1.1.1.1 [110/65] via 192.168.1.1, 00:10:54, Serial1/0
???? 2.0.0.0/32 is subnetted, 1 subnets
C?????? 2.2.2.2 is directly connected, Loopback0
???? 3.0.0.0/32 is subnetted, 1 subnets
O?????? 3.3.3.3 [110/65] via 192.168.1.3, 00:10:54, Serial1/0
C??? 192.168.1.0/24 is directly connected, Serial1/0 R2#show ip ospf neig Neighbor ID???? Pri?? State?????????? Dead Time?? Address???????? Interface
1.1.1.1?????????? 1?? FULL/DR???????? 00:00:33??? 192.168.1.1???? Serial1/0 //可以在路由表中看到R3的RID號,但是,在R2上卻PING不通R2的接口IP
//這是因為在R2中沒有到達R3接口DLCI號,沒有辦法封裝 R2#ping 192.168.1.3 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5) 但是在R2的接口inter s 1/0配置了Frame-relay map ip 后:
R2(config)#inte s 1/0 R2(config-if)#frame-relay map ip 192.168.1.3 100 broadcast //這個 broadcast 必須指定,因為該網絡為NBMA廣播 //可以從下面看到已經PING得通了
R2#ping 192.168.1.3 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
!!!!! !
hostname R3
!
interface Loopback0
?ip address 3.3.3.3 255.255.255.255
interface Serial1/0
?ip address 192.168.1.3 255.255.255.0
?encapsulation frame-relay
?ip ospf network broadcast
?ip ospf priority 0
?serial restart-delay 0
?frame-relay map ip 192.168.1.1 200 broadcast
?frame-relay map ip 192.168.1.2 200 broadcast?? //必須指定
!
router ospf 1
?network 0.0.0.0 255.255.255.255 area 0 R3#show ip ospf neig Neighbor ID???? Pri?? State?????????? Dead Time?? Address???????? Interface
1.1.1.1?????????? 1?? FULL/DR???????? 00:00:37??? 192.168.1.1???? Serial1/0
R3#show ip route Gateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnets
O?????? 1.1.1.1 [110/65] via 192.168.1.1, 00:04:36, Serial1/0
???? 2.0.0.0/32 is subnetted, 1 subnets
O?????? 2.2.2.2 [110/65] via 192.168.1.2, 00:04:36, Serial1/0
???? 3.0.0.0/32 is subnetted, 1 subnets
C?????? 3.3.3.3 is directly connected, Loopback0
C??? 192.168.1.0/24 is directly connected, Serial1/0 R3#show frame-relay map
Serial1/0 (up): ip 192.168.1.1 dlci 200(0xC8,0x3080), static,
????????????? broadcast,
????????????? CISCO, status defined, active
Serial1/0 (up): ip 192.168.1.2 dlci 200(0xC8,0x3080), static,
????????????? broadcast,
????????????? CISCO, status defined, active
R3#ping 192.168.1.2 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!

轉載于:https://blog.51cto.com/xiaomu205/150889

新人創作打卡挑戰賽發博客就能抽獎!定制產品紅包拿不停!

總結

以上是生活随笔為你收集整理的OSPF中的frame-relay(6) NBMA-broadcast的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。