We have a layer 3 switch and a router on the same VLAN.
Both have an IPv6 unique local address (ULA) assigned to their inside interfaces.
The router is getting a 6rd IPv6 prefix from the service provider.
I'd like to advertise the 6rd IPv6 prefix from the router in RA packets so the clients have global unicast IPv6 connectivity. Public Internet traffic should go directly from the client to the router.
I'd also like to advertise the ULA prefix from the layer 3 switch in RA packets, and for clients to use their ULA address and route all ULA-destined traffic to the layer 3 switch, not to the router.
The clients will be using SLAAC to complete the last 64 bits for both their global unicast and ULA addresses.
Is this design possible?
I guess not
- Public Internet traffic should go directly from the client to the router.
would indicate you have a direct L2 connection between the router and the clients (same vlan)
- I'd also like to advertise the ULA prefix from the layer 3 switch in RA packets
would indicate you have a L2 connection between the clients and the L3 switch ,
both rules combined would mean both the L3 switch and the router are on the same vlan
-> the client will receive RA packets from both the router AND the switch.
Could you please explain why you need ULA? Why would using only GUA not be sufficient?
Our GUA changes depending on the 6rd prefix that is handed to us by our ISP. Having ULA addresses would allow us to consistently hit the same host.