I am in the process of putting more of my network over to IPv6. As part of that, I have 2 servers which I would like to enable for IPv6. At the moment, they are on an isolated IPv4 subnet with no route to the public internet and I want to achieve the same with IPv6. IPv6 is working fine from a hEX router [ROS 7.16.2] for normal stuff.
The machines in question have IPv6 options of OFF, AUTO, DHCP and MANUAL. Apart from OFF, all of these options give me a Link-Local, a Unique Local and a Global Address. So how can I prevent acquisition of a Global Address? The approaches I can see fall into the following classes:
- This is not how IPv6 works, you are mad to even think of this, you should solve this with the firewall or something like that. Well, yes, but for my peace of mind, I would rather sleep knowing that these boxes have no Global IPv6 addresses
- To selectively prevent the router giving the servers in question a global IPv6 address, while allowing them to configure with their Unique Local and Link-local Addresses
- To somehow disable acquisition of the global address by the servers [preferred] or disable the addresses once acquired [less favoured, although I can do this from the command line, so just a question of finding a place for a script]. These are Linux servers with system.d