From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DE5781381F3 for ; Tue, 18 Dec 2012 03:56:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9155621C090; Tue, 18 Dec 2012 03:55:57 +0000 (UTC) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2809421C017 for ; Tue, 18 Dec 2012 03:54:43 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id jt11so108297pbb.12 for ; Mon, 17 Dec 2012 19:54:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=f9oVC8bBSgLTL5pRqelgrACe8BE1KUaQHNqTS8r/GDQ=; b=DtzJNE3z4+lRMbYd5FqHOwxVk/qfq1ph8nWsozTehD2UM1TSrEyDhr9jgl2QtxzcT+ dLlVTapL+/Oi5wq11xvCTEWXqXnosYsvb6wjME+eCRmq/8arh+DlqlLTEERq/qEb00SD Z5xPa017gWG/SjfU9WFp1KuJ3zyalatA8WTojOCKZfdqkAqERpzU3pW3FWBwJ3EDD0HT 7spG7vUT17oyHvtNKkNqwufJXPVDNWiTyzuz4v4AFiaZDrYQblHkXXSt7KXIRFevpCHQ v0R12YeI96YGcRV9vRD4pjE82S6Y7fw4CL0R2m6EzXCfsiuvxICba3BDvEzOIqjDpneW 9ClQ== X-Received: by 10.66.86.101 with SMTP id o5mr2765763paz.15.1355802883057; Mon, 17 Dec 2012 19:54:43 -0800 (PST) Received: from [192.168.11.202] (173-164-187-211-SFBA.hfc.comcastbusiness.net. [173.164.187.211]) by mx.google.com with ESMTPS id vn2sm335441pbc.31.2012.12.17.19.54.41 (version=SSLv3 cipher=OTHER); Mon, 17 Dec 2012 19:54:42 -0800 (PST) Message-ID: <50CFE901.4060500@gmail.com> Date: Mon, 17 Dec 2012 19:54:41 -0800 From: Kevin Brandstatter User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] {OT} A simple routing problem References: <50CFE274.7070204@nileshgr.com> <50CFE564.4030709@gmail.com> <50CFE69A.7030502@nileshgr.com> In-Reply-To: <50CFE69A.7030502@nileshgr.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 633b9091-fdb1-4141-b055-facf3f623cab X-Archives-Hash: 7b03806904bee50ef67a10c3f684df03 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/17/2012 07:44 PM, Nilesh Govindrajan wrote: > On Tuesday 18 December 2012 09:09:16 AM IST, Kevin Brandstatter > wrote: >> On 12/17/2012 07:26 PM, Nilesh Govindrajan wrote: >>> Hi, >>> >>> I'm stuck with a routing issue: >>> >>> I have a DD-WRT router, which has one WAN port and four LAN >>> ports with WiFi. >>> >>> I have a fiber connection which is connected by dialing PPPoE >>> using pppd on the router, so I have no choice but to connect >>> the fiber connection on WAN port. >>> >>> I have yet another (much slower) ADSL link, with it's own >>> router (LAN-only). I'm trying to connect the router to the >>> DD-WRT router's LAN port. I'm able to access the router, but >>> routing through the gateway (the ADSL router) fails. >>> >>> Here's a simple diagram: >>> >>> The LAN network I'm using on DDWRT is 192.168.0.0, which is >>> the LAN network for the internal side and WiFi. >>> >>> The fiber connection is obviously public network. >>> >>> The other ADSL connection can be configured to change subnet, >>> it has a LAN side and WAN side. >>> >>> How I can I route through the ADSL router without requiring a >>> separate NIC/network for it? >>> >> what exactly are you trying to route? traffic out to the internet >> over the ADSL? or just trying to connect the machines on that >> router to the fiber line and route all traffic from both out on >> the fiber? >> >> -Kevin > > > Actually my fiber connection has a smaller limit than the ADSL > connection. I am trying to use the fiber connection for all > activities except some torrent downloading for which I want to use > my ADSL connection. Once I'm able to route through the ADSL > gateway, it would be easy for me to setup another ip on eth0 on my > machine on which transmission could listen. All traffic on that ip > would be routed through ADSL and otherwise the fiber. > > -- Nilesh Govindarajan http://nileshgr.com > well in that case if you know how to set it up so that the dd-wrt router can see the ADSL gateway you can set a route on your box to route traffic on a specific device to that gateway. In fact, you might even be able to static route the torrent ports to that gateway from dd-wrt - -Kevin -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJQz+kBAAoJENfP/Gsfo0VKmi0H/0MU+5/fZUPTsJCBqXzigaHT /cg3Th/SCTyd7F07OPzL6tFXT+toy0DLgQ1jbwx60qk8eV2YWQH/k8g9XDYg4cQG qYI0JEgt2Gbg5BZONAYRDPX7R/iFnU4mbPqkXR8S7lBxBXTLUaTrE5JOTQzBO38v XlVgfm0oPS50Cl4HkwZHgQPv5FkOL3h+zqjzLm+3LXNbToOiRUvi9w37kJgBXzh8 h5NOn/BvFkvKtKVAAt4tStqxxNoCAfeTOBquCyxG9lnSMM8exx/zCpQrKVs4wTcF UIXVeC7ZpKTRid9L5V6rSl63gSSaptfWfxLMDCBiBAECI4JGjjRMBSRaA67ldfw= =yl3e -----END PGP SIGNATURE-----