On 10.01.2017 13:47, boddu pavan wrote:
> 
>     Hi Thomas,
> 
>         On Monday, January 9, 2017 3:01 PM, Thomas Huth
>         <[email protected]> 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
>         better
>         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.

 Thomas


Reply via email to