i’m currently running a Mikrotik CHR on a hetzner bare metal server with a /28 subnet routed onto the Mikrotik CHR router and wanted to use now parts of the subnet directly in VMs (Plesk for example) without the need of NAT.
The bare metal server runs ESXi 8 where the CHR runs on with a dedicated mac provided by hetzner and a single /32 ip where the subnet is routed onto.
The subnet is 144.76.x.x/28 and the gateway (Mikrotik CHR) is 49.12.x.x
I’ve created a seperate interface already where the VM is connected to the CHR.
well the thing is that due to the gateway being on a different subnet my windows test vm errors out about that.
I’ve tried already enabling proxy-arp as suggested in other threads + using a bridge with the ether3 interface where the windows test vm is attached to but no luck.
The additional subnet is routed to you. The traditional method would be to assign one of the addresses to a ‘LAN’ subnet on the CHR to which the VMs are attached, and assign them other addresses from the subnet with the CHR address as their gateway. For a /28 this gives you 13 useable addresses.
yeah i’ve already checked the hetzner guide on that but due to vmware esxi’s nature it doesnt have any built in bridge functionallity so i’m required to use a router vm - i’m linking the example below maybe this brings in more insight on my approach - sorry that i didnt include it in the first place
I think the issue was that i put them all onto the ether1 interface combined with the main ip of the CHR.
I’ve applied one of the subnet ips to the dedicated vm interface and configured as said and it works now - brilliant!
one remaining question i got is do i need to keep proxy-arp enabled on ether1 or can i safely revert it back to default aka enabled?
i’ve tested it and in both ways it seems to be working fine with either options but i’m not sure.