networking stalls between domU using vif
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xen-3.2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I can't get networking to work properly between any two domU when using vif on hardy 8.04.1 using xen-3.2.
I set up two domU on private IPs in 192.168.1.0/24 using network-nat and vif-nat, and observed the following behavior.
*) Networking to and from the outside world worked just fine.
*) Transferring a large file (50M) from one of the domU to dom0 worked fine using several protocols (ssh, ftp, etc).
*) Transferring a large file (50M) between the two domU stalls out after a few megs have gone through, also seen using any protocol.
As a test, I then set up several domU using public IPs, using network-bridge and vif-bridge. I saw exactly the same behavior as wtih the private IPs. However, with the public IPs, if I stopped using vif, then networking worked just fine. Meaning, if in the .cfg files for the domU, I set
vif = [ '' ]
and just set up the interfaces directly in the domU then I could transfer the large file (50M) between the domU without trouble.
I should also note that if I disable tcp checksumming on the interfaces in the domU by uncommenting the line that reads
# post-up ethtool -K eth0 tx off
then I can transfer the file around. Though this causes all sorts of other things to break.
SUMMARY:
When using vif, I cannot reliably transfer files of any material size between domU using any protocol I know how to test.
Transferring files between domU and dom0, or between domU and any outside server works just fine.
I expected to be able to scp / ftp / etc files between two domU when using vif to bridge.
What I actually see is that if I'm using vif, a few megabytes will transfer and then the transfer will stall, and I see this using many different protocols.
All of this was tested on HP proliant servers using the tg3 network driver.
I am having the same problem with Xen. Have you been able to find any workarounds?