[ovs-discuss] connecting a VM to OVS with a virtio device

Avi Cohen (A) avi.cohen at huawei.com
Tue May 9 06:36:05 UTC 2017


Thanks Guoshuai Li
Found it with netstat -vatpn
Best Regards
avi

> -----Original Message-----
> From: Avi Cohen (A)
> Sent: Tuesday, 09 May, 2017 9:32 AM
> To: 'Guoshuai Li'; ovs-discuss at openvswitch.org
> Subject: RE: [ovs-discuss] connecting a VM to OVS with a virtio device
> 
> Thank you Guoshuai Li
> But I don't know the server_ip (VM ip)
> Can you give  the exact command to vncviewer ?
> Best Regards
> avi
> 
> > -----Original Message-----
> > From: Guoshuai Li [mailto:ligs at dtdream.com]
> > Sent: Monday, 08 May, 2017 7:25 PM
> > To: Avi Cohen (A); ovs-discuss at openvswitch.org
> > Subject: Re: [ovs-discuss] connecting a VM to OVS with a virtio device
> >
> > -vnc :702
> >
> > this is means the vnc-port is 5900+702 = 6602 you may used vnc by
> > server_ip:6602
> >
> > Make sure the firewall does not prohibit it.
> >
> > > Thank you very much Guoshuai Li
> > > How can I enter (vncviwer) the VM ?  I don't know the VM ip Best
> > > regards avi
> > >
> > >> -----Original Message-----
> > >> From: Guoshuai Li [mailto:ligs at dtdream.com]
> > >> Sent: Wednesday, 26 April, 2017 7:02 PM
> > >> To: Avi Cohen (A); ovs-discuss at openvswitch.org
> > >> Subject: Re: [ovs-discuss] connecting a VM to OVS with a virtio
> > >> device
> > >>
> > >> This is my command, Please refer :
> > >>
> > >> # qemu-kvm /root/image/gdx_ctl1.img -cpu host --enable-kvm -smp
> > >> 2,sockets=4 -m 4G -vnc :702, -net
> > >> nic,vlan=0,macaddr=0c:b5:8a:e3:9c:00
> > >> -net tap,vlan=0,ifname=tap709,script=no
> > >>
> > >> # ovs-vsctl add-br br-def
> > >>
> > >> # ovs-vsctl add-port br-def eth0
> > >> # ovs-vsctl add-port br-def tap709
> > >> # ip link set tap709 up
> > >>



More information about the discuss mailing list