Situation

I have two QEMU KVMs (named master and worker, respectively) running on my laptop. The VMs use the headless server edition of Ubuntu 22.04, and the laptop is running Mint.

Goal

I want three IP addresses or names (host and the two VM’s) that I can use to connect to any of them from another, and all ports of these three should be visible to the others, as I am trying to experiment with some kubernetes concept with this mini setup. I do not want to resort to port forwarding.

Optional

Best if the IP addresses are static, so that I do not have to look them up at each reboot of the laptop.

I tried looking up the QEMU networking documentation, and it does give me a lot of information, but as my networking fundamentals are not good, I was wondering if there is a relatively straightforward way to set this up.

Leave a Reply

Your email address will not be published. Required fields are marked *