From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Ferrari Subject: ip route refresh Date: Fri, 30 Jul 2004 18:40:06 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <200407301840.06241.fluca1978@infinito.it> Reply-To: fluca1978@infinito.it Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org Hi, I've noted on different system that when an ip route changes, the kernel keeps the old one in a cache (I suppose) for a while. For example, if in you /etc/hosts you have an entry: 192.168.1.201 fluca fluca and ping fluca it will try to connect to 192.168.1.201. Now if you change the address and immediatly reping it, it will try again the old host for a while. After a minute the system should be able to use the new address. This also applies to routes. Is there a way to force a cache-clear, thus modifications are immediatly visible? Thanks, Luca -- Luca Ferrari, fluca1978@infinito.it