Community discussions

MikroTik App
 
dominicbatty
Member Candidate
Member Candidate
Topic Author
Posts: 100
Joined: Wed Jul 07, 2010 12:26 pm

Routing IPv6 PI Block

Wed Jun 22, 2022 7:26 pm

Dear all, I'm wondering if someone might be able to offer me any suggestions to my current IPv6 routing dilemma.

We have a dual-homed mikrotik device where one of our providers is now supporting IPv6 and the other one will shortly. We also have a /48 PI IPv6 block and an AS number.

Our PPPoE connection to our provider connects without a problem and is assigned an IPv6 /128 address and the gateway is the name of the PPPoE interface. This looks fine.
Our 2x BGP sessions come up and present 2x default routes that appear in the routing window correctly.
Our 2x BGP sessions also advertise our PI block to the ISP's 2x BGP peers and I can see them advertised across the web using a BGP lookup and routing looks fine back to the ISP.

I have static routes in place to the ISP BGP peer A using the PPPoE gateway and the ISP BGP peer B using the PPPoE gateway. This is to allow the router to gain access to the ISP's BGP peers prior to obtaining the default routes from them.

I also have a static route in place to the ISP BGP router that is presented to me as the next hop in the in the BGP default routes. The default routes come in as ::/0 with a next hop address but if I don't put in a static route to this next hop address then the our router cannot get to it.

I can now ping a device on the public internet from the router.

Now, what to do with the PI block. I've hooked a subset /64 of the PI block up to the LAN interface and advertised this using SLAAC and my clients get an address correctly and can ping the routers LAN interface. What I cannot seem to do no matter how hard I try is make this router route traffic from my client connected PC through the router and out to the internet.

Am I missing something obvious here, I've tried everything I can think of, but a bit new to BGP and IPv6 which is not helping?
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1739
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: Routing IPv6 PI Block

Wed Jun 22, 2022 7:46 pm

Probably one of the first things you want to verify is whether or not your IPv6 PI space is being advertised to your BGP upstreams?

You can put the prefix in here (or any other looing glass) and see if it's learned in the global routing table.
https://lg.he.net/


What version of RouterOS are you using and what platform?
Can you post an example of your BGP config and routing table?
 
dominicbatty
Member Candidate
Member Candidate
Topic Author
Posts: 100
Joined: Wed Jul 07, 2010 12:26 pm

Re: Routing IPv6 PI Block

Thu Jun 23, 2022 2:25 am

Thanks for getting back to me, yes, BGP all checked using HE's services and BGP routes are all in place. I can traceroute back as far as my ISP from a remote test server but not into my router. I'll load the configurations tomorrow as I don't have access to that device from here.
 
dominicbatty
Member Candidate
Member Candidate
Topic Author
Posts: 100
Joined: Wed Jul 07, 2010 12:26 pm

Re: Routing IPv6 PI Block

Thu Jun 23, 2022 10:50 pm

Hi, I've managed to resolve this issue with my ISP. When I wasn't seeing incoming traffic on the PI network I referred it back and they found a problem in their inbound routing to me. All looks to now be working fine. Many thanks.
 
DarkNate
Forum Veteran
Forum Veteran
Posts: 999
Joined: Fri Jun 26, 2020 4:37 pm

Re: Routing IPv6 PI Block

Thu Jun 23, 2022 11:37 pm

Don't forget to route all the GUA blocks to black hole on the edge router to prevent layer 3 loops:
 
dominicbatty
Member Candidate
Member Candidate
Topic Author
Posts: 100
Joined: Wed Jul 07, 2010 12:26 pm

Re: Routing IPv6 PI Block

Thu Jun 23, 2022 11:39 pm

Thanks for the heads-up, I noted that in another post I read so I've already black holed the PI block. Thanks.

Who is online

Users browsing this forum: No registered users and 14 guests