Closed lmarcuzzo closed 8 years ago
Hi
Can you provide pcap traces on VM1 and VM2 interfaces?
Thank you.
Hi, i ran a few more tests and put the pcaps on a zip.
I tested a ping, telnet connection and nmap (using TCP SYN scan, TCP connect scan and udp)on clickOS and linux running click as kernel module(TCP connect and udp on linux is not in the pcap, but it works).
It seems doing with telnet and TCP connect scan with clickOS, a TCP packet arrives at VM2, but no response is sent back. On click running on linux the TCP arrives and the response is sent.
And for some reason using TCP SYN scan through clickOS works, but telnet, TCP connect or UDP still doens't.
Some more info that may be useful: Im running xen 4.4.3 on Fedora 21 and using linux bridges. Both VMs are running paravirtualized Debian 8 with firewalls disabled. IPs on VMs are static.
Thank you for your help. tests.zip
Chances are that it is because of checksum offloading which IIRC wasnt correctly handled well between end boxes. could you try with all offloadings disabled on your vms? gso/gro isnt implemented too so packets fragmented across slots wont work (that is after 3whs is working a paged buffer wouldnt work)
Hi, seems that checksum offloading was the issue. I disabled checksum and gso/gro from inside the vms(ethX) and from the hypervisor(disabling on vifX.X).
I used this command:
ethtool -K eth0 rx off tx off sg off tso off ufo off gso off gro off lro off
Thanks for your help.
Hi, im trying to use clickos to forward traffic betwenn 2 VM, but am having issues.
Each vm is connected with one bridge(br0 and br1) and click interconnects them(clickos is connected both with br0 and br1), like this:
VM1 <-br0-> clickos <-br1-> VM2
My clickos config is:
And the click config running is:
I can ping between the vms, but when i try using iperf, or telnet, i cant get a connection between then. When i ping between then, this is shown on console:
And when i try other program(using both TCP and UDP), it shows:
Running the same click config on a linux VM using click linux module instead of clickos i have no issues.