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

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

RIP,EIGRP,OSPF融合网络互通实验(原创)

發(fā)布時(shí)間:2025/3/8 编程问答 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 RIP,EIGRP,OSPF融合网络互通实验(原创) 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

首先看拓?fù)?#xff1a;

?

?

一個(gè)面試考官問我一個(gè)這樣的問題,拓?fù)淙缟?#xff0c;為什么R1上的lo0 PING 不通 R6 上的lo0,說是一切都按正常配置,說是考我EIGRP的特性。我當(dāng)然很納悶,如果都正常配置怎么會(huì)不通呢,最后他告訴我主要是考我,EIGRP的域內(nèi)管理距離是90,域外管理距離是170。當(dāng)時(shí)可能不夠自信也沒多想,回來后越想越不對(duì),一般來說,只有到達(dá)目的地有兩條路由的時(shí)候才會(huì)考慮管理距離,但這里沒有這個(gè)情況啊,于是自已設(shè)計(jì)了一個(gè)實(shí)驗(yàn)加以驗(yàn)證,結(jié)果是,可以通。

R3 與 R5? R4與R5 使用幀中繼相連,DLCI號(hào)分別為:305 503 405 504

幀中繼只能用點(diǎn)到點(diǎn)子接口。

主要配置如下:

R1:

interface Loopback0
?ip address 1.1.1.1 255.255.255.0

interface Serial1/1
?ip address 10.10.12.1 255.255.255.252

router rip
?version 2
?network 1.0.0.0
?network 10.0.0.0
?no auto-summary

?

R2:

interface FastEthernet0/0
?ip address 10.10.24.1 255.255.255.252
?duplex half
!
interface Serial1/0
?ip address 10.10.12.2 255.255.255.252
?serial restart-delay 0
?clock rate 64000

router eigrp 1
?redistribute rip metric 10000 100 255 1 1500
?network 10.10.23.0 0.0.0.255
?network 10.10.24.0 0.0.0.255
?no auto-summary
!
router rip
?version 2
?redistribute eigrp 1 metric 2
?network 10.0.0.0
?no auto-summary

R3:

interface Serial1/0
?ip address 10.10.23.2 255.255.255.252
?serial restart-delay 0
!

interface Serial1/2
?ip address 10.10.35.1 255.255.255.252
?encapsulation frame-relay
?serial restart-delay 0
?frame-relay map ip 10.10.35.2 305 broadcast?? //靜態(tài)映射,DLCI號(hào)是幀中繼交換分配置的,如果不配置就不通。

?no frame-relay inverse-arp //靜態(tài)映射要關(guān)閉反向ARP

router eigrp 1
?network 10.10.23.0 0.0.0.255
?network 10.10.35.0 0.0.0.255
?no auto-summary
!

R4:

interface FastEthernet0/0
?ip address 10.10.24.2 255.255.255.252
?duplex half

interface Serial1/2
?ip address 10.10.45.1 255.255.255.252
?encapsulation frame-relay
?serial restart-delay 0
?frame-relay map ip 10.10.45.2 405 broadcast
?no frame-relay inverse-arp

router eigrp 1
?network 10.10.24.0 0.0.0.255
?network 10.10.34.0 0.0.0.255
?network 10.10.45.0 0.0.0.255
?no auto-summary

?

R5:

interface Serial1/1
?ip address 10.10.56.1 255.255.255.252
?serial restart-delay 0

interface Serial1/2.1 point-to-point
?ip address 10.10.45.2 255.255.255.252
?frame-relay interface-dlci 504??
!
interface Serial1/2.2 point-to-point
?ip address 10.10.35.2 255.255.255.252
?frame-relay interface-dlci 503??

router eigrp 1
?redistribute ospf 100 metric 10000 100 255 1 1500
?network 10.10.35.0 0.0.0.255
?network 10.10.45.0 0.0.0.255
?no auto-summary
!
router ospf 100
?log-adjacency-changes
?redistribute eigrp 1 subnets?? //默認(rèn)為TYPE 2,cost 為20
network 10.10.56.0 0.0.0.255 area 0

?

R6:

interface Serial1/0
?ip address 10.10.56.2 255.255.255.252
?serial restart-delay 0

router ospf 100
?log-adjacency-changes
?network 6.6.6.0 0.0.0.255 area 0
?network 10.10.56.0 0.0.0.255 area 0

?

結(jié)果測(cè)試:R1 PING R6

R1#ping 6.6.6.6 so 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 6.6.6.6, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/92/132 ms
R1#

R6 PING R1

R6#ping 1.1.1.1 so 6.6.6.6

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
Packet sent with a source address of 6.6.6.6
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 84/102/120 ms
R6#

轉(zhuǎn)載于:https://blog.51cto.com/xingno/384556

總結(jié)

以上是生活随笔為你收集整理的RIP,EIGRP,OSPF融合网络互通实验(原创)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。