From owner-freebsd-net Mon Jan 15 17: 4:12 2001 Delivered-To: freebsd-net@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 81AEE37B6C4 for ; Mon, 15 Jan 2001 17:03:55 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f0G13tj02682; Mon, 15 Jan 2001 17:03:55 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200101160103.f0G13tj02682@iguana.aciri.org> Subject: annoying bug on routing tables... To: net@freebsd.org Date: Mon, 15 Jan 2001 17:03:55 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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