|Subject:||Re: [Qemu-discuss] Help in understanding the "info network"|
|Date:||Wed, 11 Jan 2017 14:02:55 +0000 (UTC)|
> Hi Thomas,
> On Monday, January 9, 2017 3:01 PM, Thomas Huth
> <address@hidden> wrote:
> If you want to hook up all the NICs to one user network, I think you
> could do something like this:
> qemu-system-arm ... -net nic,vlan=0 -net nic,vlan=0 -net user,vlan=0
> But using "vlan=..." is rather deprecated nowadays, I think it's
> if you'd specify separate user netdevs instead:
> qemu-system-arm ... -net nic,netdev=u0 -netdev user,id=u0 \
> -net nic,netdev=u1 -netdev user,id=u1
> [saipava] This will instantiate a new user network for every nic.
> But i need them all to be in one network to communicate.
Why do you need that? That's like connecting one NIC port of a computer
to another NIC port on the same computer, i.e. some kind of loopback.
> Can i connect the same network backend to all ?
Not with the "-netdev" parameter - this will give you always a 1:1
connection between emulated NIC and network backend. So if you really,
really need to connect all NICs to the same network backend, you've got
to use the "vlan" hub with "-net", as far as I know.
|[Prev in Thread]||Current Thread||[Next in Thread]|