I’ve been using Digital Ocean droplets as WireGuard VPN servers. The VPN service uses an internal set of IP addresses, for which I wanted to use 10.A.B.X (where A and B are randomly chosen for each droplet, and X is a separate ID for each client user).
However, I notice that there’s an “Anchor IP” associated with eth0 on each droplet, even when I don’t use Floating IPs. This is fine, but I want to make sure that my randomly chosen IP scheme doesn’t conflict/overlap with the Anchor IP.
So, if I choose A and B to always be between 30 and 250, will that avoid conflicts, or do some droplets use 10.30.x.x as the anchor IP? What range can I use to ensure I don’t overlap?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.