OSPF virtual link
WWW.NETPROTOCOLXPERT.IN
1
2
 From the topology we can see that R1 belongs to Area 0, R2 to 1,
R3 and R4 to 2.
 OSPF working rules say that every area must be connected to
backbone area (Area 0), in this case there is not a physical
connection between Area 0 and 2, that’s why we’ll configure a
Virtual Link between these two areas.
 Before we set up Virtual Link in this topology we’ll configure OSPF
on routers.
3
R1
 R1(config)#interface Loopback0
 R1(config-if)# ip address 192.168.0.1 255.255.255.0
 R1(config)#interface FastEthernet0/0
 R1(config-if)# ip address 10.0.0.2 255.255.255.0
 R1(config)#router ospf 1
 R1(config-router)# network 10.0.0.0 0.0.0.255 area 1
 R1(config-router)# network 192.168.0.0 0.0.0.255 area 0
4
R2
 R2(config)#interface FastEthernet0/0
 R2(config-if)# ip address 10.0.0.1 255.255.255.0
 R2(config)#interface FastEthernet0/1
 R2(config-if)# ip address 10.0.1.1 255.255.255.0
 R2(config)#router ospf 1
 R2(config-router)#network 10.0.0.0 0.0.0.255 area 1
 R2(config-router)#network 10.0.1.0 0.0.0.255 area 1
5
R3
 R3(config)#interface Loopback0
 R3(config-if)#ip address 192.168.1.1 255.255.255.0
 R3(config)#interface FastEthernet0/0
 R3(config-if)#ip address 10.0.2.1 255.255.255.0
 R3(config)#interface FastEthernet0/1
 R3(config-if)#ip address 10.0.1.2 255.255.255.0
 R3(config)#router ospf 1
 R3(config-router)# network 10.0.1.0 0.0.0.255 area 1
 R3(config-router)# network 10.0.2.0 0.0.0.255 area 2
 R3(config-router)# network 192.168.1.0 0.0.0.255 area 2
6
R4
 R4(config)#interface Loopback0
 R4(config-if)#ip address 192.168.2.1 255.255.255.0
 R4(config)#interface FastEthernet0/0
 R4(config-if)#ip address 10.0.2.2 255.255.255.0
 R4(config)#router ospf 1
 R4(config-router)#network 10.0.2.0 0.0.0.255 area 2
 R4(config-router)#network 192.168.2.0 0.0.0.255 area 2
7
Neighbor relationship between R1, R2 and R3
8
Configure virtual link on R1 and R3
R1
 R1(config)#router ospf 1
 R1(config-router)#area 1 virtual-link 192.168.1.1
R3
 R3(config)#router ospf 1
 R3(config-router)#area 1 virtual-link 192.168.0.1
 Where 192.168.1.1 is Router ID of R3 and 192.168.0.1 is Router ID
of R1.
9
 Let’s check if there are neighbours on this virtual link and to see if R1 has a
route to R4.
Neighbors on R1
10
Routing table on R1 11
12
Follow us
@https://www.facebook.com/
NetProtocolXpert/
https://www.linkedin.com/co
mpany/netprotocol-xpert
https://plus.google.com/u/0/
+NetProtocolXpert_NPX/pos
ts
https://www.instagram.com
/netprotocol_xpert/
https://twitter.com/NPX_
cisco
https://branded.me/net
protocolxpert

More Related Content

PDF
GRE (generic routing encapsulation)
PDF
Comparison of SRv6 Extensions uSID, SRv6+, C-SRH
PPTX
Open Shortest Path First
PPTX
Getting started with TensorFlow
PPTX
Ospf area types
PPTX
GRE (Generic Routing Encapsulation)
PDF
An overview of D2D in 3GPP LTE standard
PPTX
Border Gateway Protocol
GRE (generic routing encapsulation)
Comparison of SRv6 Extensions uSID, SRv6+, C-SRH
Open Shortest Path First
Getting started with TensorFlow
Ospf area types
GRE (Generic Routing Encapsulation)
An overview of D2D in 3GPP LTE standard
Border Gateway Protocol

What's hot (20)

PDF
HTTP/3, QUIC and streaming
PPTX
Deep Packet Inspection technology evolution
PPTX
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
PDF
Ccnp presentation [Day 1-3] Class
PPT
PDF
Misc: Introduction to ATSSS - Access Traffic Steering, Switching and Splitting
PDF
Openconfig
PDF
DPI BOX: deep packet inspection for ISP traffic management
PPT
NAT and PAT
PDF
Service Function Chaining with SRv6
PPTX
Module 4: NETCONF Tutorial
PDF
4 ip services span,rspan
PPTX
IS-IS Protocol Introduction
PPTX
Routing Information Protocol
PPTX
CCNP ROUTE V7 CH5
PDF
Routing Protocol EIGRP
PPTX
Basic BGP Configuration
PPTX
Ccna ppt1
PPTX
A very good introduction to IPv6
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 1
HTTP/3, QUIC and streaming
Deep Packet Inspection technology evolution
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
Ccnp presentation [Day 1-3] Class
Misc: Introduction to ATSSS - Access Traffic Steering, Switching and Splitting
Openconfig
DPI BOX: deep packet inspection for ISP traffic management
NAT and PAT
Service Function Chaining with SRv6
Module 4: NETCONF Tutorial
4 ip services span,rspan
IS-IS Protocol Introduction
Routing Information Protocol
CCNP ROUTE V7 CH5
Routing Protocol EIGRP
Basic BGP Configuration
Ccna ppt1
A very good introduction to IPv6
CCNA 1 Routing and Switching v5.0 Chapter 1
Ad

Viewers also liked (19)

PPT
Elan Presentation
PPT
案例:山寨手机的蓝海战略
DOC
READINGRESUME
PPTX
Las armas En Las Relaciones Humanas
PDF
California Says Uber Drivers Are Employees, Not Contractors
PDF
Boletim julho 2016 sm
PDF
環保機關調查關廠工廠土壤地下水污染
PDF
Kabura affidavit feb 2016
PPT
Inducción conalep
PPT
My school
PPTX
Nuevas tecnologías donde no hay recursos tecnológicos
PPTX
Hardware Massive Warsaw#1 Mario Aguilera
PPT
What Do We Know
PDF
ReportSocialmetrixII
PPTX
Alzheimer disease
DOC
Slide share
PPTX
Программный комплекс для повышения эффективности ранних стадий проектирования...
PDF
Feeding the Beast: How to Keep Your Content Flowing, on Point and Endlessly E...
PDF
Connecting with Content
Elan Presentation
案例:山寨手机的蓝海战略
READINGRESUME
Las armas En Las Relaciones Humanas
California Says Uber Drivers Are Employees, Not Contractors
Boletim julho 2016 sm
環保機關調查關廠工廠土壤地下水污染
Kabura affidavit feb 2016
Inducción conalep
My school
Nuevas tecnologías donde no hay recursos tecnológicos
Hardware Massive Warsaw#1 Mario Aguilera
What Do We Know
ReportSocialmetrixII
Alzheimer disease
Slide share
Программный комплекс для повышения эффективности ранних стадий проектирования...
Feeding the Beast: How to Keep Your Content Flowing, on Point and Endlessly E...
Connecting with Content
Ad

Similar to OSPF Virtual Link (20)

PPTX
OSPF Virtual Link
PPTX
VXLAN, BGP EVPN without myths and packet capture
PDF
Practice Lab CSC
PPT
OSPF Configuration
PDF
OSPF (open shortest path first) part iii
PDF
OSPF_Exercises.pdf
PDF
MyFirstperformanceinusingpockettracerOSPF_Lab1.pdf
PPT
Learn OSPF(Open Short Path First) routing to day
DOC
Networking Tutorial Goes to Basic PPP Configuration
PDF
OSPF (open shortest path first) part ii
PDF
OpenNebulaConf2018 - Scalable L2 overlay networks with routed VXLAN / BGP EVP...
PPT
Chapter7ccna
PDF
ospfv3.pdf
PPTX
Лекц 15
PPTX
Shubham ppt on ospf and framerelay
PPTX
Shubham ppt on ospf and framerelay
DOCX
Lab 9 instructions
PPTX
mpls2.pptx implementation multi protocol label switching
PPT
MPLS VPN Per Vrf Traffic
PDF
Wireless adhoc multi access networks
OSPF Virtual Link
VXLAN, BGP EVPN without myths and packet capture
Practice Lab CSC
OSPF Configuration
OSPF (open shortest path first) part iii
OSPF_Exercises.pdf
MyFirstperformanceinusingpockettracerOSPF_Lab1.pdf
Learn OSPF(Open Short Path First) routing to day
Networking Tutorial Goes to Basic PPP Configuration
OSPF (open shortest path first) part ii
OpenNebulaConf2018 - Scalable L2 overlay networks with routed VXLAN / BGP EVP...
Chapter7ccna
ospfv3.pdf
Лекц 15
Shubham ppt on ospf and framerelay
Shubham ppt on ospf and framerelay
Lab 9 instructions
mpls2.pptx implementation multi protocol label switching
MPLS VPN Per Vrf Traffic
Wireless adhoc multi access networks

More from NetProtocol Xpert (20)

PPTX
Basic Cisco ASA 5506-x Configuration (Firepower)
PPTX
MPLS Layer 3 VPN
PPTX
Common Layer 2 Threats, Attacks & Mitigation
PPTX
Storm-Control
PPTX
Dynamic ARP Inspection (DAI)
PPTX
IP Source Guard
PPTX
DHCP Snooping
PPTX
Password Recovery
PPTX
Application & Data Center
PPTX
Cisco ISR 4351 Router
PPTX
Cisco ASR 1001-X Router
PPTX
Securing management, control & data plane
PPTX
Point to-point protocol (ppp), PAP & CHAP
PPTX
Avoid DNS lookup when mistyping a command
PPTX
TCLSH and Macro Ping Test on Cisco Routers and Switches
PPTX
Private VLANs
PPTX
MTU (maximum transmission unit) & MRU (maximum receive unit)
PPTX
OTV Configuration
PPTX
Cisco OTV 
PPTX
OTV(Overlay Transport Virtualization)
Basic Cisco ASA 5506-x Configuration (Firepower)
MPLS Layer 3 VPN
Common Layer 2 Threats, Attacks & Mitigation
Storm-Control
Dynamic ARP Inspection (DAI)
IP Source Guard
DHCP Snooping
Password Recovery
Application & Data Center
Cisco ISR 4351 Router
Cisco ASR 1001-X Router
Securing management, control & data plane
Point to-point protocol (ppp), PAP & CHAP
Avoid DNS lookup when mistyping a command
TCLSH and Macro Ping Test on Cisco Routers and Switches
Private VLANs
MTU (maximum transmission unit) & MRU (maximum receive unit)
OTV Configuration
Cisco OTV 
OTV(Overlay Transport Virtualization)

Recently uploaded (20)

PPTX
Measurement Uncertainty and Measurement System analysis
PPTX
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
PPTX
Amdahl’s law is explained in the above power point presentations
PPTX
Principal presentation for NAAC (1).pptx
PPTX
ai_satellite_crop_management_20250815030350.pptx
PPTX
mechattonicsand iotwith sensor and actuator
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PDF
Cryptography and Network Security-Module-I.pdf
PPT
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
PDF
Introduction to Power System StabilityPS
PPTX
Chapter 2 -Technology and Enginerring Materials + Composites.pptx
PDF
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
PDF
MLpara ingenieira CIVIL, meca Y AMBIENTAL
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PDF
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PPTX
Feature types and data preprocessing steps
PDF
20250617 - IR - Global Guide for HR - 51 pages.pdf
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
Measurement Uncertainty and Measurement System analysis
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
Amdahl’s law is explained in the above power point presentations
Principal presentation for NAAC (1).pptx
ai_satellite_crop_management_20250815030350.pptx
mechattonicsand iotwith sensor and actuator
August 2025 - Top 10 Read Articles in Network Security & Its Applications
Cryptography and Network Security-Module-I.pdf
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
Introduction to Power System StabilityPS
Chapter 2 -Technology and Enginerring Materials + Composites.pptx
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
MLpara ingenieira CIVIL, meca Y AMBIENTAL
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
Exploratory_Data_Analysis_Fundamentals.pdf
Feature types and data preprocessing steps
20250617 - IR - Global Guide for HR - 51 pages.pdf
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx

OSPF Virtual Link