From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] is this scenario possible ???
Date: Wed, 17 Nov 2004 22:46:41 +0000 [thread overview]
Message-ID: <419BD4D1.2080200@dsl.pipex.com> (raw)
In-Reply-To: <20041116050157.29369.qmail@web50308.mail.yahoo.com>
Drink Linux wrote:
> hello .
>
> i have no problem shaping incoming traffic from WAN
>
> how do i shape outgoing traffic to WAN depending on
> the speed limit of each subnet ....
>
> ex:
> 10.10.6.0 --> 512kbps (DOWNLOAD / UPLOAD)
> 10.10.5.0 --> 256kbps (DOWNLOAD / UPLOAD)
>
>
>
> do i have to used forward handle,
>
> and used
> iptables -s 10.10.6.0/24 -d WAN -j MARK --set-mark 101
>
> and used
> iptables -s 10.10.5.0/24 -d WAN -j MARK --set-mark 102
>
> what do i really have to use?
> prerouting or postrouting.
> do i really need to use imq device on this one ?
>
> i can't seem to get it work .....
>
> thanks for anyone can help...
It depends on your exact setup - what interfaces do you have to where?
Andy.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2004-11-17 22:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-16 5:01 [LARTC] is this scenario possible ??? Drink Linux
2004-11-17 22:46 ` Andy Furniss [this message]
2004-11-18 12:56 ` Andy Furniss
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=419BD4D1.2080200@dsl.pipex.com \
--to=andy.furniss@dsl.pipex.com \
--cc=lartc@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