Multi-region OSPF
I. Tutorial Purpose
Learn to configure multi-region OSPF and configure virtual links
Ii. Experiment Topology
650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 600 & H = 600 & t = F & url = http://s3.51cto.com/wyfs02/M02/4D/57/wKiom1RQOrDAUfumAAEihl4v8-0496.jpg "Height =" 155 "width =" 600 "alt =" wKiom1RQOrDAUfumAAEihl4v8-0496.jpg "/>
1. Experiment steps
1. Configure IP addresses for each vro
2. Start OSPF and enable OSPF for each interface
3. Create a loopback port and configure the IP address
4. Check whether Region 0 can learn the route of Region 3.
5. Configure the virtual link and check whether Zone 0 can learn the route from zone 3.
Iv. experiment content
Rt1
<H3C> system-View
[H3C] sysname zjrt1
[Zjrt1] interface loopback 0
[ZJRT1-LoopBack0] IP address 1.1.1.1 32
[ZJRT1-LoopBack0] Undo Shutdown
[ZJRT1-LoopBack0] Quit
[Zjrt1] interface serial 1/0
[ZJRT1-Serial1/0] IP address 192.168.1.1 24
[ZJRT1-Serial1/0] Undo Shutdown
[ZJRT1-Serial1/0] Quit
[Zjrt1] OSPF 1
[ZJRT1-ospf-1] area 1
[ZJRT1-ospf-1-area-0.0.0.1] network 1.1.1.1 0.0.0.0
[ZJRT1-ospf-1-area-0.0.0.1] network 192.168.1.0 0.0.255
Rt2
<H3C> system-View
[H3C] sysname zjrt2
[Zjrt2] interface serial 1/0
[ZJRT2-Serial1/0] IP address 192.168.1.2 24
[ZJRT2-Serial1/0] Undo Shutdown
[ZJRT2-Serial1/0] Quit
[Zjrt2] interface serial 2/0
[ZJRT2-Serial2/0] IP address 192.168.2.1 24
[ZJRT2-Serial2/0] Undo Shutdown
[ZJRT2-Serial2/0] Quit
[Zjrt2] OSPF 1
[ZJRT2-ospf-1] area 1
[ZJRT2-ospf-1-area-0.0.0.1] network 192.168.1.0 0.0.255
[ZJRT2-ospf-1-area-0.0.0.1] Quit
[ZJRT2-ospf-1] area 0
[ZJRT2-ospf-1-area-0.0.0.0] network 192.168.2.0 0.0.255
RT3
<H3C> system-View
[H3C] sysname zjrt3
[Zjrt3] interface serial 1/0
[ZJRT3-Serial1/0] IP address 192.168.2.2 24
[ZJRT3-Serial1/0] Undo Shutdown
[ZJRT3-Serial1/0] Quit
[Zjrt3] interface serial 2/0
[ZJRT3-Serial2/0] IP address 192.168.3.1 24
[ZJRT3-Serial2/0] Undo Shutdown
[ZJRT3-Serial2/0] Quit
[Zjrt3] OSPF 1
[ZJRT3-ospf-1] area 0
[ZJRT3-ospf-1-area-0.0.0.0] network 192.168.2.0 0.0.255
[ZJRT3-ospf-1-area-0.0.0.0] Quit
[ZJRT3-ospf-1] area 2
[ZJRT3-ospf-1-area-0.0.0.2] network 192.168.3.0 0.0.255
Rt4
<H3C> system-View
[H3C] sysname zjrt4
[Zjrt4] interface serial 1/0
[ZJRT4-Serial1/0] IP address 192.168.3.2 24
[ZJRT4-Serial1/0] Undo Shutdown
[ZJRT4-Serial1/0] Quit
[Zjrt4] interface loopback 0
[ZJRT4-LoopBack0] IP address 4.4.4.4 32
[ZJRT4-LoopBack0] Undo Shutdown
[ZJRT4-LoopBack0] Quit
[Zjrt4] OSPF 1
[ZJRT4-ospf-1] area 2
[ZJRT4-ospf-1-area-0.0.0.2] network 192.168.3.0 0.0.255
[ZJRT4-ospf-1-area-0.0.0.2] Quit
[ZJRT4-ospf-1] Area 3
[ZJRT4-ospf-1-area-0.0.0.3] network 4.4.4.4 0.0.0.0
Now, check the rt1 route table to see if you can learn the route in Area 3.
650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 600 & H = 600 & t = F & url = http://s3.51cto.com/wyfs02/M00/4D/57/wKiom1RQOrPh4myjAAGIKqHc95s183.jpg "Height =" 274 "width =" 600 "alt =" wkiom1rqorph4myjaagikqhc95s183.jpg "/>
You cannot learn the route in Area 3 because Area 3 is not connected to the backbone area.
Now let's create a virtual link, because Area 3 is connected to area 2, Area 2 is connected to the backbone area, and we configure virtual links on Area 2.
RT3
<Zjrt3> system-View
[Zjrt3] OSPF 1
[ZJRT3-ospf-1] area 2
[ZJRT3-ospf-1-area-0.0.0.2] vlink-peer 4.4.4.4
Rt4
<Zjrt4> system-View
[Zjrt4] OSPF 1
[ZJRT4-ospf-1] area 2
[ZJRT4-ospf-1-area-0.0.0.2] vlink-peer 192.168.3.1
Now, check the route table of rt1 to see if there are any routes in Area 3.
650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 600 & H = 600 & t = F & url = http://s3.51cto.com/wyfs02/M01/4D/58/wKioL1RQOwrhwbKCAAHAUleiyNE121.jpg "Height =" 317 "width =" 572 "alt =" wkiol1rqowrhwbkcaahauleiyne121.jpg "/>
Now, rt1 can learn the route of Area 3, because in multi-region OSPF, each non-backbone area must be connected to the backbone area. In this case, you must use a virtual link to build a tunnel between a non-backbone area and a backbone area.
Multi-region OSPF