Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 17:03:55 -0800 (PST)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        net@freebsd.org
Subject:   annoying bug on routing tables...
Message-ID:  <200101160103.f0G13tj02682@iguana.aciri.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101160103.f0G13tj02682>