On Thu, 8 Feb 2007, Cory Albrecht wrote:
> Hello all,
>
> This is becoming rather frustrating, and I'm hoping somebody can help me.
>
> Every so often my OpenBSD stops routing packets and dmesg fills up with
> "arpresolve: can't allocate llinfo". Before I go any further, let me
> illustrate my network setup.
>
> 'Net---ADSL---WRT54G . . . (ral0)OpenBSD(em1)---Linux
> . (em0)
> . |
> LapTop |
> WinXP
>
>
> Dashes are wired, dots are wireless.
>
> Seemingly randomly, the OpenBSD just looses the ability to facilitate new IPv4
> connections via ral0. While IPv4 connectons from my laptop fail (like share
> mounted form teh Linux Samba server), IPv6 ssh sessions still work. If I try
> to ping the IP associated with ral0 (192.168.1.2) I get no response.
>
> If I go the the console of the OpenBSD machine, I can ping the WRT54G
> (192.168.1.1) successfully, but traceroutes to the internet don't go anywhere
> (the WRT54G is the default gateway since the ADSL modem is on the other side).
> I have to do "route flush -inet" to get things going again. Sometimes even
> that does not work and I have to reboot the OpenBSD machine.
>
> A segment from /var/log/messages shows this:
>
> Feb 8 18:17:35 bytor /bsd: arplookup: unable to enter address for 192.168.1.1
> Feb 8 18:17:36 bytor /bsd: arpresolve: can't allocate llinfo
> Feb 8 18:17:41 bytor last message repeated 44 times
> Feb 8 18:17:43 bytor routed[24809]: interface ral0 to 192.168.1.1 restored
> Feb 8 18:17:44 bytor routed[24809]: punt RTM_ADD without gateway
> Feb 8 18:17:45 bytor /bsd: arpresolve: can't allocate llinfo
> Feb 8 18:17:49 bytor last message repeated 19 times
> Feb 8 18:17:50 bytor routed[24809]: punt RTM_ADD without gateway
> Feb 8 18:17:53 bytor /bsd: arpresolve: can't allocate llinfo
> Feb 8 18:18:01 bytor last message repeated 7 times
> Feb 8 18:18:03 bytor routed[24809]: punt RTM_ADD without gateway
> Feb 8 18:18:13 bytor /bsd: arpresolve: can't allocate llinfo
> Feb 8 18:18:44 bytor last message repeated 10 times
> Feb 8 18:20:45 bytor last message repeated 86 times
> Feb 8 18:20:45 bytor /bsd: arpresolve: can't allocate llinfo
> Feb 8 18:20:47 bytor routed[24809]: interface ral0 to 192.168.1.2 bad: in=4
> ierr=4 out=2 oerr=0
>
> If I do "arp -a" or "route -n show -inet" it shows nothing different from when
> things are working perfectly and no error are being logged to messages. I set
> an xterm going with "tcpdump -i ral0 arp" to check for anything there, no
> luck. Just the same stiff I see when everything is working:
>
> 19:49:41.403910 arp who-has 192.168.1.2 tell 192.168.1.1
> 19:49:41.403982 arp reply 192.168.1.2 is-at 0:12:17:a0:9a:81
>
> 192.168.1.1 is the WRT54G and it seems to ask this every 30s. 192.168.1.2 is
> the OpenBSD machine.
>
> If somebody could help me with this, I would appreciate it. It's turning into
> a real PITA.
>
> Thanks in advance for any help.
Show the interface configs. Very likely you have two interfaces that
fall into the same subnet.
-Otto