Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2014 20:05:04 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Marcelo Gondim <gondim@bsdinfo.com.br>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Problem with removing mac address from arptable on 10-stable
Message-ID:  <CAOtMX2iTc9UfDm6p6zQLoo8PYW=VSic-vMDRF65jcidscTaOwQ@mail.gmail.com>
In-Reply-To: <536AC505.80107@bsdinfo.com.br>
References:  <536A5580.6020502@bsdinfo.com.br> <CAOtMX2idpDkgE-BhTMGKUjMQFQd_bwBtstMBktR7vwmOAuSZLg@mail.gmail.com> <536A822A.7040404@bsdinfo.com.br> <536AC505.80107@bsdinfo.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 7, 2014 at 5:43 PM, Marcelo Gondim <gondim@bsdinfo.com.br> wrote:
> Em 07/05/14 15:57, Marcelo Gondim escreveu:
>
>> Em 07/05/14 15:18, Alan Somers escreveu:
>>>
>>> On Wed, May 7, 2014 at 9:47 AM, Marcelo Gondim <gondim@bsdinfo.com.br>
>>> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I'm having this problemon my FreeBSD 10-STABLE:
>>>>
>>>> (root@rt01)[~]# arp -an|grep 187.xxx.216.252
>>>> ? (187.xxx.216.252) at 5c:e0:f6:00:11:29 on vlan4 permanent [vlan]
>>>>
>>>> (root@rt01)[~]# arp -d 187.xxx.216.252
>>>> delete: cannot locate 187.xxx.216.252
>>>>
>>>> FreeBSD rt01.xxxxxx.com.br 10.0-STABLE FreeBSD 10.0-STABLE #8 r265409:
>>>> Tue
>>>> May  6 01:14:05 BRT 2014
>>>> root@rt01.xxxxxx.com.br:/usr/obj/usr/src/sys/GONDIM
>>>> amd64
>>>>
>>>> This is a real problem or am I missing something?
>>>
>>> Are you using multiple FIBs?  There are been bugs relating to FIBs and
>>> the ARP table.  If you're unsure, check "sysctl net.fibs"
>>
>> Hi Alan,
>>
>> Thanks for your reply.
>>
>> # sysctl net.fibs
>> net.fibs: 2
>>
>> I'll change it to 1 and see if the problem will happen.

net.fibs defaults to 1.  Why was it set to 2?  It must've been
deliberately set to 2 on your system, and changing it to 1 will
probably break something.

>>
>> Thanks!
>
> Hi Alan,
>
> did not work :(
>
> It also happens the errors below when I try to add a host in the arp table:
>
> # arp -an|grep 187.xxx
> ? (187.xxx.219.28) at 00:1e:67:77:de:62 on vlan4 permanent [vlan]
>
> # arp -s 187.xxx.223.254 5c:e0:f6:00:12:8e
> cannot intuit interface index and type for 187.xxx.223.254
> # arp -s 187.xxx.216.253 5c:e0:f6:00:11:2c
> cannot intuit interface index and type for 187.xxx.216.253
> # arp -s 187.xxx.223.253 5c:e0:f6:00:12:8b
> cannot intuit interface index and type for 187.xxx.223.253
> # arp -s 187.xxx.216.254 5c:e0:f6:00:11:2f
> cannot intuit interface index and type for 187.xxx.216.254
>
> # sysctl net.fibs
> net.fibs: 1
>
> dmesg:
>
> arpresolve: can't allocate llinfo for 187.xxx.216.254
> arpresolve: can't allocate llinfo for 187.xxx.216.254
> arpresolve: can't allocate llinfo for 187.xxx.216.254
> arpresolve: can't allocate llinfo for 187.xxx.216.254
> arpresolve: can't allocate llinfo for 187.xxx.216.254
> arpresolve: can't allocate llinfo for 187.xxx.216.254
> arpresolve: can't allocate llinfo for 187.xxx.216.254
> arpresolve: can't allocate llinfo for 187.xxx.216.254

Please show me your network settings from /etc/rc.conf.  It also might
be helpful to see the output of "netstat -rn" and "setfib 1 netstat
-rn".  One guess as to your problem would be that your subnet mask is
configured wrong, or that other hosts on your vlan are configured with
a different subnet mask or even an entirely different network prefix.

>
> Thanks and best regards
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2iTc9UfDm6p6zQLoo8PYW=VSic-vMDRF65jcidscTaOwQ>