Monday, 29 October 2012

IPV6: Configuring OSPFv3 Virtual-links


IPV6: Configuring OSPFv3 Virtual-links

 ·         Let me take a small topology to configure Virtual-links in OSPFv3

·         R1-R2 link: 2001:12::0/64
·         R2-R3 link: 2001:23::0/64
·         R3-R4 link: 2001:34::0/64
·         R1’s loopback0: 2001:1::1
·         R2’s loopback0: 2001:2::2
·         R3’s loopback0: 2001:3::3
·         R4’s loopback0: 2001:4::4
 
OSPF configs:
 
R1#show run int fa0/0
Building configuration...
 
Current configuration : 134 bytes
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 ipv6 address 2001:12::1/64
 ipv6 enable
 ipv6 ospf 1 area 0
end
 
R1#show run int loop0
Building configuration...
 
Current configuration : 89 bytes
!
interface Loopback0
 no ip address
 ipv6 address 2001:1::1/64
 ipv6 ospf 1 area 0
end
 
R1#
 
R2#show run int fa0/0
Building configuration...
 
Current configuration : 134 bytes
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 ipv6 address 2001:12::2/64
 ipv6 enable
 ipv6 ospf 1 area 0
end
 
R2#show run int fa0/1
Building configuration...
 
Current configuration : 121 bytes
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 ipv6 address 2001:23::2/64
 ipv6 ospf 1 area 1
end
 
R2#show run int loop0
Building configuration...
 
Current configuration : 89 bytes
!
interface Loopback0
 no ip address
 ipv6 address 2001:2::2/64
 ipv6 ospf 1 area 0
end
 
R2#
 
R3#show run int fa0/1
Building configuration...
 
Current configuration : 121 bytes
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 ipv6 address 2001:23::3/64
 ipv6 ospf 1 area 1
end
 
R3#show run int fa0/0
Building configuration...
 
Current configuration : 121 bytes
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 ipv6 address 2001:34::3/64
 ipv6 ospf 1 area 2
end
 
R3#show run int loop0
Building configuration...
 
Current configuration : 89 bytes
!
interface Loopback0
 no ip address
 ipv6 address 2001:3::3/64
 ipv6 ospf 1 area 1
end
 
R3#
 
R4#show run int fa0/0
Building configuration...
 
Current configuration : 121 bytes
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 ipv6 address 2001:34::4/64
 ipv6 ospf 1 area 2
end
 
R4#show run int loop0
Building configuration...
 
Current configuration : 89 bytes
!
interface Loopback0
 no ip address
 ipv6 address 2001:4::4/64
 ipv6 ospf 1 area 2
end
 
R4#
 
R1#show ipv6 route ospf
IPv6 Routing Table - 9 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
O   2001:2::2/128 [110/10]
     via FE80::C001:25FF:FE30:0, FastEthernet0/0
OI  2001:3::3/128 [110/20]
     via FE80::C001:25FF:FE30:0, FastEthernet0/0
OI  2001:23::/64 [110/20]
     via FE80::C001:25FF:FE30:0, FastEthernet0/0
R1#
 
R2#show ipv6 route ospf
IPv6 Routing Table - 12 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
O   2001:1::1/128 [110/10]
     via FE80::C000:25FF:FE30:0, FastEthernet0/0
O   2001:3::3/128 [110/10]
     via FE80::C003:25FF:FE30:1, FastEthernet0/1
R2#
 
R3#show ipv6 route ospf
IPv6 Routing Table - 12 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
OI  2001:1::1/128 [110/20]
     via FE80::C001:25FF:FE30:1, FastEthernet0/1
OI  2001:2::2/128 [110/10]
     via FE80::C001:25FF:FE30:1, FastEthernet0/1
O   2001:4::4/128 [110/10]
     via FE80::C004:25FF:FE30:0, FastEthernet0/0
OI  2001:12::/64 [110/20]
     via FE80::C001:25FF:FE30:1, FastEthernet0/1
R3#
 
R4#show ipv6 route ospf
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
R4#
 
Observation:
·         OSPF area 0 is configured between R1-R2 link
·         OSPF area 1 is configured between R2-R3 link
·         OPSF area 2 is configured between R3-R4 link
·         OSPF is not fully converged as Area 2 is not directly coonected to Area 0.
 
·         Let me create a virtual link through Area 1 between R2 and R3.
 
R2(config)#ipv6 router ospf 1
R2(config-rtr)#area 1 virtual-link 3.3.3.3
R2(config-rtr)#
*Mar  1 07:53:39.370: %OSPFv3-5-ADJCHG: Process 1, Nbr 3.3.3.3 on OSPFv3_VL0 from LOADING to FULL, Loading Done
R2(config-rtr)#
 
R3(config)#ipv6 router ospf 1
R3(config-rtr)#area 1 virtual-link 2.2.2.2
R3(config-rtr)#
*Mar  1 02:49:01.439: %OSPFv3-5-ADJCHG: Process 1, Nbr 2.2.2.2 on OSPFv3_VL0 from LOADING to FULL, Loading Done
R3(config-rtr)#
 
 
R2#show ipv6 ospf virtual-links
Virtual Link OSPFv3_VL0 to router 3.3.3.3 is up
  Interface ID 15, IPv6 address 2001:3::3
  Run as demand circuit
  DoNotAge LSA allowed.
  Transit area 1, via interface FastEthernet0/1, Cost of using 10
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Adjacency State FULL (Hello suppressed)
    Index 1/2/3, retransmission queue length 0, number of retransmission 0
    First 0x0(0)/0x0(0)/0x0(0) Next 0x0(0)/0x0(0)/0x0(0)
    Last retransmission scan length is 0, maximum is 0
    Last retransmission scan time is 0 msec, maximum is 0 msec
R2#
 
R3#show ipv6 ospf virtual-links
Virtual Link OSPFv3_VL0 to router 2.2.2.2 is up
  Interface ID 14, IPv6 address 2001:23::2
  Run as demand circuit
  DoNotAge LSA allowed.
  Transit area 1, via interface FastEthernet0/1, Cost of using 10
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Adjacency State FULL (Hello suppressed)
    Index 1/1/3, retransmission queue length 0, number of retransmission 0
    First 0x0(0)/0x0(0)/0x0(0) Next 0x0(0)/0x0(0)/0x0(0)
    Last retransmission scan length is 0, maximum is 0
    Last retransmission scan time is 0 msec, maximum is 0 msec
R3#
 
Observation:
·         Virtual-link is up between R2 and R3 through Area 1.
·         Now, let me see the OSPFv3 routing tables.
 
R1#show ipv6 route ospf
IPv6 Routing Table - 12 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
O   2001:2::2/128 [110/10]
     via FE80::C001:25FF:FE30:0, FastEthernet0/0
OI  2001:3::3/128 [110/20]
     via FE80::C001:25FF:FE30:0, FastEthernet0/0
OI  2001:4::4/128 [110/30]
     via FE80::C001:25FF:FE30:0, FastEthernet0/0
OI  2001:23::/64 [110/20]
     via FE80::C001:25FF:FE30:0, FastEthernet0/0
OI  2001:23::2/128 [110/10]
     via FE80::C001:25FF:FE30:0, FastEthernet0/0
OI  2001:34::/64 [110/30]
     via FE80::C001:25FF:FE30:0, FastEthernet0/0
R1#
 
R2#show ipv6 route ospf
IPv6 Routing Table - 14 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
O   2001:1::1/128 [110/10]
     via FE80::C000:25FF:FE30:0, FastEthernet0/0
O   2001:3::3/128 [110/10]
     via FE80::C003:25FF:FE30:1, FastEthernet0/1
OI  2001:4::4/128 [110/20]
     via FE80::C003:25FF:FE30:1, FastEthernet0/1
OI  2001:34::/64 [110/20]
     via FE80::C003:25FF:FE30:1, FastEthernet0/1
R2#
 
R3#show ipv6 route ospf
IPv6 Routing Table - 13 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
O   2001:1::1/128 [110/20]
     via FE80::C001:25FF:FE30:1, FastEthernet0/1
O   2001:2::2/128 [110/10]
     via FE80::C001:25FF:FE30:1, FastEthernet0/1
O   2001:4::4/128 [110/10]
     via FE80::C004:25FF:FE30:0, FastEthernet0/0
O   2001:12::/64 [110/20]
     via FE80::C001:25FF:FE30:1, FastEthernet0/1
O   2001:23::2/128 [110/10]
     via FE80::C001:25FF:FE30:1, FastEthernet0/1
R3#
 
R4#show ipv6 route ospf
IPv6 Routing Table - 12 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
OI  2001:1::1/128 [110/30]
     via FE80::C003:25FF:FE30:0, FastEthernet0/0
OI  2001:2::2/128 [110/20]
     via FE80::C003:25FF:FE30:0, FastEthernet0/0
OI  2001:3::3/128 [110/10]
     via FE80::C003:25FF:FE30:0, FastEthernet0/0
OI  2001:12::/64 [110/30]
     via FE80::C003:25FF:FE30:0, FastEthernet0/0
OI  2001:23::/64 [110/20]
     via FE80::C003:25FF:FE30:0, FastEthernet0/0
OI  2001:23::2/128 [110/20]
     via FE80::C003:25FF:FE30:0, FastEthernet0/0
R4#
 
Observation:
·         OSPF is fully converged now!

No comments:

Post a Comment