Skip to contentSkip to conversation

Network stalling

DISCUSSION Tim Durack 2 participants 4 messages Aug 31, 2005 – Sep 1, 2005

lore
Share & tools
lore

Tim Durack

author
#0 lore raw

Guess I should add my experiences:

Running unstable (approx. two weeks old now.)

Dom0 vif1.0 -> guest eth0: icmp works, ssh fails, tcp seems to have checksum issues. Building gre tunnels over this works around the problem. I thought maybe this was device driver related (tg3), so I tried bcm5700 with the same result.

Tried a similar setup with a machine with e100 driver. This time I get udp checksum errors instead of tcp, so dns fails but ssh works ;-( A gre tunnel is my current workaround.

I say checksum issues because ethereal is complaining about transport layer checksums when I do a capture to diagnose the problem.

Tried various combinations of disabling tx/rx/sg/to with ethtool in both Dom0 and guest, to no avail. Also tried hacking the driver code to permanently disable offloads. Tried looking for the difference between stable/unstable netfront and netback, but didnt get far.

A bridged setup works, ip address on Dom0 veth0, Dom0 vif0.0 bridged with Dom0 vif1.0. Real pain in the neck to firewall though, due to all the interfaces. Never managed to get Masquerading to work in this setup, so went back to a routed network with gre tunnels...

I can try a more recent unstable if it might help, but I haven't seen any evidence of anything having fixed this. Love to have a simple routed setup working.

Tim:>

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

#1 lore raw
Quoted 8 lines · Tim Durack

Guess I should add my experiences:

Running unstable (approx. two weeks old now.)

Dom0 vif1.0 -> guest eth0: icmp works, ssh fails, tcp seems to have checksum issues. Building gre tunnels over this works around the problem. I thought maybe this was device driver related (tg3), so I tried bcm5700 with the same result.

Tried a similar setup with a machine with e100 driver. This time I get udp checksum errors instead of tcp, so dns fails but ssh works ;-( A gre tunnel is my current workaround.

Quoted 7 lines

I say checksum issues because ethereal is complaining about transport layer checksums when I do a capture to diagnose the problem.

Tried various combinations of disabling tx/rx/sg/to with ethtool in both Dom0 and guest, to no avail. Also tried hacking the driver code to permanently disable offloads. Tried looking for the difference between stable/unstable netfront and netback, but didnt get far.

A bridged setup works, ip address on Dom0 veth0, Dom0 vif0.0 bridged with Dom0 vif1.0. Real pain in the neck to firewall though, due to all the interfaces. Never managed to get Masquerading to work in this setup, so went back to a routed network with gre tunnels...

I can try a more recent unstable if it might help, but I haven't seen any evidence of anything having fixed this. Love to have a simple routed setup working.

Tim, it's very likely that your initial problem has been resolved in unstable - Ian, Keir, et. al have put in quite a few fixes which have closed most of the outstanding issues we had. I think there are only a few remaining issues. However, currently routing is broken in unstable, so you might want to hold off on testing current unstable until that gets fixed.

thanks,
Nivedita

author
#2 lore raw
Quoted 8 lines

Tim, it's very likely that your initial problem has been resolved in unstable - Ian, Keir, et. al have put in quite a few fixes which have closed most of the outstanding issues we had. I think there are only a few remaining issues. However, currently routing is broken in unstable, so you might want to hold off on testing current unstable until that gets fixed.

Okay, good to know. I hadn't seen any acknowledgement that routing was broken.

I'll stick to my gre tunnels for now.

Tim:>

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

author
#3 lore raw
In reply to Nivedita Singhvi

Do you mean the network scripts are broken, or the handling of interfaces in Dom0 is causing issues with a routed setup?

I'm configuring everything manually. The fact that I have to build gre tunnels to make things work as expected suggests their is something broken in the netfront/netback code to me.

Tim:>

Quoted 49 lines · Nivedita Singhvi
Quoted 5 lines · Tim Durack

Guess I should add my experiences:

Running unstable (approx. two weeks old now.)

Dom0 vif1.0 -> guest eth0: icmp works, ssh fails, tcp seems to have

checksum

Quoted 1 line

issues. Building gre tunnels over this works around the problem. I

thought

Quoted 1 line

maybe this was device driver related (tg3), so I tried bcm5700 with the

same

Quoted 3 lines

result.

Tried a similar setup with a machine with e100 driver. This time I get

udp

Quoted 1 line

checksum errors instead of tcp, so dns fails but ssh works ;-( A gre

tunnel

Quoted 3 lines

is my current workaround.

I say checksum issues because ethereal is complaining about transport

layer

Quoted 8 lines

checksums when I do a capture to diagnose the problem.

Tried various combinations of disabling tx/rx/sg/to with ethtool in both Dom0 and guest, to no avail. Also tried hacking the driver code to permanently disable offloads. Tried looking for the difference between stable/unstable netfront and netback, but didnt get far.

A bridged setup works, ip address on Dom0 veth0, Dom0 vif0.0 bridged

with

Quoted 2 lines

Dom0 vif1.0. Real pain in the neck to firewall though, due to all the interfaces. Never managed to get Masquerading to work in this setup, so

went

Quoted 3 lines

back to a routed network with gre tunnels...

I can try a more recent unstable if it might help, but I haven't seen

any

Quoted 1 line

evidence of anything having fixed this. Love to have a simple routed

setup

Quoted 1 line

working.

Tim, it's very likely that your initial problem has been resolved in unstable - Ian, Keir, et. al have put in quite a few fixes which have closed most of the outstanding issues we had. I think there are only a few remaining issues. However, currently routing is broken in unstable, so you might want to hold off on testing current unstable until that gets fixed.

Quoted 3 lines

thanks,
Nivedita

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users