[ovs-discuss] For help about ssh between vms through ovs-dkdp

钢锁0310 liw at dtdream.com
Wed May 20 09:39:53 UTC 2015


i build the vm-ovsdpdk-vm environment by using vhost-cuse
the cmd is following
ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev
ovs-vsctl add-port br0 tap0 -- set Interface tap0 type=dpdkvhost  
ovs-vsctl add-port br0 tap1 -- set Interface tap1 type=dpdkvhost

qemu-system-x86_64 cirros.img -m 2G -vnc :1 -object memory-backend-file,id=mem,size=2G,mem-path=/dev/hugepages,share=on -numa node,memdev=mem -mem-prealloc -netdev type=tap,id=net1,script=no,vhost=on -device virtio-net-pci,netdev=net1
qemu-system-x86_64 cirros.img -m 2G -vnc :2 -object memory-backend-file,id=mem,size=2G,mem-path=/dev/hugepages,share=on -numa node,memdev=mem -mem-prealloc -netdev type=tap,id=net1,script=no,vhost=on -device virtio-net-pci,netdev=net1

# add ovs flow
ovs-ofctl add-flow br0 in_port=1,action:output=2
ovs-ofctl add-flow br0 in_port=2,action:output=1
mac of vm1 is 00:00:00:00:00:01   vm2 is 00:00:00:00:00:02
ping form vm1 to vm2 is ok, but ssh is not ok
On vm1 run ssh to vm2,   Run tcpdump on vm2,  the catching packet as follow 
it seems the packets is all wrong
Anyone meet this situation?
*********************RTFSC*********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150520/8090fbe8/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp4cj.png
Type: application/octet-stream
Size: 25941 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150520/8090fbe8/attachment-0002.obj>


More information about the discuss mailing list