From: Matt Ayres <matta@tektonic.net>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: ARP cache problems / slow connect times in routed mode - Bug #596 opened
Date: Sat, 01 Apr 2006 12:12:13 -0500 [thread overview]
Message-ID: <442EB46D.9040407@tektonic.net> (raw)
In-Reply-To: <dcb720ac70fd7e61f5b6ab6d964879b3@cl.cam.ac.uk>
Keir Fraser wrote:
>
> On 1 Apr 2006, at 17:05, Matt Ayres wrote:
>
>>> A user of mine has debugged this issue for me. It seems a Xen guest
>>> in routed mode wants to arp cache any host it connects to with the
>>> MAC address FE:FF:FF:FF:FF:FF. The user also identified long
>>> connection times due to this. While a remote host is in the arp cache
>>> connection times are fast (30ms or so), when it is not it can be well
>>> over 1000ms. They have provided me the tcpdump output that proves
>>> this. They also proved it is due to the ARP cache by statically
>>> adding a remote host to the ARP cache and noting that connection
>>> times are very low.
>>> Full debugging information is attached to the bug.
>>> Bug URL: http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=596
>>
>> I have assigned this by to myself and marked it as INVALID. It
>> appears to be specific to CentOS / Fedora and my specific setup.
>
> We'll be interested to learn the full details if you manage to work out
> what's going on. :-)
>
I know exactly what went wrong. I chose to use 169.254.1.1 as the IP to
assign to my vif interfaces. Inside the guest a static route is added
for 169.254.1.1/24 via eth0 and then a default gateway to 169.254.1.1.
I chose this as various proxy ARP howto's use it and it is reserved
"link local" space, which made sense.
CentOS (RHEL) / Fedora add a static route for 169.254.0.0/18 for DHCP
purposes. I see no reason why, it's not required by any other
distribution and removing it doesn't make DHCP not work. Anyhow, it
appears having the finer-grained /24 route was causing all remote IP's
to be cached in the ARP table as local. Removing my /24 static route
fixes everything and causes only 169.254.1.1 to be in the ARP cache.
Perhaps the community can enlighten me, who is in the wrong here, RedHat
or I? We support many other distributions (Gentoo, Debian, Ubuntu,
Mandriva/Mandrake, Slackware) and no others want to add the link local
network as a static route.
The other oddity is why does having the /24 statically routed along with
the /18 cause any IP on the internet to be added to the ARP cache? That
part right there is what is most confusing to myself.
I fixed it, but I'm far from completely understanding it.
Thank you,
Matt Ayres
next prev parent reply other threads:[~2006-04-01 17:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-31 20:49 ARP cache problems / slow connect times in routed mode - Bug #596 opened Matt Ayres
2006-04-01 16:05 ` Matt Ayres
2006-04-01 16:56 ` Keir Fraser
2006-04-01 17:12 ` Matt Ayres [this message]
2006-04-01 17:32 ` Keir Fraser
2006-04-01 19:43 ` Matt Ayres
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=442EB46D.9040407@tektonic.net \
--to=matta@tektonic.net \
--cc=Keir.Fraser@cl.cam.ac.uk \
--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.