Gentoo Archives: gentoo-user

From: Kevin Brandstatter <kjbrandstatter@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] {OT} A simple routing problem
Date: Tue, 18 Dec 2012 03:56:11
Message-Id: 50CFE901.4060500@gmail.com
In Reply to: Re: [gentoo-user] {OT} A simple routing problem by Nilesh Govindrajan
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 12/17/2012 07:44 PM, Nilesh Govindrajan wrote:
5 > On Tuesday 18 December 2012 09:09:16 AM IST, Kevin Brandstatter
6 > wrote:
7 >> On 12/17/2012 07:26 PM, Nilesh Govindrajan wrote:
8 >>> Hi,
9 >>>
10 >>> I'm stuck with a routing issue:
11 >>>
12 >>> I have a DD-WRT router, which has one WAN port and four LAN
13 >>> ports with WiFi.
14 >>>
15 >>> I have a fiber connection which is connected by dialing PPPoE
16 >>> using pppd on the router, so I have no choice but to connect
17 >>> the fiber connection on WAN port.
18 >>>
19 >>> I have yet another (much slower) ADSL link, with it's own
20 >>> router (LAN-only). I'm trying to connect the router to the
21 >>> DD-WRT router's LAN port. I'm able to access the router, but
22 >>> routing through the gateway (the ADSL router) fails.
23 >>>
24 >>> Here's a simple diagram:
25 >>>
26 >>> The LAN network I'm using on DDWRT is 192.168.0.0, which is
27 >>> the LAN network for the internal side and WiFi.
28 >>>
29 >>> The fiber connection is obviously public network.
30 >>>
31 >>> The other ADSL connection can be configured to change subnet,
32 >>> it has a LAN side and WAN side.
33 >>>
34 >>> How I can I route through the ADSL router without requiring a
35 >>> separate NIC/network for it?
36 >>>
37 >> what exactly are you trying to route? traffic out to the internet
38 >> over the ADSL? or just trying to connect the machines on that
39 >> router to the fiber line and route all traffic from both out on
40 >> the fiber?
41 >>
42 >> -Kevin
43 >
44 >
45 > Actually my fiber connection has a smaller limit than the ADSL
46 > connection. I am trying to use the fiber connection for all
47 > activities except some torrent downloading for which I want to use
48 > my ADSL connection. Once I'm able to route through the ADSL
49 > gateway, it would be easy for me to setup another ip on eth0 on my
50 > machine on which transmission could listen. All traffic on that ip
51 > would be routed through ADSL and otherwise the fiber.
52 >
53 > -- Nilesh Govindarajan http://nileshgr.com
54 >
55 well in that case if you know how to set it up so that the dd-wrt
56 router can see the ADSL gateway you can set a route on your box to
57 route traffic on a specific device to that gateway. In fact, you might
58 even be able to static route the torrent ports to that gateway from dd-wrt
59
60 - -Kevin
61 -----BEGIN PGP SIGNATURE-----
62 Version: GnuPG v2.0.19 (GNU/Linux)
63 Comment: Using GnuPG with undefined - http://www.enigmail.net/
64
65 iQEcBAEBAgAGBQJQz+kBAAoJENfP/Gsfo0VKmi0H/0MU+5/fZUPTsJCBqXzigaHT
66 /cg3Th/SCTyd7F07OPzL6tFXT+toy0DLgQ1jbwx60qk8eV2YWQH/k8g9XDYg4cQG
67 qYI0JEgt2Gbg5BZONAYRDPX7R/iFnU4mbPqkXR8S7lBxBXTLUaTrE5JOTQzBO38v
68 XlVgfm0oPS50Cl4HkwZHgQPv5FkOL3h+zqjzLm+3LXNbToOiRUvi9w37kJgBXzh8
69 h5NOn/BvFkvKtKVAAt4tStqxxNoCAfeTOBquCyxG9lnSMM8exx/zCpQrKVs4wTcF
70 UIXVeC7ZpKTRid9L5V6rSl63gSSaptfWfxLMDCBiBAECI4JGjjRMBSRaA67ldfw=
71 =yl3e
72 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] {OT} A simple routing problem Nilesh Govindrajan <me@××××××××.com>