您好,登錄后才能下訂單哦!
要求:全網(wǎng)互通
[R1]
[R1]INT E0/0/0
[R1-Ethernet0/0/0]ip address 13.1.1.1 24
[R1-Ethernet0/0/0]int e0/0/1
[R1-Ethernet0/0/1]ip address 12.1.1.1 24
[R1-Ethernet0/0/1]q
[R1]ospf 1 router-id 1.1.1.1(ospf的router-id)
[R1-ospf-1]area 0(為骨干區(qū)域,創(chuàng)建area 0)
[R1-ospf-1-area-0.0.0.0]network 13.1.1.0 0.0.0.255(宣告屬于area0區(qū)域的接口)
[R1-ospf-1-area-0.0.0.0]network 12.1.1.0 0.0.0.255
[R2]
[R2]int e0/0/0
[R2-Ethernet0/0/0]ip address 24.1.1.2 24
[R2-Ethernet0/0/0]int e0/0/1
[R2-Ethernet0/0/1]ip address 12.1.1.2 24
[R2-Ethernet0/0/1]q
[R2]ospf 1 router-id 2.2.2.2
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]network 12.1.1.0 0.0.0.255
[R2-ospf-1-area-0.0.0.0]network 24.1.1.0 0.0.0.255
[R3]
[R3]int e0/0/0
[R3-Ethernet0/0/0]ip address 13.1.1.3 24
[R3-Ethernet0/0/0]int e0/0/1
[R3-Ethernet0/0/1]ip address 34.4.4.3 24
[R3-Ethernet0/0/1]q
[R3]ospf 1 router-id 3.3.3.3
[R3-ospf-1]area 0
[R3-ospf-1-area-0.0.0.0]network 13.1.1.0 0.0.0.255
[R3-ospf-1-area-0.0.0.0]network 34.1.1.0 0.0.0.255
[R4]
[R4]int e0/0/0
[R4-Ethernet0/0/0]ip address 34.1.1.4 24
[R4-Ethernet0/0/0]int e0/0/1
[R4-Ethernet0/0/1]ip address 24.1.1.4 24
[R4-Ethernet0/0/1]q
[R4]ospf 1 router-id 4.4.4.4
[R4-ospf-1]area 0
[R4-ospf-1-area-0.0.0.0]network 34.1.1.0 0.0.0.255
[R4-ospf-1-area-0.0.0.0]network 24.1.1.0 0.0.0.255
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。