All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Goya <rgoya@linuxcenter.com.mx>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Controlling BandWidth but in specific ports
Date: Mon, 07 May 2001 16:22:45 +0000	[thread overview]
Message-ID: <marc-lartc-98925611326879@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98925348219226@msgid-missing>

Hello,

You mean to get ports 20, 21, 22, 25, 80, 110 and 3128 to share one "64Kbit link"? or each have it's own "64Kbit link"?

If you want them all to share one link, I don't know what others would say, but I'd go with marking those packets with netfilter and then using the fwmark filter. You could mark the rest with a different value so they go to another class.

You can see an example in section 13.1 in the HOWTO:
http://www.ds9a.nl/2.4Routing/HOWTO//cvs/2.4routing/output/2.4routing-13.html#ss13.1

   tc filter add dev eth1 protocol ip parent 1:0 prio 1 handle 1 fw classid 1:1
Being the command needed to filter packets marked with the value 1 (handle 1), for example.

If you want each to get it's own 64kbps, I'd think you need to use the u32 filter for each 64kbps class, specifying which port belongs to which class.

Was this it?

Cheers,

Rodrigo


On Mon, May 07, 2001 at 11:41:30AM +0000, Alexandra Alvarado wrote:
> hello, I'm Alexandra
> 
> I have a problem i need somebody help to me, i need to control all ports
> minus 1 the 5003 how can i do that, or if it can't do it, I only need
> control the 20, 21, 22, 25, 80, 110, 3128 ports for all have 64Kbit
> shaped.
> 
> Can somebody give me some example, i don't know how to specific it in
> "tc filter"
> 
> 
> Thanks
> 
> Alexandra
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

  reply	other threads:[~2001-05-07 16:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-07 11:41 [LARTC] Controlling BandWidth but in specific ports Alexandra Alvarado
2001-05-07 16:22 ` Rodrigo Goya [this message]
2001-05-08 16:58 ` Alexandra Alvarado

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=marc-lartc-98925611326879@msgid-missing \
    --to=rgoya@linuxcenter.com.mx \
    --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.