1 |
On Tuesday 18 December 2012 09:24:41 AM IST, Kevin Brandstatter wrote: |
2 |
> On 12/17/2012 07:44 PM, Nilesh Govindrajan wrote: |
3 |
>> On Tuesday 18 December 2012 09:09:16 AM IST, Kevin Brandstatter |
4 |
>> wrote: |
5 |
>>> On 12/17/2012 07:26 PM, Nilesh Govindrajan wrote: |
6 |
>>>> Hi, |
7 |
>>>> |
8 |
>>>> I'm stuck with a routing issue: |
9 |
>>>> |
10 |
>>>> I have a DD-WRT router, which has one WAN port and four LAN |
11 |
>>>> ports with WiFi. |
12 |
>>>> |
13 |
>>>> I have a fiber connection which is connected by dialing PPPoE |
14 |
>>>> using pppd on the router, so I have no choice but to connect |
15 |
>>>> the fiber connection on WAN port. |
16 |
>>>> |
17 |
>>>> I have yet another (much slower) ADSL link, with it's own |
18 |
>>>> router (LAN-only). I'm trying to connect the router to the |
19 |
>>>> DD-WRT router's LAN port. I'm able to access the router, but |
20 |
>>>> routing through the gateway (the ADSL router) fails. |
21 |
>>>> |
22 |
>>>> Here's a simple diagram: |
23 |
>>>> |
24 |
>>>> The LAN network I'm using on DDWRT is 192.168.0.0, which is |
25 |
>>>> the LAN network for the internal side and WiFi. |
26 |
>>>> |
27 |
>>>> The fiber connection is obviously public network. |
28 |
>>>> |
29 |
>>>> The other ADSL connection can be configured to change subnet, |
30 |
>>>> it has a LAN side and WAN side. |
31 |
>>>> |
32 |
>>>> How I can I route through the ADSL router without requiring a |
33 |
>>>> separate NIC/network for it? |
34 |
>>>> |
35 |
>>> what exactly are you trying to route? traffic out to the internet |
36 |
>>> over the ADSL? or just trying to connect the machines on that |
37 |
>>> router to the fiber line and route all traffic from both out on |
38 |
>>> the fiber? |
39 |
>>> |
40 |
>>> -Kevin |
41 |
>> |
42 |
>> |
43 |
>> Actually my fiber connection has a smaller limit than the ADSL |
44 |
>> connection. I am trying to use the fiber connection for all |
45 |
>> activities except some torrent downloading for which I want to use |
46 |
>> my ADSL connection. Once I'm able to route through the ADSL |
47 |
>> gateway, it would be easy for me to setup another ip on eth0 on my |
48 |
>> machine on which transmission could listen. All traffic on that ip |
49 |
>> would be routed through ADSL and otherwise the fiber. |
50 |
>> |
51 |
>> -- Nilesh Govindarajan http://nileshgr.com |
52 |
>> |
53 |
> well in that case if you know how to set it up so that the dd-wrt |
54 |
> router can see the ADSL gateway you can set a route on your box to |
55 |
> route traffic on a specific device to that gateway. In fact, you might |
56 |
> even be able to static route the torrent ports to that gateway from dd-wrt |
57 |
> |
58 |
> -Kevin |
59 |
|
60 |
|
61 |
I tried that. |
62 |
As the simplest test, I added this on ddwrt: |
63 |
|
64 |
route add -host 8.8.8.8 gw 192.168.0.32 |
65 |
|
66 |
Where 192.168.0.32 is the private IP of my ADSL router. But when I say |
67 |
ping 8.8.8.8 from ddwrt, I don't get any response. |
68 |
Any idea why this happens? |
69 |
|
70 |
-- |
71 |
Nilesh Govindarajan |
72 |
http://nileshgr.com |