I have a server with my own public /28 IPv4 Network.
On this server I have some vServers, done with KVM/libvirt. These vServers are connected with a virtual network, NATed to the internet. Every vServer has a private (192.168.x.y/24) address and not every vServer should get a public IP.
The host routes the public IPs to their specific vServer, which is working great on incoming connections.
My problem: on outgoing connections from the vServers they get the sender IP from the host and not their public one. Is there any way to set a public sender IP for a vServer in libvirt?
I've already searched ServerFault, but didn't really find anything. But I have to admit, I may not know the best search terms for this.