12-30-2011 02:26 PM - edited 03-04-2019 02:47 PM
Hello Everyone,
I am studying for my CCNP Route exam and am having issues configuring A Virtual Link for OSPF. I attached the diagram. I have full connectivity with all neighbors. And R2 has routes all the way up to R4, however nothing for R6. The RID for R6 is 6.6.6.6 and the RID for R1 is 1.1.1.1. I thought I have this virutal link setup properly but I guess I dont since it isn't working . Again every neighbor realtion the whole way is established however onyl the Vitual Link wil lnot come up. When I run SHOW IP OSPF VIRTUAL-LINKS, both R1 and R6 show the link as down. Could I be missing a command or maybe I just have a misunderstanding of how virutal links actually work? Any help or advicewould be greatly appreciated.Thanks to All!
Show Run for R1:
R1#show run
Building configuration...
Current configuration : 1120 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
multilink bundle-name authenticated
!
archive
log config
hidekeys
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
ip ospf network point-to-point
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 172.16.20.1 255.255.255.0
ip ospf network point-to-point
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
area 1 virtual-link 6.6.6.6
network 1.1.1.1 0.0.0.0 area 0
network 172.16.20.0 0.0.0.255 area 1
network 192.168.1.0 0.0.0.255 area 0
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
control-plane
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
end
SHOW RUN FOR R6:
R6#show run
Building configuration...
Current configuration : 1045 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R6
!
boot-start-marker
boot-end-marker
!
no aaa new-model
memory-size iomem 5
ip cef
!
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
multilink bundle-name authenticated
!
archive
log config
hidekeys
!
interface Loopback0
ip address 6.6.6.6 255.255.255.255
!
interface FastEthernet0/0
ip address 192.168.250.2 255.255.255.0
ip ospf network point-to-point
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
area 1 virtual-link 1.1.1.1
network 6.6.6.6 0.0.0.0 area 100
network 192.168.250.0 0.0.0.255 area 100
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
control-plane
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
R6#
Solved! Go to Solution.
12-30-2011 03:49 PM
Hi John,
Virtual links are configured within a transit area only, not between areas. In your case, the virtual link must be contained within Area 1 which is the area that "stands in the way" between the Area 100 and the backbone area. In other words, the endpoints of the virtual link must be routers R1 and R4, not R6.
Best regards,
Peter
12-30-2011 03:49 PM
Hi John,
Virtual links are configured within a transit area only, not between areas. In your case, the virtual link must be contained within Area 1 which is the area that "stands in the way" between the Area 100 and the backbone area. In other words, the endpoints of the virtual link must be routers R1 and R4, not R6.
Best regards,
Peter
12-30-2011 04:56 PM
just to add one more thing to Peters solution that the transit area cannot be a stud area as well. It has to be a regular area.
would I be right peter?
12-31-2011 07:00 AM
Hi Kishore,
You are absolutely correct. The transit area has to be capable of a complete routing including inter-area routes and external routes that may be present in the "far-away" area. Therefore, it is mandatory for a transit area to be a regular area.
Thank you for having this important fact stressed!
Best regards,
Peter
12-30-2011 10:21 PM
Hello Peter,
Thanks so much for the information. I tried what you said and it worked! I know also have a better understanding of how virtual links work as well.
Kishore,
You are also correct regarding how the tansit area cannot be a stub, and thank you so much for the input.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide