Community discussions

MikroTik App
 
acontios
just joined
Topic Author
Posts: 22
Joined: Tue May 27, 2014 5:57 pm
Location: Paris, France
Contact:

IPv6 Recursive routing

Thu Dec 01, 2016 8:46 am

Hello All,

I have the following setup on my network:
[CCR1016 Concentrator] ----------- L2TP Tunnel over Internet ----------- [RB1100AHx2 CPE]


The CCR1016 runs BGP over public ASN, and I'd like to run BGP on RB1100 too, but using another ASN (and its specific IP[v4/v6] subnets), as an eBGP customer from CCR1016.



The L2TP interface on the client side receives an IPv4 /32 from the CCR1016 (which is given to it by a radius attribute), and is unnumbered for IPv6.
However, there are also delegated IPv4 and IPv6 subnets from the CCR to the RB1100.

I managed to setup eBGP multihop (using one of those delegated IPv4/IPv6 as an update-source) between boths, but the announced IPv6 prefix is not installed on the concentrator, because of an unreachable gateway. IPv4 is fine, because of the IPv4 wan address on the l2tp tunnel:
 0 ADS  dst-address=193.17.192.96/28 gateway=193.17.192.250 
        gateway-status=193.17.192.250 reachable via  <l2tp-xxxx@xxxxxx> distance=1 
        scope=30 target-scope=10 

 0 ADb  dst-add 0 ADb  dst-address=193.43.214.0/24 gateway=193.17.192.97 
        gateway-status=193.17.192.97 recursive via 193.17.192.250 <l2tp-xxxx@xxxxxx> 
        distance=20 scope=30 target-scope=30 bgp-as-path="44097" bgp-local-pref=600 bgp-med=10 
        bgp-origin=igp bgp-communities=34019:44090,34019:64512,65512:20005 
        received-from=ebgp-ccavadore-v4 
However, as the IPv6 delegated subnet used an interface index instead of gateway address as nexthop, the gateway-status stays unreachable:
 0 ADS  dst-address=2001:67c:1740:200::/62 gateway=<l2tp-xxxx@xxxxxx> 
        gateway-status=<l2tp-xxxx@xxxxxx> reachable distance=1 scope=30 
        target-scope=10 

 0  Db  dst-address=2001:67c:ec::/48 gateway=2001:67c:1740:200::1 
        gateway-status=2001:67c:1740:200::1 unreachable distance=20 scope=30 target-scope=40 
        bgp-as-path="44097" bgp-local-pref=600 bgp-med=10 bgp-origin=igp 
        bgp-communities=34019:44090,34019:64512,65512:20005 received-from=ebgp-ccavadore-v6 
What could I do to allow that route to be installed ?
I tried to play with scope & target-scope attribute, but it seems that nexthops cannot be resolved through interface routes (as said by the wiki), so I do not see any solution for me there.

Thanks for your help !

Regards

Acontios
 
patrick7
Member
Member
Posts: 343
Joined: Sat Jul 20, 2013 2:40 pm

Re: IPv6 Recursive routing

Thu Dec 01, 2016 1:25 pm

Try playing with target scope.

Who is online

Users browsing this forum: No registered users and 19 guests