IPv6 Routing - OSPF / BGP / PPP

I have several Mikrotiks running in my network and i would like to understand and build a IPv6 routed network on top of my current infrastructure

I have an IPv6 subnet /48 (ISP) on one location and i would like to use some subnets of this subnet on another location

http://wiki.mikrotik.com/wiki/Manual:My_First_IPv6_Network

The problem is that the connection between R1 and R2 is not ethernet but PPTP

How can i solve this problem?


Note: Red is PPTP connection
Note: Blue / Purple is ethernet connection

You can assign a global unicast IPv6 addresses to a PPTP interface that is running over IPv4.

IPA-LAB-RB3011-1

[admin@IPA-LAB-RB3011-1] > ipv6 address export                      

/ipv6 address
add address=2001::1/112 advertise=no interface=pptp-out1

IPA-LAB-RB3011-2

[admin@IPA-LAB-RB3011-2] > ipv6 address export 

/ipv6 address
add address=2001::2/112 advertise=no interface=<pptp-ppp1>

Ping across PPTP with IPv6

[admin@IPA-LAB-RB3011-1] > ping 2001::2                             
  SEQ HOST                                     SIZE TTL TIME  STATUS            
    0 2001::2                                    56  64 0ms   echo reply        
    1 2001::2                                    56  64 0ms   echo reply        
    2 2001::2                                    56  64 0ms   echo reply        
    3 2001::2                                    56  64 0ms   echo reply        
    4 2001::2                                    56  64 0ms   echo reply        
    sent=5 received=5 packet-loss=0% min-rtt=0ms avg-rtt=0ms max-rtt=0ms

If you don’t have to run PPTP, I would replace it with EoIP as you can easily put IPv6 global unicast and link-local on it and it will act just like your other ethernet interfaces with respect to IPv6. Ultimately, though, you can route IPv6 over either type of tunnel.

I think you mean i can just configure “public” ipv6 adresses but i already had the following adresses configured

R1 2001:xxx:xxx:83::220/64
R2 2001:xxx:xxx:83::252/64

When i check the ping tool and ping from the ppp interface i still get timeouts

I have started torch and the ping packets are seen on the outgoing pptp interface but there are no packets inbound on the receiving interface

Update: I have changed "UseIPv6 from “No” to “Default” and now it is working :smiley:

Glad you figured it out :slight_smile:

Yes but now i need to figure out how to configure OSPFv3 since the example is not working for me (Yet) so i`m searching for a better real life example

Go into /routing ospf-v3 interfaces
Add the interface and set the area there.

OSPFv3 doesn’t use networks like OSPFv2 does. You must explicitly configure interfaces. Mikrotik also allows you to define the “any” interface if you just want to turn it on on every interface by default.

You’ll need to modify your loopback inteface for IPv6 though - create an administrative MAC address for it - IPv6 wants to know the MAC address before it will enable v6 on a bridge. Since the bridge doesn’t have any physical interfaces, it doesn’t automatically make a MAC for itself.

You`re talking about a loopback interface (bridge) but in the example there is no Loopback :open_mouth:

Sorry - I assumed you were using loopback interfaces in your existing IPv4 configuration.

Loopback interfaces aren’t required, per-se - but it’s best practice in a dynamic routing environment that every router have a loopback interface with a /32 assigned to it (IPv4) and a /128 assigned to it (in IPv6) - and to use the loopback IP as the router-id in all protocols, configurations, etc.

They’re especially recommended as tunnel endpoint addresses, since the source IP might go away if it’s bound to a physical interface and that interface goes down. A loopback interface will always be reachable so long as the router has at least one up-and-running ospf interface.

If you haven’t been doing this, then that’s why you don’t have a loopback interface. Things will work without it, but it’s not best practice.

In IPv6 routing, you don’t even need public addresses on the router-to-router interfaces anyway, as OSPFv3 uses the link-local address as the next hop. If you have a routable address on the loopback interface, then the router will use that in all of its “correspondence” with the world - traceroute replies / icmp unreaqchable / ping source / etc.

I don t use IPv4 for OSPF but im using BGP to route my internal 192.168.x.x traffic and it is working fine. Since i have my own /48 subnet i would like to use it on several location in my “Home” network

But for now im cant even get two routers who are directly connected by ethernet to see each other in OSPFv3. Im sure im doing something wrong but i didn`t found out the issue yet

crs1

[admin@crs1] /routing ospf-v3> export

/routing ospf-v3 instance
set [ find default=yes ] disabled=no redistribute-connected=as-type-1 \
    router-id=192.168.110.251

/routing ospf-v3 interface
add area=backbone disabled=no interface="eth2 -  crs1 to crs2"
[admin@crs1] /routing ospf-v3>

crs2

[admin@crs2] /routing ospf-v3> export

/routing ospf-v3 instance
set [ find default=yes ] redistribute-connected=as-type-1 router-id=\
    192.168.110.252
/routing ospf-v3 interface
add area=backbone interface="eth2 - crs1 to crs2"

[admin@crs2] /routing ospf-v3>

Update

Just found out that my firewall for IPv6 was dropping protocol 89 :open_mouth: