Same IP for multiple instances #690
-
Description
Is there a way for them to form a network? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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 ( 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 Setting up tun/tap (or vde) also for Linux would be more powerful, but also requires root. |
Beta Was this translation helpful? Give feedback.
-
This was the story about adding Linux networking: |
Beta Was this translation helpful? Give feedback.
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.