OSPF的高級配置

實驗目的:dom

掌握OSPF的虛鏈路ide

實驗環境拓撲圖及要求:oop

 

image

實驗步驟:【必寫】測試

分類寫出你的實驗進行中的步驟,可用文字或圖片加水印標記router

配置文檔:blog

RA:圖片

enip

conf t文檔

host RAget

no ip domain-lookup

int loop 0

ip add 10.0.0.1 255.255.0.0 //配置loop端口的IP

exit

int f0/0

ip add 192.168.1.2 255.255.255.0 //配置端口IP

no sh

exit

router ospf 250 //啓用OSPF協議

network 0.0.0.0 255.255.255.255 area 0 //宣告網段並將加入骨幹區域

end

RB:

en

conf t

host RB

no ip domain-lookup

int loop 0

ip add 10.0.0.2 255.255.0.0

exit

int f0/0

ip add 192.168.1.1 255.255.255.0

no sh

exit

int f1/0

ip add 192.168.0.1 255.255.255.0

no sh

exit

router ospf 250

network 192.168.1.0 0.0.0.255 area 0

network 10.0.0.0 0.0.255.255 area 1

network 192.168.0.0 0.0.0.255 area 1

area 1 virtual-link 10.0.0.3 //在區域1上配置一條虛鏈路並指定router ID

end

RC:

en

conf t

host RC

no ip domain-lookup

int loop 0

ip add 10.0.0.3 255.255.0.0

exit

int f0/0

ip add 192.168.0.2 255.255.255.0

no sh

exit

int f1/0

ip add 172.16.0.1 255.255.255.0

no sh

exit

router ospf 250

network 192.168.0.0 0.0.0.255 area 1

network 10.0.0.0 0.0.255.255 area 2

network 172.16.0.0 0.0.0.255 area 2

area 1 virtual-link 10.0.0.2

end

Rd:

en

conf t

host RD

no ip domain-lookup

int loop 0

ip add 10.0.0.4 255.255.0.0

exit

int f0/0

ip add 172.16.0.2 255.255.255.0

no sh

exit

router ospf 250

network 0.0.0.0 255.255.255.255 area 2

end

測試截圖:

clip_image002clip_image004clip_image006clip_image008

相關文章
相關標籤/搜索