午夜无码人妻aⅴ大片色欲张津瑜,国产69久久久欧美黑人A片,色妺妺视频网,久久久久国产综合AV天堂

OSPF基本配置-創(chuàng)新互聯(lián)

【實(shí)驗(yàn)?zāi)康摹?/p>

鄰水ssl適用于網(wǎng)站、小程序/APP、API接口等需要進(jìn)行數(shù)據(jù)傳輸應(yīng)用場(chǎng)景,ssl證書未來市場(chǎng)廣闊!成為創(chuàng)新互聯(lián)的ssl證書銷售渠道,可以享受市場(chǎng)價(jià)格4-6折優(yōu)惠!如果有意向歡迎電話聯(lián)系或者加微信:028-86922220(備注:SSL證書合作)期待與您的合作!

掌握在路由器上配置 OSPF 單區(qū)域。

【背景描述】

假設(shè)校園網(wǎng)通過 1 臺(tái)三層交換機(jī)連到校園網(wǎng)出口路由器,路由器再和校園外的另 1 臺(tái)

路由器連接,現(xiàn)做適當(dāng)配置,實(shí)現(xiàn)校園網(wǎng)內(nèi)部主機(jī)與校園網(wǎng)外部主機(jī)的相互通信。

本實(shí)驗(yàn)以兩臺(tái)路由器、1 臺(tái)三層交換機(jī)為例。S3550 上劃分有 VLAN10 和 VLAN50,

其中 VLAN10 用于連接 RA,VLAN50 用于連接校園網(wǎng)主機(jī)。

【需求分析】

需要在路由器和交換機(jī)上配置 OSPF 路 由協(xié)議,使全網(wǎng)互通,從而實(shí)現(xiàn)信息的共享和

傳遞。

【實(shí)驗(yàn)設(shè)備】

三層交換機(jī) 1 臺(tái)

路由器 2 臺(tái)

交叉線或直連線 3 條

【預(yù)備知識(shí)】

路由器基本配置知識(shí)、OSPF

【實(shí)驗(yàn)原理】

OSPF(Open Shortest Path First,開放式最短路徑優(yōu)先)協(xié)議,是目前網(wǎng)絡(luò)中應(yīng)用最

廣泛的路由協(xié)議之一。屬于內(nèi)部網(wǎng)關(guān)路由協(xié)議,能夠適應(yīng)各種規(guī)模的網(wǎng)絡(luò)環(huán)境,是典型的鏈

路狀態(tài)(link-state)協(xié)議。

OSPF 路由協(xié)議通過向全網(wǎng)擴(kuò)散本設(shè)備的鏈路狀態(tài)信息,使網(wǎng)絡(luò)中每臺(tái)設(shè)備最終同步一

個(gè)具有全網(wǎng)鏈路狀態(tài)的數(shù)據(jù)庫(kù)(LSDB),然后路由器采用 SPF 算法,以自己為根,計(jì)算到

達(dá)其他網(wǎng)絡(luò)的最短路徑,最終形成全網(wǎng)路由信息。

OSPF 屬于無類路由協(xié)議,支持 VLSM(變長(zhǎng)子網(wǎng)掩碼)。OSPF 是以組播的形式進(jìn)行

鏈路狀態(tài)的通告的。

在大模型的網(wǎng)絡(luò)環(huán)境中,OSPF 支持區(qū)域的劃分,將網(wǎng)絡(luò)進(jìn)行合理規(guī)劃。劃分區(qū)域時(shí)必

須存在 area0(骨干區(qū)域)。其他區(qū)域和骨干區(qū)域直接相連,或通過虛鏈路的方式連接。

【實(shí)驗(yàn)步驟】

第一步:在路由器和三層交換機(jī)配置 IP  地址

switch#configure terminal

switch(config)#hostname S3750

S3750(config)#vlan 10

S3750(config-vlan)#exit

S3750(config)#vlan 50

S3750(config-vlan)#exit

S3750(config)#interface f0/1

S3750(config-if)#switchport access vlan 10

S3750(config-if)#exit

S3750(config)#interface f0/2

S3750(config-if)#switchport access vlan 50

S3750(config-if)#exit

S3750(config)#interface vlan 10

S3750(config-if)#ip address 172.16.1.2 255.255.255.0

S3750(config-if)#no shutdown

S3750(config-if)#exit

S3750(config)#interface vlan 50

S3750(config-if)#ip address 172.16.5.1 255.255.255.0

S3750(config-if)#no shutdown

S3750(config-if)#exit

RouterA(config)# interface fastethernet 0/1

RouterA(config-if)# ip address 172.16.1.1 255.255.255.0

RouterA(config-if)# no shutdown

RouterA(config-if)#exit

RouterA(config)# interface fastethernet 0/0

RouterA(config-if)# ip address 172.16.2.1 255.255.255.0

RouterB(config-if)# no shutdown

RouterB(config)# interface fastethernet 0/1

RouterB(config-if)# ip address 172.16.3.1 255.255.255.0

RouterB(config-if)# no shutdown

RouterB(config-if)#exit

RouterB(config)# interface fastethernet 0/0

RouterB(config-if)# ip address 172.16.2.2 255.255.255.0

RouterB(config-if)# no shutdown

第二步:配置 OSPF  路由協(xié)議

S3750(config)#router ospf

S3750(config-router)#network 172.16.5.0 0.0.0.255 area 0

S3750(config-router)#network 172.16.1.0 0.0.0.255 area 0

S3750(config-router)#end

RouterA(config)# router ospf

RouterA(config-router)#network 172.16.1.0 0.0.0.255 area 0

RouterA(config-router)#network 172.16.2.0 0.0.0.255 area 0

RouterA(config-router)#end

RouterB(config)#router ospf

RouterB(config-router)#network 172.16.2.0 0.0.0.255 area 0

RouterB(config-router)#network 172.16.3.0 0.0.0.255 area 0

RouterB(config-router)#end

第三步:驗(yàn)證測(cè)試

S3750#show vlan

VLAN Name Status Ports

---- -------------------------------- --------- -----------------------------------

1 VLAN0001 STATIC Fa0/3, Fa0/4, Fa0/5, Fa0/6

Fa0/7, Fa0/8, Fa0/9, Fa0/10

Fa0/11, Fa0/12, Fa0/13,

Fa0/14 Fa0/15, Fa0/16,

Fa0/17, Fa0/18, Fa0/22

Fa0/19, Fa0/20, Fa0/21,

Fa0/23, Fa0/24, Gi0/25,

Gi0/26 ,Gi0/27, Gi0/28

10 VLAN0010 STATIC Fa0/1

50 VLAN0050 STATIC Fa0/2

S3750#show ip interface brief

Interface IP-Address(Pri) OK? Status

VLAN 10 172.16.1.2/24 YES UP

VLAN 50 172.16.5.1/24 YES UP

RA#show ip interface brief

Interface IP-Address(Pri) OK? Status

FastEthernet 0/0 172.16.2.1/24 YES UP

FastEthernet 0/1 172.16.1.1/24 YES UP

RB#show ip interface brief

Interface IP-Address(Pri) OK? Status

FastEthernet 0/0 172.16.2.2/24 YES UP

FastEthernet 0/1 172.16.1.3/24 YES UP

Loopback 0 no address YES DOWN

S3750#show ip route

Codes: C - connected, S - static, R - RIP B - BGP

O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default

Gateway of last resort is no set

C 172.16.1.0/24 is directly connected, VLAN 10

C 172.16.1.2/32 is local host.

O 172.16.2.0/24 [110/2] via 172.16.1.1, 00:14:09, VLAN 10

O 172.16.3.0/24 [110/3] via 172.16.1.1, 00:04:39, VLAN 10

C 172.16.5.0/24 is directly connected, VLAN 50

C 172.16.5.1/32 is local host.

RA#show ip route

Codes: C - connected, S - static, R - RIP B - BGP

O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default

Gateway of last resort is no set

C 172.16.1.0/24 is directly connected, FastEthernet 0/1

C 172.16.1.1/32 is local host.

C 172.16.2.0/24 is directly connected, FastEthernet 0/0

C 172.16.2.1/32 is local host.

O 172.16.3.0/24 [110/2] via 172.16.2.2, 00:05:21, FastEthernet 0/0

O 172.16.5.0/24 [110/2] via 172.16.1.2, 00:14:51, FastEthernet 0/1

RB#show ip route

Codes: C - connected, S - static, R - RIP B - BGP

O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default

Gateway of last resort is no set

O 172.16.1.0/24 [110/2] via 172.16.2.1, 00:05:58, FastEthernet 0/0

C 172.16.2.0/24 is directly connected, FastEthernet 0/0

C 172.16.2.2/32 is local host.

C 172.16.3.0/24 is directly connected, FastEthernet 0/1

C 172.16.3.1/32 is local host.

O 172.16.5.0/24 [110/3] via 172.16.2.1, 00:15:22, FastEthernet 0/0

RA#show ip ospf neighbor

OSPF process 1:

Neighbor ID Pri State Dead Time Address Interface

172.16.5.1 1 Full/DR 00:00:38 172.16.1.2 FastEthernet 0/1

172.16.2.2 1 Full/DR 00:00:36 172.16.2.2 FastEthernet 0/0

RA#show ip ospf interface fastEthernet 0/0

FastEthernet 0/0 is up, line protocol is up

Internet Address 172.16.2.1/24, Ifindex 1, Area 0.0.0.0, MTU 1500

Matching network config: 172.16.2.0/24

Process ID 1, Router ID 172.167.1.1, Network Type BROADCAST, Cost: 1

Transmit Delay is 1 sec, State BDR, Priority 1

Designated Router (ID) 172.16.2.2, Interface Address 172.16.2.2

Backup Designated Router (ID) 172.167.1.1, Interface Address 172.16.2.1

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

Hello due in 00:00:05

Neighbor Count is 1, Adjacent neighbor count is 1

Crypt Sequence Number is 82589

Hello received 114 sent 115, DD received 4 sent 5

LS-Req received 1 sent 1, LS-Upd received 5 sent 9

LS-Ack received 6 sent 4, Discarded 0

【注意事項(xiàng)】

1、在申明直連網(wǎng)段時(shí),注意要寫該網(wǎng)段的反掩碼。

2、在申明直連網(wǎng)段時(shí),必須指明所屬的區(qū)域。

【參考配置】

S3750#show running-config

Building configuration...

Current configuration : 1399 bytes

!

version RGNOS 10.1.00(4), Release(18443)(Tue Jul 17 19:51:54 CST 2007

-ubu6server)

hostname S3750

!

vlan 1

!

vlan 10

!

vlan 50

!

interface FastEthernet 0/1

switchport access vlan 10

!

interface FastEthernet 0/2

switchport access vlan 50

!

interface FastEthernet 0/3

!

interface FastEthernet 0/4

!

interface FastEthernet 0/5

!

interface FastEthernet 0/6

!

interface FastEthernet 0/7

!

interface FastEthernet 0/8

!

interface FastEthernet 0/9

!

interface FastEthernet 0/10

!

interface FastEthernet 0/11

!

interface FastEthernet 0/12

!

interface FastEthernet 0/13

!

interface FastEthernet 0/14

!

interface FastEthernet 0/15

!

interface FastEthernet 0/16

!

interface FastEthernet 0/17

!

interface FastEthernet 0/18

!

interface FastEthernet 0/19

!

interface FastEthernet 0/20

!

interface FastEthernet 0/21

!

interface FastEthernet 0/22

!

interface FastEthernet 0/23

!

interface FastEthernet 0/24

!

interface GigabitEthernet 0/25

!

interface GigabitEthernet 0/26

!

interface GigabitEthernet 0/27

!

interface GigabitEthernet 0/28

!

interface VLAN 10

ip address 172.16.1.2 255.255.255.0

!

interface VLAN 50

ip address 172.16.5.1 255.255.255.0

!

router ospf 1

network 172.16.1.0 0.0.0.255 area 0

network 172.16.5.0 0.0.0.255 area 0

!

line con 0

line vty 0 4

login

!

end

RB#show running-config

Building configuration...

Current configuration : 579 bytes

!

version RGNOS 10.1.00(4), Release(18443)(Tue Jul 17 20:50:30 CST 2007

-ubu1server)

hostname RB

!

interface FastEthernet 0/0

ip address 172.16.2.2 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet 0/1

ip address 172.16.3.1 255.255.255.0

duplex auto

speed auto

!

interface Loopback 0

!

router ospf 1

network 172.16.2.0 0.0.0.255 area 0

network 172.16.3.0 0.0.0.255 area 0

!

line con 0

line aux 0

line vty 0 4

login

!

end

RA#show running-config

Building configuration...

Current configuration : 554 bytes

!

version RGNOS 10.1.00(4), Release(18443)(Tue Jul 17 20:50:30 CST 2007

-ubu1server)

hostname RA

!

interface FastEthernet 0/0

ip address 172.16.2.1 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet 0/1

ip address 172.16.1.1 255.255.255.0

duplex auto

speed auto

!

router ospf 1

network 172.16.1.0 0.0.0.255 area 0

network 172.16.2.0 0.0.0.255 area 0

!

line con 0

line aux 0

line vty 0 4

login

!

end

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

OSPF 基本配置

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。

新聞標(biāo)題:OSPF基本配置-創(chuàng)新互聯(lián)
網(wǎng)頁(yè)鏈接:http://www.ekvhdxd.cn/article22/dopocc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供小程序開發(fā)、面包屑導(dǎo)航App設(shè)計(jì)、自適應(yīng)網(wǎng)站App開發(fā)、定制開發(fā)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

h5響應(yīng)式網(wǎng)站建設(shè)