From owner-freebsd-net@FreeBSD.ORG Wed Aug 6 18:47:17 2008 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 C2ADE1065670 for ; Wed, 6 Aug 2008 18:47:17 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (unknown [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6BE5F8FC32 for ; Wed, 6 Aug 2008 18:47:17 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 4FADD28448 for ; Thu, 7 Aug 2008 02:47:16 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 9D5E1ED9CC2; Thu, 7 Aug 2008 02:47:15 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id kSQXFX4IpaHn; Thu, 7 Aug 2008 02:47:10 +0800 (CST) Received: from charlie.delphij.net (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id A55E4EB0A8E; Thu, 7 Aug 2008 02:47:09 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=nFajAXKYjZrHUHQ0QBE5aTYub7kIqAanzMNKHjGZUfXWuIVBGgQoCkZjMoYOl3Ckb SXSdamrAUHzK5DY01M4Ng== Message-ID: <4899F1AB.8080409@delphij.net> Date: Wed, 06 Aug 2008 11:47:07 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.16 (X11/20080725) MIME-Version: 1.0 To: freebsd-net@freebsd.org X-Enigmail-Version: 0.95.6 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Quake Lee Subject: Routing: local link vs VPN provided route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2008 18:47:17 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, We have recently working on an OpenVPN scenario and we have found that when there is a locally linked network, the route provided by OpenVPN would not work: - - Local network uses 192.168.1.0/24 network (thus we have a flags 'UC' route) - - Upon connection, the VPN would provide a route to 192.168.1.0/24 through the tun0 device. It seems, however, that the packets would just go to local network. Is it possible to get packets to non-conflicting IP addresses (i.e. only exist in either local network, or remote VPN'ed network) to go through the tun0 device? (Of course it's possible to configure the remote network or local network as 192.168.0.0/24, just curious about this scenario - do we have a switch or something?) Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkiZ8asACgkQi+vbBBjt66DNHQCgn1aH3X05XnS1jS4Bf+NWotT8 BhkAoJLDo48H8KNGyHauXvoHjeqEEWiJ =ibIF -----END PGP SIGNATURE-----