USD ($)
$
United States Dollar
India Rupee

Configuring OSPF between vEdges and Site Routers

Created by Deepak Sharma in Cisco SD-WAN Labs 7 Feb 2025
Share
«Configuring & Deploying Device Templates ...

This SD-WAN lab practical will show you how to configure Feature Templates for OSPF for VPN0. You can practice along with this practical using our SD-WAN virtual lab.


Topology

Image description

Tasks 

Configure hostname as “Site-x” on all site routers where x is the site number.  

ConfigureIP addresses of Site-x routers and their loopback interfaces as per the below IP schema. 


Site-1
Interfaces IP Address Subnet Mask
Eth0/0 10.1.2.2 255.255.255.0
Loopback1 10.1.11.1 255.255.255.0
Loopback2 10.1.12.1 255.255.255.0
Loopback3 10.1.13.1 255.255.255.0
Site-2
Eth0/0 172.16.5.2 255.255.255.0
Loopback1 10.1.21.1 255.255.255.0
Loopback2 10.1.22.1 255.255.255.0
Loopback3 10.1.23.1 255.255.255.0
Site-3
Eth0/0 192.168.6.2 255.255.255.0
Loopback1 10.1.31.1 255.255.255.0
Loopback2 10.1.32.1 255.255.255.0
Loopback3 10.1.33.1 255.255.255.0
Site-4
Eth0/0 172.16.7.2 255.255.255.0
Loopback1 10.1.41.1 255.255.255.0
Loopback2 10.1.42.1 255.255.255.0
Loopback3 10 . 1 . 43 . 1 255 . 255 . 255 . 00 < / tr >

On Site-x Routers 

Configure and enable OSPF Area 0 on all interfaces with subnet IP address 10.1.0.0 and on Interface Eth0/0 

Network type for Loopback interfaces on all routers should be point-to-point  


Online Cisco SD-WAN TrainingLearn from expert trainers and master SD-WAN.Explore course
custom banner static image

Configuration and Verification 

Site-1 

Now configure site-1 Router IP address 10.1.2.2 on interface e0/0 and configure three loopbacks as given below


enable 

 configure terminal 

  hostname Site-1 

Interface E 0/0  

ip address 10.1.2.2 255.255.255.0  

no shutdown 

exit 

!  

interface Loopback1 

 ip address 10.1.11.1 255.255.255.0 

 ip ospf network point-to-point 

!          

interface Loopback2 

 ip address 10.1.12.1 255.255.255.0 

 ip ospf network point-to-point 

!          

interface Loopback3 

 ip address 10.1.13.1 255.255.255.0 

 ip ospf network point-to-point 

 exit 

!          

router ospf 1 

 network 10.1.0.0 0.0.255.255 area 0 

 exit 

exit 

write 

Verification:- verify that interface ethernet0/0 is heaving ip address 10.1.2.2 and his status is UP now  

Verify that three loopbacks are heaving ip address as per task and his status also UP.


Site-1#show ip interface brief  

Interface                  IP-Address      OK? Method Status                Protocol 

Ethernet0/0                10.1.2.2        YES manual up                    up       

Ethernet0/1                unassigned      YES unset  administratively down down 

Ethernet0/2                unassigned      YES unset  administratively down down     

Ethernet0/3                unassigned      YES unset  administratively down down     

Loopback1                  10.1.11.1       YES manual up                    up       

Loopback2                  10.1.12.1       YES manual up                    up       

Loopback3                  10.1.13.1       YES manual up                    up  


Site-1#show ip ospf  int br 

Interface    PID   Area            IP Address/Mask    Cost  State Nbrs F/C 

Lo1          1     0               10.1.11.1/24       1     P2P   0/0 

Lo2          1     0               10.1.12.1/24       1     P2P   0/0 

Lo3          1     0               10.1.13.1/24       1     P2P   0/0 

Et0/0        1     0               10.1.2.2/24        10    WAIT  0/0 

Site-2 Now configures site-2 Router IP address 172.16.5.2 on interface e0/0 and configure three loopbacks as given below 


enable 

 configure terminal 

  hostname Site-2 

Interface E 0/0  

ip address 172.16.5.2 255.255.255.0  

no shutdown  

 exit 

Interface Loopback1  

ip address 10.1.21.1 255.255.255.0 

ip ospf network point-to-point   

Interface Loopback2  

ip address 10.1.22.1 255.255.255.0  

ip ospf network point-to-point   

Interface Loopback3  

ip address 10.1.23.1 255.255.255.0  

ip ospf network point-to-point   

 exit 

router ospf 1  

network 172.16.5.2  0.0.0.0 area 0  

network 10.1.0.0  0.0.255.255 area 0 

 exit 

exit 

Verification:- verify that interface ethernet0/0 heaving ip address 172.16.5.2 and his status is UP now Verify that three loopbacks are heaving ip address as per task and his status also UP.


Site-2#show ip interface brief  

Interface                  IP-Address      OK? Method Status                Protocol 

Ethernet0/0                172.16.5.2      YES manual up                    up       

Ethernet0/1                unassigned      YES unset  administratively down down     

Ethernet0/2                unassigned      YES unset  administratively down down     

Ethernet0/3                unassigned      YES unset  administratively down down     

Loopback1                  10.1.21.1       YES manual up                    up       

Loopback2                  10.1.22.1       YES manual up                    up       

Loopback3                  10.1.23.1       YES manual up                    up 

Site-2#show ip ospf interface brief  

Interface    PID   Area            IP Address/Mask    Cost  State Nbrs F/C 

Lo1          1     0               10.1.21.1/24       1     P2P   0/0 

Lo2          1     0               10.1.22.1/24       1     P2P   0/0 

Lo3          1     0               10.1.23.1/24       1     P2P   0/0 

Et0/0        1     0               172.16.5.2/24      10    BDR   1/1

 Site-3 Now configures site-2 Router IP address 192.168.6.2 on interface e0/0 and configure three loopbacks as given below 


enable 

 configure terminal 

  hostname Site-3 

Interface E 0/0  

ip address 192.168.6.2 255.255.255.0  

no shutdown 

exit 

!   

Interface Loopback1  

ip address 10.1.31.1 255.255.255.0  

ip ospf network point-to-point  

!  

Interface Loopback2  

ip address 10.1.32.1 255.255.255.0  

ip ospf network point-to-point   

Interface Loopback3  

ip address 10.1.33.1 255.255.255.0  

ip ospf network point-to-point  

!  

 exit 

router ospf 1  

network 192.168.0.0  0.0.255.255 area 0  

network 10.1.0.0  0.0.0.255 area 0 

exit 

exit

Now Verify that three loopbacks are heaving ip address as per task and his status also UP. 


Site-3#show ip interface brief  

Interface                  IP-Address      OK? Method Status                Protocol 

Ethernet0/0                192.168.6.2     YES manual up                    up       

Ethernet0/1                unassigned      YES unset  administratively down down     

Ethernet0/2                unassigned      YES unset  administratively down down     

Ethernet0/3                unassigned      YES unset  administratively down down     

Loopback1                  10.1.31.1       YES manual up                    up       

Loopback2                  10.1.32.1       YES manual up                    up       

Loopback3                  10.1.33.1       YES manual up                    up 

how ip ospf interface brief  

Interface    PID   Area            IP Address/Mask    Cost  State Nbrs F/C 

Lo1          1     0               10.1.31.1/24       1     P2P   0/0 

Lo2          1     0               10.1.32.1/24       1     P2P   0/0 

Lo3          1     0               10.1.33.1/24       1     P2P   0/0 

Et0/0        1     0               192.168.6.2/24     10    DR    0/0 

Site-4 Now configures site-2 Router IP address 172.16.7.2 on interface e0/0 and configure three loopbacks as given below 


enable 

 configure terminal 

  hostname Site-4 

Interface E 0/0  

ip address 172.16.7.2 255.255.255.0  

no shutdown 

exit 

!  

Interface Loopback1  

ip address 10.1.41.1 255.255.255.0  

ip ospf network point-to-point   

Interface Loopback2  

ip address 10.1.42.1 255.255.255.0  

ip ospf network point-to-point   

Interface Loopback3  

ip address 10.1.43.1 255.255.255.0  

ip ospf network point-to-point   

 exit 

router ospf 1  

network 172.16.7.2  0.0.0.0 area 0  

network 10.1.0.0  0.0.255.255 area 0 

exit 

exit 

Verification:- verify that interface ethernet0/0 heaving ip address 172.16.7.2 and his status is UP now Verify that three loopbacks are heaving ip address as per task and his status also UP.

Site-4#show ip interface brief  

Interface                  IP-Address      OK? Method Status                Protocol 

Ethernet0/0                172.16.7.2      YES manual up                    up       

Ethernet0/1                unassigned      YES unset  administratively down down     

Ethernet0/2                unassigned      YES unset  administratively down down     

Ethernet0/3                unassigned      YES unset  administratively down down     

Loopback1                  10.1.41.1       YES manual up                    up       

Loopback2                  10.1.42.1       YES manual up                    up       

Loopback3                  10.1.43.1       YES manual up                    up 


Site-4#show ip ospf int brief 

Interface    PID   Area            IP Address/Mask    Cost  State Nbrs F/C 

Lo1          1     0               10.1.41.1/24       1     P2P   0/0 

Lo2          1     0               10.1.42.1/24       1     P2P   0/0 

Lo3          1     0               10.1.43.1/24       1     P2P   0/0 

Et0/0        1     0               172.16.7.2/24      10    WAIT  0/0 


Configuring Service VPN1, Interface & ...»
Deepak Sharma

He is a senior solution network architect and currently working with one of the largest financial company. He has an impressive academic and training background. He has completed his B.Tech and MBA, which makes him both technically and managerial proficient. He has also completed more than 450 online and offline training courses, both in India and ...

More... | Author`s Bog | Book a Meeting

Related Articles

#Explore latest news and articles

Configuring Feature Templates for OSPF for VPN0 3 Feb 2025

Configuring Feature Templates for OSPF for VPN0

Learn how to effectively configure Feature Templates for OSPF in VPN0 within Cisco SD-WAN in this SD-WAN Lab practical.
Configuring VPN0 & VPN512 Templates for vEdges 31 Jan 2025

Configuring VPN0 & VPN512 Templates for vEdges

Learn how to effectively configure VPN0 and VPN512 templates for Cisco vEdge devices in this SD-WAN lab practical guide
Configuring SYSTEM and BANNER Feature Template 29 Jan 2025

Configuring SYSTEM and BANNER Feature Template

Master the art of configuring SYSTEM and BANNER feature templates in this hands-on SD-WAN lab practical. 

Comments (0)

Share

Share this post with others

Contact learning advisor

Captcha image
Cisco ACI LIVE FREE DEMO!
Cisco ACI LIVE FREE DEMO!
Starts 15th FEB | Expert Training | Real-World Labs | Interactive Q&A1
Day
Hr
Min
Sec
Enroll For Cisco ACI!