Problem with removing mac address from arptable on 10-stable

Alan Somers asomers at freebsd.org
Thu May 8 02:05:08 UTC 2014


On Wed, May 7, 2014 at 5:43 PM, Marcelo Gondim <gondim at 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 at bsdinfo.com.br>
>>> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I'm having this problemon my FreeBSD 10-STABLE:
>>>>
>>>> (root at rt01)[~]# arp -an|grep 187.xxx.216.252
>>>> ? (187.xxx.216.252) at 5c:e0:f6:00:11:29 on vlan4 permanent [vlan]
>>>>
>>>> (root at 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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


More information about the freebsd-net mailing list