Date: Thu, 26 Oct 2006 01:46:40 +0200 From: Stefan Bethke <stb@lassitu.de> To: Brian Hawk <brian@tnetus.com> Cc: freebsd-net@freebsd.org Subject: Re: Gateway problem Message-ID: <349CA351-5E6B-402D-9D18-B35CDA9C88FC@lassitu.de> In-Reply-To: <45391895.8010507@tnetus.com> References: <45391895.8010507@tnetus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 20.10.2006 um 20:42 schrieb Brian Hawk: > tun0 and ADSL is the default gateway. But the TCP packets are bound > to 212.64.212.180 IP address which should send them out thru xl1. > But it doesn't. That is correct. The routing table will only consider the destination address when deciding which route (and thereby which interface) a packet should traverse. You will need to use IPFW, pf, or similiar to force packets originating on your xl0's address (212.64.212.180) to go to the router on that network instead of to the default routes gateway/ interface. Stefan -- Stefan Bethke <stb@lassitu.de> Fon +49 170 346 0140
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?349CA351-5E6B-402D-9D18-B35CDA9C88FC>