Gentoo Archives: gentoo-user

From: Nilesh Govindrajan <me@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] {OT} A simple routing problem
Date: Tue, 18 Dec 2012 17:16:20
Message-Id: 50D0A47E.5060205@nileshgr.com
In Reply to: Re: [gentoo-user] {OT} A simple routing problem by Kevin Brandstatter
1 On Tuesday 18 December 2012 10:39:43 PM IST, Kevin Brandstatter wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > On 12/18/2012 05:27 AM, Nilesh Govindrajan wrote:
6 >> On Tuesday 18 December 2012 03:41:44 PM IST, J. Roeleveld wrote:
7 >>> On Tue, December 18, 2012 04:44, Nilesh Govindrajan wrote:
8 >>>
9 >>> <SNIP>
10 >>>
11 >>>> Actually my fiber connection has a smaller limit than the ADSL
12 >>>> connection. I am trying to use the fiber connection for all
13 >>>> activities except some torrent downloading for which I want to
14 >>>> use my ADSL connection. Once I'm able to route through the ADSL
15 >>>> gateway, it would be easy for me to setup another ip on eth0 on
16 >>>> my machine on which transmission could listen. All traffic on
17 >>>> that ip would be routed through ADSL and otherwise the fiber.
18 >>>
19 >>> Nilesh,
20 >>>
21 >>> I read that you managed to fix it, but for completenes and, if
22 >>> applicable, a different solution would be a router with 2 or more
23 >>> WAN-ports that can do the routing for you. Added benefit there
24 >>> would be that if the fiber connection dies, it would be able to
25 >>> automatically route everything through the ADSL.
26 >>>
27 >>> -- Joost
28 >>>
29 >>>
30 >>
31 >> Yeah that solution is always there, but I'm not going for that
32 >> since I'm evaluating the fiber connection (a new ISP in my
33 >> locality). Won't need the ADSL may be after a month or so when I'll
34 >> have unlimited plan on fiber.
35 >>
36 >> @Pandu, or may be the DSL ISP was down yesterday when I was
37 >> trying.
38 >>
39 >> The problem is not exactly fixed yet, although I'm able to add
40 >> static routes on the DDWRT router using route command (and it is
41 >> working), there's no way to route all traffic from a source via the
42 >> other router. It doesn't have iptables ROUTE target neither
43 >> iproute2 support.. is there some other method do to this using
44 >> iptables?
45 >>
46 >> The whole problem would be solved if I could add routes on my local
47 >> machine, but that doesn't seem to work. It always goes via fiber
48 >> which is the default route.
49 >>
50 >> The final solution to this problem would be putting in a Linux
51 >> machine there. I'm trying to build Gentoo for the Raspberry Pi
52 >> which can be used for this task, but stuck at Python since it won't
53 >> cross compile. Anyway that's another topic.
54 >>
55 >> -- Nilesh Govindarajan http://nileshgr.com
56 >>
57 > you actually can add routes on a local machine. the real trick would
58 > be to have them pushed from the dd-wrt box so that they dont have to
59 > be manually set each time
60 >
61 > - -Kevin
62 > -----BEGIN PGP SIGNATURE-----
63 > Version: GnuPG v1.4.11 (GNU/Linux)
64 > Comment: Using GnuPG with undefined - http://www.enigmail.net/
65 >
66 > iQEcBAEBAgAGBQJQ0KNXAAoJEAwpfz/ORQZCg4YH/3onXndm8ZrmMd/DhtSYYvMc
67 > hZWRBu4qwIbTapqpWPDZ7nniIfrhfCOfc6bD4MNPO0a20RmC35zAZlLkmFEUMgVf
68 > iJ/25AjLPhI2I8bnLVHkI6Cq5mcvxugK5FMirdD4B4qG9Vd+oUZEo5R/BEZll7rL
69 > 9+RuKozq8c/Zdr+MNu/jEQhPtBjHKH6/vWnznK2U7WraRv9jw6vQIoHaMNi2cxG7
70 > vRaD03sPTy58bgHtn26l9bodITTtXYmCCwQYnKfltIraYkTtZOoOUW81NICdv66l
71 > 6Ckow8FrXTLr8zDU9LfAWLTb316cyzTRHU3uX1KXqe0RAv6r1QTZPnRYeR2ix9I=
72 > =5g1g
73 > -----END PGP SIGNATURE-----
74 >
75
76 How??
77
78 --
79 Nilesh Govindarajan
80 http://nileshgr.com

Replies

Subject Author
Re: [gentoo-user] {OT} A simple routing problem Kevin Brandstatter <kjbrandstatter@×××××.com>