From: Victor Carceler <vcarceler@gmail.com>
To: netfilter@vger.kernel.org
Subject: It's possible mark or classify packets per gateway in a multihop route ?
Date: Fri, 4 Jun 2010 10:49:10 +0200 [thread overview]
Message-ID: <AANLkTinfTnSYngEUs3B7TTSTXt3cq9OHmIXEZEZNEDJB@mail.gmail.com> (raw)
Hi,
I have multiple DSL routers, all of them in the same subnet
(192.168.100.0/24) and reacheable by eth0. I use a multihop default
route and I want to shape traffic with limits per gateway. So, it's
possible to mark or classify packets once it's known with router will
be routed through ? wich extension/selector should I use ?
-------
ip route show
192.168.100.0/24 dev eth0 proto kernel scope link src 192.168.100.5
192.168.10.0/24 dev eth1 proto kernel scope link src 192.168.10.30
169.254.0.0/16 dev eth0 scope link
127.0.0.0/8 dev lo scope link
default
nexthop via 192.168.100.2 dev eth0 weight 1
nexthop via 192.168.100.3 dev eth0 weight 1
------------
192.168.10.0/24 it's my LAN
eth0 has address 192.168.100.5 (to balance traffic), and alias
(eth0:0, eth0:1) exists with addresses (192.168.100.102,
192.168.100.103) to rule traffic to specific router.
It's even possible to apply HTB qdisc to eth0 and shape traffic with
limits per gateway ?
Best regards,
Victor
next reply other threads:[~2010-06-04 8:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-04 8:49 Victor Carceler [this message]
2010-06-04 9:38 ` It's possible mark or classify packets per gateway in a multihop route ? Jan Engelhardt
2010-06-04 13:37 ` Victor Carceler
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=AANLkTinfTnSYngEUs3B7TTSTXt3cq9OHmIXEZEZNEDJB@mail.gmail.com \
--to=vcarceler@gmail.com \
--cc=netfilter@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).