qemu set different dynamic ip address for each machine

bh flag

I need to run about 7 virtual machines via qemu at the same time. The problem is that they all have the same public IP address as the host. Is there any way to give them different ip addresses? host and guest system is debian.

I searched the Internet for solutions to this problem, but none came up

djdomi avatar
za flag
as i can clearly see that you may ask a enduser question inhere, I suggests that you flag your question for movement to where it might be on topic. And short info, yes it is possible to get a VM a different IP.
John Mahowald avatar
cn flag
Please edit your question to add guest and host network configuration, network diagram including the next hop to the internet, and the prefix you plan to address these out of. Multiple public IP addresses without spending a lot may imply an IPv6 implementation.
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.