Mailinglist Archive: opensuse (4348 mails)
| < Previous | Next > |
Re: [SLE] Limiting of bandwidth of interface
- From: Marek Libra <xlibra@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 11 Oct 2002 12:50:12 +0200
- Message-id: <Pine.SGI.4.21.0210111236080.1391516-100000@xxxxxxxxxxxxxxx>
I'm confused with so many posible tc's arguments :-(
My computer is router with two ethernet interfaces.
The 'tc' command
tc qdisc add dev eth0 root tbf rate 64kbit buffer 5kb/8 limit 10kb
can limit outgoing trafic at eth0 (not incoming). It is possible to limit
outgoing trafic at eth1 too, so total rate (input and output) will be
limited. Unfortunately
I'll become for simulated internet 128kbit only 64+64 in real at
our LAN. But it should be OK.
>From other reason I can limit outgoing rate at eth1 only for some hosts
with specific IP (that I know). Other application runing at router must
have maximal possible transfer speed through eth1.
Please, how can I correct the 'tc' command to be applied only for source
address 1.2.3.4 in ip header?
Thanks.
My computer is router with two ethernet interfaces.
The 'tc' command
tc qdisc add dev eth0 root tbf rate 64kbit buffer 5kb/8 limit 10kb
can limit outgoing trafic at eth0 (not incoming). It is possible to limit
outgoing trafic at eth1 too, so total rate (input and output) will be
limited. Unfortunately
I'll become for simulated internet 128kbit only 64+64 in real at
our LAN. But it should be OK.
>From other reason I can limit outgoing rate at eth1 only for some hosts
with specific IP (that I know). Other application runing at router must
have maximal possible transfer speed through eth1.
Please, how can I correct the 'tc' command to be applied only for source
address 1.2.3.4 in ip header?
Thanks.
| < Previous | Next > |