OSPF All in One Lab---(Basic Function & Virtual Link) Highlighted

Latest reply: Feb 29, 2016 15:43:23 2743 4 0 0

eNSP config file is attached.

I’ve read a lot of Huawei documentation, but none of them can produce one lab to include all OSPF features, so I decide to invent one instead.

OSPF All in One Lab---(Basic Function & Virtual Link)-1241307-1

Section I: Basic OSPF Function

From topology, we can use RouterA,B,C,D for basic OSPF function lab.

Configuration:> IP address for each interface;>Before configuring OSPF, we should configure a loopback interface for Router ID. >After that, OSPF process ID, area ID, network&wildmask, we get basic OSPF working.

Fun: We can have look at OSPF interaction between GE0/0/0 of RouterA and GE0/0/0 of RouterB. Practice is better than theory for it’s more impressive.

OSPF All in One Lab---(Basic Function & Virtual Link)-1241307-2

Through the packets capturing by GE0/0/0 of RouterB, ARP is used for MAC communication.

The route of area 3 can’t be transmitted to other areas,we can see there is no route from area 39(10.4.1.0) on RouterB.

[RouterB]display ospf routing

 

          OSPF Process 1 with Router ID 10.1.1.2

                     Routing Tables

 

 Routing for Network

 Destination        Cost  Type       NextHop         AdvRouter       Area

 2.2.2.2/32         0     Stub       2.2.2.2         10.1.1.2        0.0.0.0

 10.1.1.0/24        1     Transit    10.1.1.2        10.1.1.2        0.0.0.0

 10.2.1.0/24        1     Transit    10.2.1.1        10.1.1.2        0.0.0.1

 10.3.1.0/24        1     Transit    10.3.1.1        10.1.1.2        0.0.0.2

 1.1.1.1/32         1     Stub       10.1.1.1        1.1.1.1         0.0.0.0

 4.4.4.4/32         1     Stub       10.2.1.2        4.4.4.4         0.0.0.1

 

 Total Nets: 6 

 Intra Area: 6  Inter Area: 0  ASE: 0  NSSA: 0

 In OSPF, every area must connect area 0, so what are we going to do? We can invent virtual link.

 

Section II: OSPF Virtual Links

We can make a virtual link between RouterB and RouterD so that area 3 can be connected with area 0 (area1 is transparent).

[RouterB-ospf-1-area-0.0.0.1]vlink-peer 4.4.4.4

Because I forget to configure Router ID for RouterD,  I use reset ospf 1 process to make new router ID effective.

<RouterB>display ospf routing

 

          OSPF Process 1 with Router ID 2.2.2.2

                     Routing Tables

 

 Routing for Network

 Destination        Cost  Type       NextHop         AdvRouter       Area

 2.2.2.2/32         0     Stub       2.2.2.2         2.2.2.2         0.0.0.0

 10.1.1.0/24        1     Transit    10.1.1.2        2.2.2.2         0.0.0.0

 10.2.1.0/24        1     Transit    10.2.1.1        2.2.2.2         0.0.0.1

 10.3.1.0/24        1     Transit    10.3.1.1        2.2.2.2         0.0.0.2

 1.1.1.1/32         1     Stub       10.1.1.1        1.1.1.1         0.0.0.0

 4.4.4.4/32         1     Stub       10.2.1.2        4.4.4.4         0.0.0.1

 5.5.5.5/32         2     Inter-area 10.2.1.2        4.4.4.4         0.0.0.1

 10.4.1.0/24        2     Inter-area 10.2.1.2        4.4.4.4         0.0.0.1

 

 Total Nets: 8 

 Intra Area: 6  Inter Area: 2  ASE: 0  NSSA: 0

Now with the success of virtual link, we can see inter-area routes in RouterB.

In the following section, we'll discuss DR, Stub, NSSA, FRR,BFD one by one. 

 


This article contains more resources

You need to log in to download or view. No account?Register

x
  • x
  • convention:

Created Mar 4, 2015 10:50:31 Helpful(0) Helpful(0)

Thank you for sharing.

  • x
  • convention:

Created Mar 4, 2015 17:41:28 Helpful(0) Helpful(0)

Thanks for your appreciation.O(∩_∩)O~
  • x
  • convention:

Created Mar 31, 2015 19:10:42 Helpful(0) Helpful(0)

Theory Part

Lab is practice while theory is guide.

Five packets:

           Hello=>Maintain OSPF neighbor relationships;

           DD=> Synchronizes the LSDBs on two devices;

           LSR=>Requests the required LSAs, LSA is used by advertising routes;

           LSU=>Sends the required LSAs;

           LSAck=>Acknowledges the receipt of an LSA.

  • x
  • convention:

Created Feb 29, 2016 15:43:23 Helpful(0) Helpful(0)

thank you for sharing

  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top