Skip to content

Same IP for multiple instances #690

Answered by afbjorklund
junnplus asked this question in Q&A
Discussion options

You must be logged in to vote

It is actually the same IP for every instance. The "user" network is not seen by the others.

https://wiki.qemu.org/Documentation/Networking

The current alternative is VDE, but that is currently only available on macOS (vde_vmnet)

It would be possible to set up a "socket" network, that would give them simple connectivity.


I will add a separate issue about it, but basically the first VM "listens" to a port on the host.

And then the second (and third...) VM "connects" to this port, so they each get an eth1...

Setting up tun/tap (or vde) also for Linux would be more powerful, but also requires root.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by AkihiroSuda
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #681 on March 02, 2022 10:14.