Hello there, everybody!
This post is about HCIE lab practice via eNSP. Please see more below.
BACKGROUND
Several days ago, I found eNSP here and decided to use it for HCIE lab practice to improve my networking skills with Huawei networking equipments. Also shared it with fellow networking guys.
To me, Routing is no doubt the core of HCIE, while OSPF is the core of Routing. So I start my HCIE Lab Practice from 2.3.22 configuring OSPF stub areas. If you only read networking books, you’ll find you’re aimless and forget things you learn quickly. If you only practise lab without reading theory, you’ll find you’re confused and don’t know what you’re doing.
Before the invention of networking simulator, we networking guys have no equipments to improve our networking skills. Thanks to the eNSP development team, we can learn HCIE with a better way.
2.3.22 Example for Configuring OSPF Stub Areas (Attached is for Lab with full configuration)
At first. I configured Router A,B,C,D for related router ID 1.1.1.1, 2.2.2.2, 3.3.3.3, 4.4.4.4. If I want to learn stub area, I have to make sure OSPF is running on the network now. My computer has memory of 4G, though it only shows 3.16GB, which the limit of XP OS. Now I can run 6 routers at the same time without difficulty.
Using display ospf peer on RouterA, I can see output as below.
OSPF Process 1 with Router ID 1.1.1.1 Neighbors
Area 0.0.0.0 interface 192.168.0.1(GigabitEthernet0/0/0)'s neighbors
Router ID: 2.2.2.2 Address: 192.168.0.2
State: Full Mode:Nbr is Master Priority: 1
DR: 192.168.0.1 BDR: 192.168.0.2 MTU: 0 <Why? Because RouterID 1.1.1.1 is smaller, then RouterA is DR)
Dead timer due in 31 sec
Retrans timer interval: 5
Neighbor is up for 00:26:06
Authentication Sequence: [ 0 ]
Neighbors
Area 0.0.0.1 interface 192.168.1.1(GigabitEthernet0/0/1)'s neighbors
Router ID: 3.3.3.3 Address: 192.168.1.2
State: Full Mode:Nbr is Master Priority: 1
DR: 192.168.1.1 BDR: 192.168.1.2 MTU: 0
Dead timer due in 39 sec
Retrans timer interval: 4
Neighbor is up for 00:24:17
Authentication Sequence: [ 0 ]
Now we decide to configure area 1 as stub area so that it can be treated as a whole body.
Before: The routing table of RouterC is as below, it has every route necessary to get other routers.
OSPF Process 1 with Router ID 3.3.3.3
Routing Tables
Routing for Network
Destination Cost Type NextHop AdvRouter Area
172.16.1.0/24 1 Transit 172.16.1.1 3.3.3.3 0.0.0.1
192.168.1.0/24 1 Transit 192.168.1.2 3.3.3.3 0.0.0.1
172.17.1.0/24 4 Inter-area 192.168.1.1 1.1.1.1 0.0.0.1
192.168.0.0/24 2 Inter-area 192.168.1.1 1.1.1.1 0.0.0.1
192.168.2.0/24 3 Inter-area 192.168.1.1 1.1.1.1 0.0.0.1
After stub area config: The routing table of RouterC is as below, it has one default route.
OSPF Process 1 with Router ID 3.3.3.3
Routing Tables
Routing for Network
Destination Cost Type NextHop AdvRouter Area
172.16.1.0/24 1 Transit 172.16.1.1 3.3.3.3 0.0.0.1
192.168.1.0/24 1 Transit 192.168.1.2 3.3.3.3 0.0.0.1
0.0.0.0/0 2 Inter-area 192.168.1.1 1.1.1.1 0.0.0.1
172.17.1.0/24 4 Inter-area 192.168.1.1 1.1.1.1 0.0.0.1
192.168.0.0/24 2 Inter-area 192.168.1.1 1.1.1.1 0.0.0.1
192.168.2.0/24 3 Inter-area 192.168.1.1 1.1.1.1 0.0.0.1
We can configure RouterA stub no-summary not to send summary LSA into stub area.
Now we can only see three routes as below:
OSPF Process 1 with Router ID 3.3.3.3
Routing Tables
Routing for Network
Destination Cost Type NextHop AdvRouter Area
172.16.1.0/24 1 Transit 172.16.1.1 3.3.3.3 0.0.0.1
192.168.1.0/24 1 Transit 192.168.1.2 3.3.3.3 0.0.0.1
0.0.0.0/0 2 Inter-area 192.168.1.1 1.1.1.1 0.0.0.1
Until now, only default route has something to do with destination outside the AS, the routing table of router in stub area is simple.