Hi,
I'm having two internet uplinks from 2 different ISPs. Both ISPs assign IPv6 prefixes that I can use for my LAN devices.
One provides a /60 prefix, the other one a /64 prefix.
Additionally, I'm also getting a public IPv4 address assigned from each ISP.
Now I would like to define for each host in my network, which uplink connection to use for outgoing connections.
For IPv4 traffic this is working fine with the help of defining rules based on local IPv4 addresses and the help of dedicated routing tables.
But for IPv6 the situation is different, because I'm not using NAT, and the clients get the public addresses directly assigned, and it is the clients decision, which uplink address to use.
Is there a simple way to influence the clients decision about which public IPv6 address to use for outgoing connections? Like assigning a metric to the delegated prefix or similar? Or maybe could I define the prefix to announce based on the clients MAC address?
ATM I'm announcing the prefixes to the client via the RA-Service. DHCPv6 is disabled.
But if DHCPv6 would provide that functionality, I could use that as well.
Or does anyone know an even more simple solution for that?
Thanks,
newpipe