I am working on a feasibility study to replace my existing VM platform to Proxmox and it works in a slightly strange way (IMO) compared to how my current platform works.
Basically I have a Hetzner dedicated server with a single fixed IP + a small /29 subnet. To enable the VMs to use the IPs from the subnet there is a a little bit of routing config required on the host, and then on the VMs I have to manually apply an IP and some routing.
I've managed to get this working for a debian and ubuntu hosted VM, but struggling a little with how to configure this for CHR, to try to explain i thought i'd share the IP config for the two linux boxes.
VM Host IP (numbers changed for this post) = 188.8.131.52
Ubuntu VM config (the key here to make this work is the routes)
- to: 0.0.0.0/0
Deian VM config (the key here to make this work is the again the pointopoint statement, which is a route)
iface ens18 inet static
So on my CHR box I tried adding the IP 184.108.40.206/32 to ether1, then put in a route that said 0.0.0.0/0 should go via 220.127.116.11
/ip address add interface=ether1 address=18.104.22.168 netmask=255.255.255.255
/ip route add dst-address=0.0.0.0/0 gateway=22.214.171.124
No joy ... do i need to do something above and beyond assigning the IP and sticking the route on the device to get the routing to work in the same way ?