Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 17:07:19 -0800
From:      jayanth <jayanth@yahoo-inc.com>
To:        Luigi Rizzo <rizzo@aciri.org>
Cc:        net@FreeBSD.ORG
Subject:   Re: annoying bug on routing tables...
Message-ID:  <20010115170719.M79191@yahoo-inc.com>
In-Reply-To: <200101160103.f0G13tj02682@iguana.aciri.org>; from rizzo@aciri.org on Mon, Jan 15, 2001 at 05:03:55PM -0800
References:  <200101160103.f0G13tj02682@iguana.aciri.org>

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




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