From owner-freebsd-net Fri Jan 12 20:32:50 2001 Delivered-To: freebsd-net@freebsd.org Received: from coconut.itojun.org (coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (Postfix) with ESMTP id 1E87637B401 for ; Fri, 12 Jan 2001 20:32:33 -0800 (PST) Received: from kiwi.itojun.org (localhost.itojun.org [127.0.0.1]) by coconut.itojun.org (8.9.3+3.2W/3.7W) with ESMTP id NAA23901; Sat, 13 Jan 2001 13:32:23 +0900 (JST) To: Luigi Rizzo Cc: lab@gta.com (Larry Baird), freebsd-net@FreeBSD.ORG In-reply-to: rizzo's message of Fri, 12 Jan 2001 17:39:03 PST. <200101130139.f0D1d3a79644@iguana.aciri.org> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: Strange source address problem From: itojun@iijlab.net Date: Sat, 13 Jan 2001 13:32:22 +0900 Message-ID: <23899.979360342@coconut.itojun.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >This is cured by doing a > route delete default > route add default X.C > ping somehost >at which point packets go out with the correct SrcIP = X.B >(and now if you change back to X.A, you need to change >the route to make the packets use the correct address). >There must be something wrong in the routing table which is >not deleted when the interface address changes. Problem is, >it is not shown by netstat -nra -- so where should i look ? rt_ifa in struct rtentry? itojun PS: i like the hostname larry have used :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message