I’ having a really hard time trying to get IPv6 to work. I’ll make this 3 parts: My setup, what I have, what I managed to do.
My Setup:
Internet → Mikrotik CCR2004 → OLT on port 1 → ONU
Internet → Mikrotik CCR2004 → Switch on port 2 → My PC
What I have
I have 2 IPv4 addresses /29 from my ISP
I have 1 IPv6 P2P /127 gateway
I have 1 IPv6 /48 prefix
What I managed to do:
Imanaged to get the P2P gateway to work. The trick is to write /64 at the end of the address instead of /127. I don’t know why it work, but it work.
I’ve added the addresses pool, but it really just set there without a way to assign addresses from it automaticly.
I’ve added a DHCPv6 server and devices started to take addresses and use them as LAN addresses for some reason.
Finally I added the address /56 directly to the interface and suddnly I have WAN addresses to all devices.
Regarding Port 2 that is connected to my PC, I managed to make the PC to get an address, but it didn’t work in browsing anything. Port 2 isn’t that important anyway, I use it for management.
The problen now is that I can see that each device has it’s own IPv6, but when I do IP test (aka google what’s my IP), they all show the same IP.
I think this is because I had a rule in the IPv6 firewall in the NAT section that was srcnat → Masquerade
When I removed the rule, IPv6 stopped working again.
I’ll be happy to provide any kind of information in order to get this thing working. It’s been 3 weekd and I’m very desperate!
Please notice that this config gives all devices an IP address correctly. Looks like it’s giving the address using SLAAC. But this does not allow outbound connections to anything.
The moment I add a NAT rule that is:
Chain: srcnat
Out. Interface: WAN-HotNet
Action: masquerade
I’ll be able to ping and browse IPv6 addresses correctly, but my public IP will be the gateway address.
Any other configuration will not work no matter what I do.
It looks like currently your remote gateway, the one sitting at 2a00:a043:0000:0000::1d4, has no idea that it should route packets destined for 2a00:a042:0000::/48 to your router (to 2a00:a043:0000:0000::1d5). Do you have access to that gateway to manually add the route?
How did you get the information about the /48 prefix? was it given to you manually by your ISP? Can you try to setup DHCPv6 Client on WAN-HotNet instead
and see if the same prefix is provided to the pool “WAN-HotNet-Pool”? If yes, use that pool instead of the one that you manually added. Requesting the Prefix via DHCPv6 will normally tell the other end (the DHCPv6 server) to add the correct route for that prefix range.