Re: User mode network cause other network doesn't work any more

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

 



On 2011-09-02 15:59, Liang Guo wrote:
> Hi,
> 
> When I run kvm with following option:
> 
>          -net nic -net vde,sock=/var/run/vde2/vde3.ctl
> 
> the guest OS's network work as expected, I can ping/ssh from/to host OS,
> but when I run kvm with:
> 
>         -net nic -net user -net nic -net vde,sock=/var/run/vde2/vde3.ctl

That's probably the classic mistake: You create one virtual LAN inside
QEMU this way. Attached to this LAN are all four peers (two NICs, slirp
and VDE).

What you likely want are two backend/frontend pairs:
-net nic,netdev=net1 -net user,id=net1 \
-net nic,netdev=net2 -net vde,sock=/var/run/vde2/vde3.ctl,id=net2

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux