From: Nilesh Govindrajan <me@nileshgr.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] {OT} A simple routing problem
Date: Tue, 18 Dec 2012 09:52:43 +0530 [thread overview]
Message-ID: <50CFEF93.5010705@nileshgr.com> (raw)
In-Reply-To: <50CFECC4.6080500@gmail.com>
On Tuesday 18 December 2012 09:40:44 AM IST, Kevin Brandstatter wrote:
> On 12/17/2012 08:00 PM, Nilesh Govindrajan wrote:
>> On Tuesday 18 December 2012 09:24:41 AM IST, Kevin Brandstatter
>> wrote:
>>> 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
>>
>>
>> I tried that. As the simplest test, I added this on ddwrt:
>>
>> route add -host 8.8.8.8 gw 192.168.0.32
>>
>> Where 192.168.0.32 is the private IP of my ADSL router. But when I
>> say ping 8.8.8.8 from ddwrt, I don't get any response. Any idea why
>> this happens?
>>
>> -- Nilesh Govindarajan http://nileshgr.com
>>
> is the ADSL configured to forward to the internet? how is the gateway
> set up? it needs to be configured to route the outbound traffic to the
> internet
>
> -Kevin
Yes, I have a static IP on the ADSL connection and it is setup for the
same. Connects using MER and NAT is enabled.
If I connect the router to DD-WRT's WAN port and change subnet of the
ADSL private network (matching the same on WAN interface), then it
works properly.
--
Nilesh Govindarajan
http://nileshgr.com
next prev parent reply other threads:[~2012-12-18 4:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-18 3:26 [gentoo-user] {OT} A simple routing problem Nilesh Govindrajan
2012-12-18 3:39 ` Kevin Brandstatter
2012-12-18 3:44 ` Nilesh Govindrajan
2012-12-18 3:54 ` Kevin Brandstatter
2012-12-18 4:00 ` Nilesh Govindrajan
2012-12-18 4:10 ` Kevin Brandstatter
2012-12-18 4:22 ` Nilesh Govindrajan [this message]
2012-12-18 4:56 ` Nilesh Govindrajan
2012-12-18 9:31 ` Pandu Poluan
2012-12-18 10:11 ` J. Roeleveld
2012-12-18 13:27 ` Nilesh Govindrajan
2012-12-18 17:09 ` Kevin Brandstatter
2012-12-18 17:14 ` Nilesh Govindrajan
2012-12-18 17:29 ` Kevin Brandstatter
2012-12-18 17:38 ` Nilesh Govindrajan
2012-12-18 18:09 ` Kevin Brandstatter
2012-12-19 1:42 ` [gentoo-user] " James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50CFEF93.5010705@nileshgr.com \
--to=me@nileshgr.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox