I have a server with a single NIC and two IPs. I've set up the primary IP on the actual NIC and i added a virtual NIC that's listening on the second IP. Now, i need to bridge the second IP to a VM. The issue is that i don't want the VM to have access to the primary IP and i don't want 0.0.0.0 on the host to bind to the second IP either. I've tried bridging the virtual NIC but it just breaks all connections, so that won't work. I can't add a second NIC either.
I'm running Ubuntu 19.04 and i've installed ifupdown to replace netplan as i'm more familiar with it.
EDIT: A netplan solution would be nice as i can't get DNS resolution working on ifupdown.