[prev in list] [next in list] [prev in thread] [next in thread]
List: qemu-discuss
Subject: [Qemu-discuss] Private LAN between machines
From: Narcis Garcia <informatica () actiu ! net>
Date: 2018-05-21 11:01:36
Message-ID: 610d03cf-aae6-583c-6bba-e58784da1cb8 () actiu ! net
[Download RAW message or body]
Hello all;
How can I connect 2 virtual machines (user mode) to same private LAN
(using Qemu 2.8.1)?
Am I right with this syntax?
$ qemu -device e1000,netdev=nic0 -netdev user,id=nic0,vlan=hub0, -netdev
hubport,id=nic0,hubid=hub0 -drive file=machine*1*.img
$ qemu -device e1000,netdev=nic0 -netdev user,id=nic0,vlan=hub0, -netdev
hubport,id=nic0,hubid=hub0 -drive file=machine*2*.img
I'm trying that each machine gets it's own IP (eg. 10.0.2.15, 10.0.2.16)
and they can see between them.
Thanks.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic