VM's on SoYouStart Dedicated
I have a dedicated server from SoYouStart/OVH and ordered some additional IP's with it that I would like to use with virtual machines. I am trying to assign the additional IP's the the virtual machines I am creating. The host machine is running Ubuntu 18.04 and I installed KVM/Qemu. I created a Ubuntu 18.04 virtual machine as a test and am trying to assign one of the additional IP's to it.
The main IP of the server is 192.99.100.xx, which makes the default gateway 220.127.116.11. The block of IP's I got are 54.39.238.xx/28. I have set up a virtual MAC for the IP I am using which is 02:00:00:79:7f:12. I know where to put the MAC address assuming the rest of the configuration works.
The hosts 01-netcfg.yaml looks like this. The guides never say so but I'm assuming I need to set up a bridge. The host loses connectivity with this config though.
network: version: 2 renderer: networkd ethernets: eno1: dhcp4: no dhcp6: no bridges: br0: interfaces: [eno1] dhcp4: no addresses: [192.99.100.xx/24] gateway4: 18.104.22.168 nameservers: addresses: [22.214.171.124,126.96.36.199]
The virtual machine's 01-netcfg.yaml is set up as follows like the guide suggests.
network: version: 2 renderer: networkd ethernets: ens3: dhcp4: no dhcp6: no addresses: [54.39.238.xx/32] gateway4: 188.8.131.52 nameservers: addresses: [184.108.40.206,220.127.116.11] routes: - to: 18.104.22.168/32 via: 0.0.0.0 scope: link
I have the exact same setup with another provider on a dedicated server that is working but it is my understanding that OVH does things differently and there is some extra configuration needed. I am using just a fresh install of Ubuntu 18.04 and installed KVM/qemu, virt-install, etc. created the VM with virt-install. I would prefer to not use Promox, VMware, or any of the likes. It's just a personal server for projects that I'm trying to split into a few VM's. Any help would be greatly appreciated. Thank you.