Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2012 09:46:55 -0400 (EDT)
From:      Daniel Feenberg <feenberg@nber.org>
To:        Cos <rosettas@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to refresh network card buffer?
Message-ID:  <Pine.GSO.4.64.1208100945520.26273@nber6>
In-Reply-To: <CAKV+xLBfHAmzjQeB+EE_rGA12vWwMvFok+1YS-K2eY2SYeXpEg@mail.gmail.com>
References:  <CAKV+xLBfHAmzjQeB+EE_rGA12vWwMvFok+1YS-K2eY2SYeXpEg@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help



On Fri, 10 Aug 2012, Cos wrote:

> Hi all
>
> The background is I have around 100pcs router-like products. they all
> have a fixed IP address 192.168.1.100 and of course different MAC
> address.
>
> I need to connect them one by one to configure.
>
> The trouble is while I disconnect one unit and change to another unit,
> the FreeBSD can not recognize the unit immediately. It need around
> more than 10 minutes to ping 192.168.1.200 successfully.
>
> I can refresh it by "ifconfig ue0 down" and "ifconfig ue0 up", it
> works but I think the way is not smart.
>
> I guess there is something like buffer to record IP and MAC pair has
> to be cleaned. Could anybody advise?

Try

   arp -d 192.168.1.200

as superuser to delete the MAC address from the local ip-to-mac table.

dan feenberg

>
> -- 
> with kind regards
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1208100945520.26273>