From: Kiruthika Selvamani <kiruthika.selvamani@gmail.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Shaping incoming bandwidth
Date: Fri, 10 Jun 2005 13:52:31 +0000 [thread overview]
Message-ID: <5ee6fe61050610065267c9a652@mail.gmail.com> (raw)
In-Reply-To: <56050446050610004457040111@mail.gmail.com>
Hi,
Something like this should work I guess..
tc qdisc add dev eth1 ingress
tc filter add dev eth1 parent ffff: (some filter here to match all ip
addresses) flowid :1 police rate 4kbps mtu 4k burst 4k drop
On 6/10/05, Ankur Jain <anks.jain@gmail.com> wrote:
> Hello Everyone,
>
> i'm having problem in limiting bandwith on my external interface in the
> server.
>
> i'm having a network here which is online via a linux server with cbq
> compiled in kernel.
>
> i'm having eth0 as internal network card,
> eth 1 as external network card
>
> my internet bandwith line is 8kbps on eth1
> i want to limit this 8kbps to 4kbps at eth1 and no shaping on eth0
>
>
> i tried earlier this with cbq.init script... but all in vain.....
>
> i don wanna compile kernel for htb support...
>
> i think i wud have to use tc and ingress qdisc....
>
> can anyody help with the commands....
>
>
> help out .....
>
> --
> Regards
> Ankur Jain
> ------------------------------------------------------------------------------------------------------------
> Fate determines who comes into our lives ... Heart determines who stays...
>
>
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
>
>
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2005-06-10 13:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-10 7:56 [LARTC] Shaping incoming bandwidth Ankur Jain
2005-06-10 13:52 ` Kiruthika Selvamani [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=5ee6fe61050610065267c9a652@mail.gmail.com \
--to=kiruthika.selvamani@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.