Skip to main content

OSPF Virtual Link 2

We know the virtual link for connect to OSPF backbone area 0.
How about two that network have 2 backbone area? 

Figure 1.1
R1 and R6 can't connect.
R1
R1(config-router)#do sh ip route ospf
     3.0.0.0/24 is subnetted, 1 subnets
O IA    3.3.3.0 [110/3] via 10.1.12.2, 00:22:38, FastEthernet0/0
     4.0.0.0/24 is subnetted, 1 subnets
O IA    4.4.4.0 [110/4] via 10.1.12.2, 00:21:52, FastEthernet0/0
     10.0.0.0/24 is subnetted, 3 subnets
O IA    10.1.23.0 [110/2] via 10.1.12.2, 00:23:28, FastEthernet0/0
O IA    10.1.34.0 [110/3] via 10.1.12.2, 00:22:38, FastEthernet0/0

R6
R6(config-if)#do sh ip route ospf
     3.0.0.0/24 is subnetted, 1 subnets
O IA    3.3.3.0 [110/4] via 10.1.56.5, 00:16:06, FastEthernet0/0
     4.0.0.0/24 is subnetted, 1 subnets
O IA    4.4.4.0 [110/3] via 10.1.56.5, 00:16:06, FastEthernet0/0
     10.0.0.0/24 is subnetted, 3 subnets
O IA    10.1.45.0 [110/2] via 10.1.56.5, 00:16:06, FastEthernet0/0
O IA    10.1.34.0 [110/3] via 10.1.56.5, 00:16:06, FastEthernet0/0

Not only Router 3 can connect to Router 1 but also Router 4 can connect to Router 6.

R3
R3#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/57/64 ms
R3#ping 6.6.6.6

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 6.6.6.6, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

R4
R4#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R4#ping 6.6.6.6

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 6.6.6.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 48/83/140 ms

In this cause, we can solve with Virtual Link 

Only configure Virtual Link at area 51.

R3
router ospf 1
area 51 virtual-link 4.4.4.4

R4
router ospf 1
area 51 virtual-link 3.3.3.3

Just do like my old post.

http://outbox-network.blogspot.com/2016/03/ospf-virtual-link-ospf-virtual-link-is.html.

After Configure virtual link you will see result like that.

R1
R1#sh ip route ospf
       6.0.0.0/24 is subnetted, 1 subnets
O IA    6.6.6.0 [110/6] via 10.1.12.2, 00:00:00, FastEthernet0/0
R6
R6#sh ip route ospf
     1.0.0.0/24 is subnetted, 1 subnets
O IA    1.1.1.0 [110/6] via 10.1.56.5, 00:01:41, FastEthernet0/0



Comments

Popular posts from this blog

Access-list at SVI

SVI (Switch Virtual Interfaces) We use the SVI for inter vlan routing. In this scenario I will configure the access list with SVI. In this scenario I want to permit vlan 10 network to vlan 50 Server farm. Vlan 10 and vlan 20 can communicate each other. First create vlan and then interface vlan#. Switch(config)#vlan 10 Switch(config)#interface vlan 10 Switch(config-if)#ip address 192.168.10.254 255.255.255.0 Switch(config)#vlan 20 Switch(config)#interface vlan 20 Switch(config-if)#ip address 192.168.20.254 255.255.255.0 Switch(config)#vlan 50 Switch(config)#interface vlan 50 Switch(config-if)#ip address 192.168.50.254 255.255.255.0 when we finish the vlan interface create make sure the switch port are belong to each vlan. Port to vlan assign configure is Switch(config)#interface g0/1 Switch(config-if)#switchport access vlan 10 Switch(config)#interface g0/2 Switch(config-if)#switchport access vlan 20 Switch(config)#int...

OSPF Stub

The following restrictions apply to stub areas:     You cannot create a virtual link through a stub area.   A stub area cannot contain an AS boundary router.   You cannot configure the backbone as a stub area.   You cannot configure an area as both a stub area and an not-so-stubby area (NSSA). Ref : Juniper.net

Why does OSPF need backbone area?

Why does OSPF require all traffic between non-backbone areas to pass through a backbone area (area 0)?   Because inter-area OSPF is distance vector, it is vulnerable to routing loops. It avoids loops by mandating a loop-free inter-area topology, in which traffic from one area can only reach another area through area 0. Ref : Jeff Doyle article at Network world http://www.networkworld.com/article/2348778/cisco-subnet/my-favorite-interview-question.html