From owner-freebsd-net Mon Jan 15 17: 7:42 2001 Delivered-To: freebsd-net@freebsd.org Received: from mrout1.yahoo.com (mrout1.yahoo.com [208.48.125.95]) by hub.freebsd.org (Postfix) with ESMTP id 02B3B37B6C5 for ; Mon, 15 Jan 2001 17:07:24 -0800 (PST) Received: from milk.yahoo.com (milk.yahoo.com [206.251.16.37]) by mrout1.yahoo.com (8.11.1/8.11.1/y.out) with ESMTP id f0G17Js19791; Mon, 15 Jan 2001 17:07:19 -0800 (PST) Received: (from root@localhost) by milk.yahoo.com (8.11.0/8.11.0) id f0G17JM86764; Mon, 15 Jan 2001 17:07:19 -0800 (PST) (envelope-from jayanth) Date: Mon, 15 Jan 2001 17:07:19 -0800 From: jayanth To: Luigi Rizzo Cc: net@FreeBSD.ORG Subject: Re: annoying bug on routing tables... Message-ID: <20010115170719.M79191@yahoo-inc.com> References: <200101160103.f0G13tj02682@iguana.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200101160103.f0G13tj02682@iguana.aciri.org>; from rizzo@aciri.org on Mon, Jan 15, 2001 at 05:03:55PM -0800 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org check the arp cache. You might want to do a arp -ad and try again. jayanth Luigi Rizzo (rizzo@aciri.org) wrote: > There is an annoying bug in FreeBSD networking/routing which has been > around at least since 3.4. > > Symptoms are -- if you change the address to an interface, > packets to destinations to which you have talked to in the past > will still go out with the previous address unless > you delete and reinstall a route for that destination. > > Example: > ifconfig ed0 10.0.0.1 > ping 10.0.0.20 # works fine > ifconfig ed0 10.0.0.2 > ping 10.0.0.20 # no reply, tcpdump shows traffic coming from 10.0.0.1 > route delete 10.0.0.2 > ping 10.0.0.20 # now things work as expected > > So it seems that the old address is stored somewhere in the routing > table, but "netstat -raA" does not show it (and the 'aA' flags > are supposed to dump the whole tree if i get it right). > > Any idea on where the old address is stored ? > > cheers > luigi > ----------------------------------+----------------------------------------- > Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) > http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 > Phone: (510) 666 2927 > ----------------------------------+----------------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message