Quantcast
Viewing all articles
Browse latest Browse all 10744

InterAS L3VPN- Back to Back VRF with OSPF

Hello experts,

I am trying to configure InterAS L3VPN with Back to back VRF using ospf as the protocol between the 2 AS'es. Topology is very simple. Have an issue, plz let me knw if someone has seen it before 

CE1---vrf(ospf)---AS1PE---AS1P---AS1ASBR1----VRF(ospf)---AS2ASBR2--AS2P----AS2PE---vrf(ospf)---CE2

Issue:

I am not able to import CE2 routes on AS1ASBR1 vrf route table. I can see them under "show ip ospf database", but dont see them being installed in the routing table.

On the other hand, I can import CE1 routes into AS2ASBR2 perfectly fine.

 

Here are some outputs from the routers.

CE1 not getting CE2 routes.

CE1#sh ip route

Gateway of last resort is not set

 

      10.0.0.0/32 is subnetted, 1 subnets

C        10.10.7.7 is directly connected, Loopback0

      30.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C        30.30.67.0/24 is directly connected, GigabitEthernet1/0

L        30.30.67.7/32 is directly connected, GigabitEthernet1/0

CE1#

===================================================================

AS1PE#sh ip vrf

  Name                             Default RD          Interfaces

  78                               200:78              Fa0/0

AS1PE#

AS1PE#sh ip route vrf 78

Gateway of last resort is not set

 

      10.0.0.0/32 is subnetted, 1 subnets

O        10.10.7.7 [110/2] via 30.30.67.7, 02:57:39, FastEthernet0/0

      30.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C        30.30.67.0/24 is directly connected, FastEthernet0/0

L        30.30.67.6/32 is directly connected, FastEthernet0/0

AS1PE#

AS1PE#sh ip bgp vpnv4 all

BGP table version is 17, local router ID is 172.16.6.6

   Network          Next Hop            Metric LocPrf Weight Path

Route Distinguisher: 200:78 (default for vrf 78)

*> 10.10.7.7/32     30.30.67.7               2         32768 ?

*> 30.30.67.0/24    0.0.0.0                  0         32768 ?

AS1PE#

===============================================================================

CE2 routes are not being imported to vrf 78.

AS1ASBR1#sh ip route vrf 78

Gateway of last resort is not set

 

      10.0.0.0/32 is subnetted, 1 subnets

B        10.10.7.7 [200/2] via 172.16.6.6, 02:57:46

      20.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C        20.20.34.0/24 is directly connected, FastEthernet0/1

L        20.20.34.4/32 is directly connected, FastEthernet0/1

      30.0.0.0/24 is subnetted, 1 subnets

B        30.30.67.0 [200/0] via 172.16.6.6, 02:59:47

AS1ASBR1#

AS1ASBR1#sh ip bgp vpnv4 all

BGP table version is 17, local router ID is 172.16.4.4

   Network          Next Hop            Metric LocPrf Weight Path

Route Distinguisher: 200:78 (default for vrf 78)

*>i10.10.7.7/32     172.16.6.6               2    100      0 ?

*>i30.30.67.0/24    172.16.6.6               0    100      0 ?

AS1ASBR1#

AS1ASBR1#sh run | s router ospf

router ospf 18 vrf 78

 log-adjacency-changes

  redistribute bgp 200 subnets

 network 20.20.0.0 0.0.255.255 area 0

AS1ASBR1#

I see CE2 route in ospf database though.

AS1ASBR1#sh ip ospf database

 

            OSPF Router with ID (20.20.34.4) (Process ID 18)

 

                Router Link States (Area 0)

 

Link ID         ADV Router      Age         Seq#       Checksum Link count

20.20.34.3      20.20.34.3      1672        0x80000007 0x009DFB 2

20.20.34.4      20.20.34.4      1620        0x80000004 0x009703 2

 

                Summary Net Link States (Area 0)

 

Link ID         ADV Router      Age         Seq#       Checksum

10.10.8.8       20.20.34.3      1930        0x80000004 0x001630 --->CE2 route

10.10.18.0      20.20.34.3      1930        0x80000004 0x00ED57

 

                Type-5 AS External Link States

 

Link ID         ADV Router      Age         Seq#       Checksum Tag

10.10.7.7       20.20.34.4      1620        0x80000004 0x009C09 3489661128

30.30.67.0      20.20.34.4      1620        0x80000004 0x004CFC 3489661128

AS1ASBR1#

================================================================================

================================================================================

CE2(config)#do sh ip int br

Interface              IP-Address      OK? Method Status                Protocol

FastEthernet0/0        10.10.18.8      YES manual up                    up

Loopback0              10.10.8.8       YES manual up                    up

CE2(config)#

 

 

CE2 is getting CE1 routes.

CE2#sh ip route

Gateway of last resort is not set

 

      10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks

O E2     10.10.7.7/32 [110/2] via 10.10.18.1, 01:55:25, FastEthernet0/0

C        10.10.8.8/32 is directly connected, Loopback0

C        10.10.18.0/24 is directly connected, FastEthernet0/0

L        10.10.18.8/32 is directly connected, FastEthernet0/0

      20.0.0.0/24 is subnetted, 1 subnets

O IA     20.20.34.0 [110/2] via 10.10.18.1, 01:59:08, FastEthernet0/0

      30.0.0.0/24 is subnetted, 1 subnets

O E2     30.30.67.0 [110/1] via 10.10.18.1, 01:55:25, FastEthernet0/0

CE2#

CE2#sh run | s router ospf

router ospf 8

 log-adjacency-changes

 network 10.10.0.0 0.0.255.255 area 1

CE2#

============================================================================================

AS2PE#sh ip int br

Interface              IP-Address      OK? Method Status                Protocol

FastEthernet0/0        10.10.18.1      YES manual up                    up

FastEthernet0/1        192.168.12.1    YES manual up                    up

Loopback0              192.168.1.1     YES manual up                    up

AS2PE#

AS2PE#sh ip bgp vpnv4 all

BGP table version is 59, local router ID is 192.168.1.1

   Network          Next Hop            Metric LocPrf Weight Path

Route Distinguisher: 100:78 (default for vrf 78)

*>i10.10.7.7/32     192.168.3.3              2    100      0 200 i

*> 10.10.8.8/32     10.10.18.8               2         32768 ?

*> 10.10.18.0/24    0.0.0.0                  0         32768 ?

*>i20.20.34.0/24    192.168.3.3              0    100      0 ?

*>i30.30.67.0/24    192.168.3.3              1    100      0 200 i

AS2PE#

===============================================================================================

AS2ASBR2#sh ip bgp vpnv4 all

 

   Network          Next Hop            Metric LocPrf Weight Path

Route Distinguisher: 100:78 (default for vrf 78)

*> 10.10.7.7/32     20.20.34.4               2         32768 200 i

*>i10.10.8.8/32     192.168.1.1              2    100      0 ?

*>i10.10.18.0/24    192.168.1.1              0    100      0 ?

*> 20.20.34.0/24    0.0.0.0                  0         32768 ?

*> 30.30.67.0/24    20.20.34.4               1         32768 200 i

AS2ASBR2#

AS2ASBR2#sh ip vrf

  Name                             Default RD          Interfaces

  78                               100:78              Fa0/1

AS2ASBR2#

AS2ASBR2#sh run int fastEthernet 0/1

interface FastEthernet0/1

 ip vrf forwarding 78

 ip address 20.20.34.3 255.255.255.0

 ip ospf network point-to-point

 speed auto

 duplex auto

AS2ASBR2#

AS2ASBR2#sh run | s router ospf

router ospf 18 vrf 78

 log-adjacency-changes

 redistribute bgp 100 subnets

 network 20.20.0.0 0.0.255.255 area 0

router ospf 1

 log-adjacency-changes

 network 192.168.0.0 0.0.255.255 area 0

AS2ASBR2#

AS2ASBR2#sh run | s router bgp

router bgp 100

 no synchronization

 bgp log-neighbor-changes

 neighbor 192.168.1.1 remote-as 100

 neighbor 192.168.1.1 update-source Loopback0

 neighbor 192.168.1.1 next-hop-self

 no auto-summary

 !

 address-family vpnv4

  neighbor 192.168.1.1 activate

  neighbor 192.168.1.1 send-community extended

  neighbor 192.168.1.1 next-hop-self

 exit-address-family

 !

 address-family ipv4 vrf 78

  no synchronization

  redistribute ospf 18 vrf 78 match internal external 1 external 2

 exit-address-family

AS2ASBR2#

==================================================================================================

 


Viewing all articles
Browse latest Browse all 10744

Trending Articles