We have a small block of static IPs (e.g. 203.0.113.0/29). We currently only use 203.0.113.2 for a mail server.
We'd like to add some other public servers, and if possible would like to have them as VMs under a KVM host, which itself would have a public IP of 203.0.113.1. In addition the KVM host would have to serve as an internet gatweway and DHCP server for several Windows VMs we'd also like to run (which would have private IPs).
Here's a diagram of what I'm hoping for:
I've never setup KVM before. I've read a number of articles on KVM networking, including bridging, DHCP, etc. but I haven't figured out whether this combination is possible or how I would go about doing it?
- A DHCP server running on the KVM host
- ...which provides private IPs and internet gateway access to any VMs set to received IPs by DHCP
- ...but which also supports hosts which have public static IPs configured
How can I setup the KVM host to make this work? Thanks to anyone who can help.