All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Heider <a.heider@gmail.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Re: LARTC Digest, Vol 5, Issue 6
Date: Tue, 05 Jul 2005 17:18:22 +0000	[thread overview]
Message-ID: <42CAC0DE.8090406@gmail.com> (raw)
In-Reply-To: <39458b08050705061753a29d46@mail.gmail.com>

thanks for your reply, but the reason for imq on my setup would be to
shape incoming traffic with dst_ip=router_ip AND the traffic that gets
routed to the nat'ed boxes.

eg.
router 40% ceil 100%
lan 60% ceil 100%

i'm not 100% sure on this but without imq that would be only ingress
'dropping' i could do, right? and i couldnt split the traffic nicely as
my example shows.

of course this is just my understanding of how tc works using a linux
kernel. if i'm wrong or missed some solution that's nicer/easier i'm all
ears ;)

oh and thanks for your script. nicely done

regards

Edward Smith wrote:
> I'm not an expert, but I can tell you that when traffic shaping on a
> router, you can just shape egress both ways and not mess with imq.  My
> script is at
> 
> http://www.stardotstar.org/?page_idc 
> 
> The basis are the following 2 lines where UPDEV is ppp0 and DOWNDEV is
> eth0 in your case.
> 
> tc qdisc add dev ${UPDEV} root handle 1: htb default 100 r2q 1
> tc qdisc add dev ${DOWNDEV} root handle 1: htb default 100 r2q 1
> 
> Edward
> 
> 
> 
>>Message: 2
>>Date: Mon, 04 Jul 2005 12:40:11 +0200
>>From: Andre Heider <a.heider@gmail.com>
> 
> 
>>seems like imq is the only solution to me. my idea on imq0 was something
>>like this:
> 
> 

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      reply	other threads:[~2005-07-05 17:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-05 13:17 [LARTC] Re: LARTC Digest, Vol 5, Issue 6 Edward Smith
2005-07-05 17:18 ` Andre Heider [this message]

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=42CAC0DE.8090406@gmail.com \
    --to=a.heider@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.