Good evening everyone. I have a hosted CHR that advertises an IPv6 /64 subnet to me.
I statically assigned an IP of the subnet on ether1 in /48 to be able to reach the gateway.
The router navigates correctly in IPv6.
Now how do I dynamically expose the other IPs to the bridge interface?
If upstream router advertises /64 towards you, then you can’t simply “invent” a /48 to be used in “your network”.
If that /48 is globally routed prefix and has actually been allocated to you, then you need to configure routing on upstream router (/ipv6/route/add destination=/48 gatway=<your router’s WAN address>) …
This is one of the simplest configurations. As you can see, the IPv6 addresses of the WAN interface and gateway are on a different network. Which is different from the pool given to me.
In the meantime, thank you for your valuable response. I’m not an IPv6 expert. In any case, I was given an indication of the /64 assigned and which gateway it is. At this point the doubt remains as to which subnet to indicate in the IP address and whether I should take the address from the pool or ask the ISP which one to use.
As far as I understand, you have been assigned a /64 subnet. It should be registered as a pool. And from this pool you will allocate addresses for devices on your local network.
All that remains - is to understand, what address your provider allocates to you for the WAN.
As I wrote earlier, this address (for your WAN interface) must be in the same “small” network with the address, that was issued to you as a gateway.
Your messages indicate either different addresses or incorrect ones.
If you are given a pool
2a0d:b287:ec00:52b4::/64
, then the address for your interface that goes to the provider cannot be
2a0d:b287:ec00:52b4::1
Because this address already belongs to your pool.
You can assign address
2a0d:b287:ec00:52b4::1
to the interface, that will advertise addresses for your local network. Although this is not entirely true. And for the WAN interface you need a different address that will be in the same subnet with the default gateway to the provider.
Perhaps @OP should set /ipv6/settings/set accept-router-advertisements=yes and WAN interface would then accept RAs and thus perform SLAAC auto configuration? Because router’s WAN IPv6 address doesn’t matter much, default route has to be configured. And link-local addresses are just fine for that … and these are advertised as gateway address in RAs quite often.
good morning, today they are assigning me another subnet in order to avoid the overlap encountered. Question, but can I divide the /64 that I have as a pool to advertise towards the LAN into two /96 pools, one towards the LAN bridge and one towards an ether other than the bridge?