Tried scouring the web and forums for how to handle IP aliases but there are many different ways to do the same thing and none of them seem to work. I’ve a VPS node that assigned multiple public IPs.
Couldn’t figure out how to get any of these to work:
The containers must be able to “curl https://ifconfig.me” and show that its public IP is the one it’s assigned. Need to take care of both local and remote initiated internet connections.
What’s the cleanest way to do this without too many iptables routing or hacks. Preferably if there’s some way to get closer to the first strategy because then I can assign a pool of containers under one public IP.
I’m stumped. Seeking the gurus.
Ubuntu 22.04 LTS
Snap LXD 5.1