[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Help in understanding the "info network"

From: Thomas Huth
Subject: Re: [Qemu-discuss] Help in understanding the "info network"
Date: Tue, 10 Jan 2017 18:28:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

On 10.01.2017 13:47, boddu pavan wrote:
>     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
>         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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]