Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2013 17:15:53 -0800
From:      Nick Rogers <ncrogers@gmail.com>
To:        "Li, Qing" <qing.li@bluecoat.com>
Cc:        Krzysztof Barcikowski <krzysiek@airnet.opole.pl>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Andre Oppermann <andre@freebsd.org>
Subject:   Re: Default route changes unexpectedly #2 (was Re: kernel: arpresolve: can't allocate llinfo for 65.59.233.102)
Message-ID:  <CAKOb=YYnnANb69mmTfYxucuR1gYQweZ_-fzCa%2BgNh3TnphBFaQ@mail.gmail.com>
In-Reply-To: <B143A8975061C446AD5E29742C5317231EA96FBE@pwsvl-excmbx-04.internal.cacheflow.com>
References:  <CAJ-VmokO85PaW6DksfqsBuSdMPUEGv9f_2qEMAD7WTv4QK0vcw@mail.gmail.com> <51378A9D.6080306@freebsd.org> <CAKOb=YYPzSfUmcmmvE0fy-2QhzUK5hZUVUEdJs3uho2a6iGz%2Bg@mail.gmail.com> <5138C9C8.6030809@freebsd.org> <5138EA26.4000403@airnet.opole.pl> <B143A8975061C446AD5E29742C5317231EA96FBE@pwsvl-excmbx-04.internal.cacheflow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 7, 2013 at 12:51 PM, Li, Qing <qing.li@bluecoat.com> wrote:
> Hi,
>
>>
>> I can confirm I get these messages as well:
>>
>> Mar  7 19:40:25 opole kernel: arpresolve: can't allocate llinfo for
>> 86.58.122.125
>> Mar  7 19:40:25 opole kernel: arpresolve: can't allocate llinfo for
>> 86.58.122.125
>>
>> IP 86.58.122.125 is not from IP pool used by me.
>>
>
> This kernel message is a merely a side effect of a bad route (with
> off-net IP address) being injected as a default route replacement.

I would normally agree, however in the last case, the arpresolve
messages started happening about two hours before the default route
was changed to the IP in the arpresolve message. At least, thats when
my script that runs every second detected a change in the route. The
script parses netstat -rn output to determine if the default route is
correct or not. There was not a 2 hour downtime.

Heres the logging of my script followed by appropriate /var/log/messages.

2013/03/05 21:13:02 rxgd[10816] DEBUG> Rxg::Route::parseRoutes -
/usr/bin/netstat -rnlW -f inet
2013/03/05 21:13:02 rxgd[10816] DEBUG> Rxg::Route::parseRoutes - done
parsing routes
2013/03/05 21:13:02 rxgd[10816] INFO> Rxg::Route::checkDefaultRoute -
deleting incorrect default route em0/50.142.201.101

Mar  5 19:12:48 westmar kernel: arpresolve: can't allocate llinfo for
50.142.201.101
Mar  5 19:12:48 westmar last message repeated 107 times
Mar  5 21:12:48 westmar named[10906]: internal_send: 66.187.177.13#53:
Invalid argument
Mar  5 19:12:48 westmar kernel: arpresolve: can't allocate llinfo for
50.142.201.101
Mar  5 19:12:48 westmar last message repeated 24 times

I don't understand the timestamps however. It is peculiar to have an
arpresolve message at 19:12 followed by bind logging from 21:12, then
another arpresolve at 19:12. Maybe it is just because of losing the
default route.

>
> --Qing
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKOb=YYnnANb69mmTfYxucuR1gYQweZ_-fzCa%2BgNh3TnphBFaQ>