From owner-freebsd-net@FreeBSD.ORG Thu Nov 15 16:01:31 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ABD416A417 for ; Thu, 15 Nov 2007 16:01:31 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: from pearl.ibctech.ca (pearl.ibctech.ca [208.70.104.210]) by mx1.freebsd.org (Postfix) with ESMTP id 1115513C43E for ; Thu, 15 Nov 2007 16:01:30 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: (qmail 21675 invoked by uid 1002); 15 Nov 2007 16:01:30 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(208.70.104.100):. Processed in 8.996955 secs); 15 Nov 2007 16:01:30 -0000 Received: from unknown (HELO ?192.168.30.110?) (steve@ibctech.ca@208.70.104.100) by pearl.ibctech.ca with (DHE-RSA-AES256-SHA encrypted) SMTP; 15 Nov 2007 16:01:21 -0000 Message-ID: <473C6D51.6070500@ibctech.ca> Date: Thu, 15 Nov 2007 11:01:21 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Brian Hawk References: <473C5593.4080407@tnetus.com> In-Reply-To: <473C5593.4080407@tnetus.com> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Interface address sourced packets go thru default gateway on another interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2007 16:01:31 -0000 > My problem is, packets generated with A.B.C.D source address does not go > out thru xl1 but tun0 (which is the default gw). The problem also > happens when an outsite packet destined for A.B.C.D arrives. The packet > correctly arrives from xl1 interface but the response goes out from > tun0. This is driving me crazy since it shouldn't really happen and it > used not to happen. Everything was working fine until I don't know when > and why, now I cannot send any packets out thru my xl1 interface by > binding its source address to the packets. Show the output to: # netstat -rn ...are you *sure* that it hasn't always worked this way? Steve