All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andres Lagar Cavilla <andreslc@cs.toronto.edu>
To: xen-devel@lists.xensource.com
Subject: Re: Network freezing for paravirt linux, 3.0.3
Date: Tue, 28 Nov 2006 15:53:50 -0500	[thread overview]
Message-ID: <456CA1DE.6080408@cs.toronto.edu> (raw)
In-Reply-To: <C1920569.52AE%keir@xensource.com>

As a coda to this, I found that the network routing scripts did not work 
too well, at least for me. dom0's interface would not respond to ARP 
requests from external hosts trying to find out the MAC address 
corresponding to domU's ip. Simply allowing proxy arp on dom0's 
externally visible interface solved this. Patch below.
Andres

# HG changeset patch
# User andres@plaxico.syslab.sandbox
# Date 1164747038 18000
# Node ID b2440d035bffb61004e0bab09f50d740a2347a91
# Parent  bbcaa0cad3d2b7cf90e935bf1dd61aec129b3252
Fix for network routing setup. Enables proxy arp on dom0's externally 
visble interface.
Signed-ff-by: H. Andres Lagar-Cavilla andreslc@cs.toronto.edu

diff -r bbcaa0cad3d2 -r b2440d035bff tools/examples/network-route
--- a/tools/examples/network-route      Tue Nov 28 13:34:15 2006 +0000
+++ b/tools/examples/network-route      Tue Nov 28 15:50:38 2006 -0500
@@ -16,4 +16,12 @@
 #
 #============================================================================

+dir=$(dirname "$0")
+. "$dir/xen-script-common.sh"
+
+evalVariables "$@"
+
+netdev=${netdev:-eth${vifnum}}
+
 echo 1 >/proc/sys/net/ipv4/ip_forward
+echo 1 >/proc/sys/net/ipv4/conf/${netdev}/proxy_arp

Keir Fraser wrote:

>On 28/11/06 15:08, "Andres Lagar Cavilla" <andreslc@cs.toronto.edu> wrote:
>
>  
>
>>It thus looks like the culprit is netfront, or possibly a
>>netback/netfront interaction (Q: is netback employed in the qemu-dm
>>emulation path, or packets are simply relayed from the tap to vifX.Y?).
>>I would love to provide more information, but I'm unsure where to get it.
>>    
>>
>
>What version of netback are you running? The one from the 3.0.3 release is
>known to have a bug which would cause high-bandwidth transfers to stall.
>
>The offending function is netback.c:tx_add_credit(). You should be able to
>take the version from xen-unstable and copy it into whatever version of
>netback.c you are using.
>
> -- Keir
>
>  
>

      parent reply	other threads:[~2006-11-28 20:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-28 15:08 Network freezing for paravirt linux, 3.0.3 Andres Lagar Cavilla
2006-11-28 15:19 ` [Xen-devel] " Ian Pratt
2006-11-28 15:25 ` Keir Fraser
2006-11-28 17:34   ` [Xen-devel] " Andres Lagar Cavilla
2006-11-28 20:53   ` Andres Lagar Cavilla [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=456CA1DE.6080408@cs.toronto.edu \
    --to=andreslc@cs.toronto.edu \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.