Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Problem with gratuitous arps in IPaddr2

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


misch at multinet

Jul 2, 2009, 4:38 AM

Post #1 of 10 (1216 views)
Permalink
Problem with gratuitous arps in IPaddr2

Hi,

I encountered a problem with an ordinary IPaddr2 resource. In the logs I see:

IPaddr2[9651]: ERROR: Could not send gratuitous arps

With tcpdump I see, that the node sends out the arp requests, but does not
answer it:

arp who-has 188.92.128.250 (ff:ff:ff:ff:ff:ff) tell 188.92.128.250

With arping I tried to trace the problem a littel bit further and found the
following: It seems that the kernel / driver does not answer arp request
origination from an inferface of the server itself. arp requests from other
hosts are answered.

I checked the sysctl details, but nothing strange there. All parameters
related to arp are set to "0" (default).

I have seens this on different hardware and different kernel versions.

Any idea what might be wrong? Thanks.

--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch [at] multinet
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


florian.haas at linbit

Sep 15, 2009, 6:30 AM

Post #2 of 10 (979 views)
Permalink
Re: Problem with gratuitous arps in IPaddr2 [In reply to]

No one seems to have acted on this when it was first posted, but we just
discussed this on #linux-ha, and Lars and Dejan were kind enough to
offer an explanation:

On 2009-07-02 13:38, Michael Schwartzkopff wrote:
> Hi,
>
> I encountered a problem with an ordinary IPaddr2 resource. In the logs I see:
>
> IPaddr2[9651]: ERROR: Could not send gratuitous arps

This appears to be the case on any system where libnet (on Debian,
libnet1-dev) is not available *at compile time*. The obvious workaround,
per Lars' and Dejan's suggestion, is to compile resource-agents on a
system with libnet installed.

An issue exists on RHEL 5, which does not have libnet available. It is,
however, available from the CentOS 5 "extras" repository.

Andrew -- assuming you are building packages for RHEL on CentOS, can you
make sure you pull libnet into the build environment?

Cheers,
Florian
Attachments: signature.asc (0.25 KB)


misch at multinet

Sep 15, 2009, 6:34 AM

Post #3 of 10 (982 views)
Permalink
Re: Problem with gratuitous arps in IPaddr2 [In reply to]

Am Dienstag, 15. September 2009 15:30:14 schrieb Florian Haas:
> No one seems to have acted on this when it was first posted, but we just
> discussed this on #linux-ha, and Lars and Dejan were kind enough to
> offer an explanation:
>
> On 2009-07-02 13:38, Michael Schwartzkopff wrote:
> > Hi,
> >
> > I encountered a problem with an ordinary IPaddr2 resource. In the logs I
> > see:
> >
> > IPaddr2[9651]: ERROR: Could not send gratuitous arps
>
> This appears to be the case on any system where libnet (on Debian,
> libnet1-dev) is not available *at compile time*. The obvious workaround,
> per Lars' and Dejan's suggestion, is to compile resource-agents on a
> system with libnet installed.
>
> An issue exists on RHEL 5, which does not have libnet available. It is,
> however, available from the CentOS 5 "extras" repository.
>
> Andrew -- assuming you are building packages for RHEL on CentOS, can you
> make sure you pull libnet into the build environment?
>
> Cheers,
> Florian

Hi,

thanks for the detailed explanation and the helpful answer.

--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch [at] multinet
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Sep 15, 2009, 10:53 AM

Post #4 of 10 (972 views)
Permalink
Re: Problem with gratuitous arps in IPaddr2 [In reply to]

On Tue, Sep 15, 2009 at 3:30 PM, Florian Haas <florian.haas [at] linbit> wrote:
> No one seems to have acted on this when it was first posted, but we just
> discussed this on #linux-ha, and Lars and Dejan were kind enough to
> offer an explanation:
>
> On 2009-07-02 13:38, Michael Schwartzkopff wrote:
>> Hi,
>>
>> I encountered a problem with an ordinary IPaddr2 resource. In the logs I see:
>>
>> IPaddr2[9651]: ERROR: Could not send gratuitous arps
>
> This appears to be the case on any system where libnet (on Debian,
> libnet1-dev) is not available *at compile time*. The obvious workaround,
> per Lars' and Dejan's suggestion, is to compile resource-agents on a
> system with libnet installed.
>
> An issue exists on RHEL 5, which does not have libnet available. It is,
> however, available from the CentOS 5 "extras" repository.

The build service doesn't make Extras available.

> Andrew -- assuming you are building packages for RHEL on CentOS, can you
> make sure you pull libnet into the build environment?

We really need to ditch the need for libnet ASAP... its gets even less
support than heartbeat.

The last activity was:

tjaden committed patchset 106 of module libnet to the Libnet CVS
repository, changing 1 files
posted by tjaden 2355 days ago

Thats nearly 7 _years_ ago!
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


dejanmm at fastmail

Sep 16, 2009, 11:55 AM

Post #5 of 10 (960 views)
Permalink
Re: Problem with gratuitous arps in IPaddr2 [In reply to]

Hi,

On Tue, Sep 15, 2009 at 07:53:22PM +0200, Andrew Beekhof wrote:
> On Tue, Sep 15, 2009 at 3:30 PM, Florian Haas <florian.haas [at] linbit> wrote:
> > No one seems to have acted on this when it was first posted, but we just
> > discussed this on #linux-ha, and Lars and Dejan were kind enough to
> > offer an explanation:
> >
> > On 2009-07-02 13:38, Michael Schwartzkopff wrote:
> >> Hi,
> >>
> >> I encountered a problem with an ordinary IPaddr2 resource. In the logs I see:
> >>
> >> IPaddr2[9651]: ERROR: Could not send gratuitous arps
> >
> > This appears to be the case on any system where libnet (on Debian,
> > libnet1-dev) is not available *at compile time*. The obvious workaround,
> > per Lars' and Dejan's suggestion, is to compile resource-agents on a
> > system with libnet installed.
> >
> > An issue exists on RHEL 5, which does not have libnet available. It is,
> > however, available from the CentOS 5 "extras" repository.
>
> The build service doesn't make Extras available.
>
> > Andrew -- assuming you are building packages for RHEL on CentOS, can you
> > make sure you pull libnet into the build environment?
>
> We really need to ditch the need for libnet ASAP... its gets even less
> support than heartbeat.
>
> The last activity was:
>
> tjaden committed patchset 106 of module libnet to the Libnet CVS
> repository, changing 1 files
> posted by tjaden 2355 days ago
>
> Thats nearly 7 _years_ ago!

OK, but that doesn't make it unusable. I'm all for moving to
something better given that it satisfies our requirements, but
this is not a reason enough.

At any rate, libnet seems to be further developed at
http://github.com/sam-github/libnet.

Thanks,

Dejan

> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Sep 16, 2009, 2:17 PM

Post #6 of 10 (959 views)
Permalink
Re: Problem with gratuitous arps in IPaddr2 [In reply to]

On Wed, Sep 16, 2009 at 8:55 PM, Dejan Muhamedagic <dejanmm [at] fastmail> wrote:
> Hi,
>
> On Tue, Sep 15, 2009 at 07:53:22PM +0200, Andrew Beekhof wrote:
>> On Tue, Sep 15, 2009 at 3:30 PM, Florian Haas <florian.haas [at] linbit> wrote:
>> > No one seems to have acted on this when it was first posted, but we just
>> > discussed this on #linux-ha, and Lars and Dejan were kind enough to
>> > offer an explanation:
>> >
>> > On 2009-07-02 13:38, Michael Schwartzkopff wrote:
>> >> Hi,
>> >>
>> >> I encountered a problem with an ordinary IPaddr2 resource. In the logs I see:
>> >>
>> >> IPaddr2[9651]: ERROR: Could not send gratuitous arps
>> >
>> > This appears to be the case on any system where libnet (on Debian,
>> > libnet1-dev) is not available *at compile time*. The obvious workaround,
>> > per Lars' and Dejan's suggestion, is to compile resource-agents on a
>> > system with libnet installed.
>> >
>> > An issue exists on RHEL 5, which does not have libnet available. It is,
>> > however, available from the CentOS 5 "extras" repository.
>>
>> The build service doesn't make Extras available.
>>
>> > Andrew -- assuming you are building packages for RHEL on CentOS, can you
>> > make sure you pull libnet into the build environment?
>>
>> We really need to ditch the need for libnet ASAP... its gets even less
>> support than heartbeat.
>>
>> The last activity was:
>>
>> tjaden committed patchset 106 of module libnet to the Libnet CVS
>> repository, changing 1 files
>> posted by tjaden 2355 days ago
>>
>> Thats nearly 7 _years_ ago!
>
> OK, but that doesn't make it unusable.

Just unwise :-)

> I'm all for moving to
> something better given that it satisfies our requirements, but
> this is not a reason enough.
>
> At any rate, libnet seems to be further developed at
> http://github.com/sam-github/libnet.

Looks like someone forked the original code. Perhaps there is hope.
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Sep 16, 2009, 10:56 PM

Post #7 of 10 (961 views)
Permalink
Re: Problem with gratuitous arps in IPaddr2 [In reply to]

On Wed, Sep 16, 2009 at 11:17 PM, Andrew Beekhof <andrew [at] beekhof> wrote:
>>> Thats nearly 7 _years_ ago!
>>
>> OK, but that doesn't make it unusable.
>
> Just unwise :-)
>
>> I'm all for moving to
>> something better given that it satisfies our requirements, but
>> this is not a reason enough.

I take it all back, did you actually read the text on that page?

[QUOTE]
Debian and Fedora have unmerged patches.

I have patches to ip_offset handling (used for IP checksumming) to
--> fix memory corruption bugs <--
[/QUOTE]

Memory corruption bugs left unfixed for 7 years is a damn good reason
to drop reliance on a dead project.
But again, someone seems to be working on it now, so perhaps there is hope.
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


dejanmm at fastmail

Sep 17, 2009, 4:15 AM

Post #8 of 10 (957 views)
Permalink
Re: Problem with gratuitous arps in IPaddr2 [In reply to]

Hi,

On Thu, Sep 17, 2009 at 07:56:49AM +0200, Andrew Beekhof wrote:
> On Wed, Sep 16, 2009 at 11:17 PM, Andrew Beekhof <andrew [at] beekhof> wrote:
> >>> Thats nearly 7 _years_ ago!
> >>
> >> OK, but that doesn't make it unusable.
> >
> > Just unwise :-)
> >
> >> I'm all for moving to
> >> something better given that it satisfies our requirements, but
> >> this is not a reason enough.
>
> I take it all back, did you actually read the text on that page?

Nope, at the time it was down. But since it is packaged in
Debian and SLE11 I'd expect that it is supported.

> [QUOTE]
> Debian and Fedora have unmerged patches.
>
> I have patches to ip_offset handling (used for IP checksumming) to
> --> fix memory corruption bugs <--
> [/QUOTE]
>
> Memory corruption bugs left unfixed for 7 years is a damn good reason
> to drop reliance on a dead project.
> But again, someone seems to be working on it now, so perhaps there is hope.

I think that you misunderstood that. That patch has been included
in for instance Debian. It is up to the distributions. BTW, I
can't recall ever seeing that particular problem, nor do we have
any bugs open for send_arp or libnet in our bugzilla. So, why
ditch a working and supported library which works on multiple
platforms?

Thanks,

Dejan

> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Sep 17, 2009, 4:47 AM

Post #9 of 10 (954 views)
Permalink
Re: Problem with gratuitous arps in IPaddr2 [In reply to]

On Thu, Sep 17, 2009 at 1:15 PM, Dejan Muhamedagic <dejanmm [at] fastmail> wrote:
> Hi,
>
> On Thu, Sep 17, 2009 at 07:56:49AM +0200, Andrew Beekhof wrote:
>> On Wed, Sep 16, 2009 at 11:17 PM, Andrew Beekhof <andrew [at] beekhof> wrote:
>> >>> Thats nearly 7 _years_ ago!
>> >>
>> >> OK, but that doesn't make it unusable.
>> >
>> > Just unwise :-)
>> >
>> >> I'm all for moving to
>> >> something better given that it satisfies our requirements, but
>> >> this is not a reason enough.
>>
>> I take it all back, did you actually read the text on that page?
>
> Nope, at the time it was down. But since it is packaged in
> Debian and SLE11 I'd expect that it is supported.
>
>> [QUOTE]
>> Debian and Fedora have unmerged patches.
>>
>> I have patches to ip_offset handling (used for IP checksumming) to
>> --> fix memory corruption bugs <--
>> [/QUOTE]
>>
>> Memory corruption bugs left unfixed for 7 years is a damn good reason
>> to drop reliance on a dead project.
>> But again, someone seems to be working on it now, so perhaps there is hope.
>
> I think that you misunderstood that. That patch has been included
> in for instance Debian.

Of course it is, the patch originated from Debian.
How much do you want to bet that most of the debian patches aren't
applied to the fedora or opensuse (and vice versa)?

> It is up to the distributions. BTW, I
> can't recall ever seeing that particular problem, nor do we have
> any bugs open for send_arp or libnet in our bugzilla.

What we don't know about can't hurt us? Seriously?

> So, why
> ditch a working and supported library which works on multiple
> platforms?

"We'll assign the bug to some guy that's never heard of the package
but knows C" does _not_ count as "supported".

Upstream has been missing for years, the project homepage doesn't even
have a DNS record, there are unfixed bugs and any activity is distro
specific.
Also IPv6 and IPsec support are both listed in the shipping TODO as
being broken since 2004 (along with memory leaks).

The more I investigate the state of libnet, the further I want to run...

On the other-hand, the fork seems to have been going along nicely
since February.
If most distros shipped the fork, I might have a different opinion.
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


florian.haas at linbit

Sep 17, 2009, 5:08 AM

Post #10 of 10 (958 views)
Permalink
Re: Problem with gratuitous arps in IPaddr2 [In reply to]

On 2009-09-17 13:15, Dejan Muhamedagic wrote:
>> Memory corruption bugs left unfixed for 7 years is a damn good reason
>> to drop reliance on a dead project.
>> But again, someone seems to be working on it now, so perhaps there is hope.
>
> I think that you misunderstood that. That patch has been included
> in for instance Debian. It is up to the distributions. BTW, I
> can't recall ever seeing that particular problem, nor do we have
> any bugs open for send_arp or libnet in our bugzilla.

Easily remedied.

http://developerbugs.linux-foundation.org/show_bug.cgi?id=2190

Cheers,
Florian
Attachments: signature.asc (0.25 KB)

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.