From owner-freebsd-net@FreeBSD.ORG Thu May 8 02:05:08 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2472C1F4 for ; Thu, 8 May 2014 02:05:08 +0000 (UTC) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B205DAF5 for ; Thu, 8 May 2014 02:05:07 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id w61so1811346wes.40 for ; Wed, 07 May 2014 19:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ddXWLYBOnJmsk5hM4P3K/2cymVUKeoX7qVs67ExUHow=; b=cH2s5W73G8nsb1DRSKDZSD9ZqP1gzBcXzZJ/Vj/whaHLE+urprGIxu1dFV3X4+eEhn tmDZes5xopUeRqjK9h9bR5kqLk44O3jmwwFwYYcVqokCNARMNTkEBFjJ5dTjxHNs8vDn 6sMrr5qCn8DVSALVmGEklQG8YHd+PXHubo+mASyoU5II7SvRxDie5Ek0dSzzRAmqJY09 Pm7PcxjAJ/behqvdSa83qdQlDiiSKVKnTPs3HQZBU7xqrXqCvEs0uHdiMGh9zvG1KQpY Lnmd4SFcfK1enmn+KR0/J4h1QzgzOUKBzImUKS0VigU7JmMJq/Hm+ya4F6OyTsPo9Wn7 W0Qg== MIME-Version: 1.0 X-Received: by 10.180.212.107 with SMTP id nj11mr1017690wic.40.1399514704967; Wed, 07 May 2014 19:05:04 -0700 (PDT) Sender: asomers@gmail.com Received: by 10.194.168.130 with HTTP; Wed, 7 May 2014 19:05:04 -0700 (PDT) In-Reply-To: <536AC505.80107@bsdinfo.com.br> References: <536A5580.6020502@bsdinfo.com.br> <536A822A.7040404@bsdinfo.com.br> <536AC505.80107@bsdinfo.com.br> Date: Wed, 7 May 2014 20:05:04 -0600 X-Google-Sender-Auth: EsqwiWldkhBAr8K7YYJOn9c53gQ Message-ID: Subject: Re: Problem with removing mac address from arptable on 10-stable From: Alan Somers To: Marcelo Gondim Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2014 02:05:08 -0000 On Wed, May 7, 2014 at 5:43 PM, Marcelo Gondim 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 >>> 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"