Re: [LARTC] bandwidth for each individual IP

2005-02-03 Thread Nikolay Datchev
http://www.ex-parrot.com/~pdw/iftop/
-- Nikolay Datchev
On Thu, 3 Feb 2005, Ionut Gogu wrote:
Hello!
I'm using a Slackware Linux as a router  and  50 IP addresses for my LAN 
Clients.
Is there any program i can install that will be able to tell me:
 how much  (ie. kbps) each individual IP is using at moment t?
___
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] Class ID limits

2004-06-17 Thread Nikolay Datchev
 And note that you must supply the classid in hex. Try searching google for
 a small tool like dec2hex, which converts decimal numbers to hex.


http://improv.sapp.org/doc/examples/improv/tohex/tohex.html

This works perfect for me.




___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] Class ID limits

2004-06-17 Thread Nikolay Datchev
  I actually have a few questions. First, am I right in assuming this or
  is the reason something totally different? And, if I'm right, is there
  any way around the limit other than creating a new qdisc? I'm trying to
  use a number we have set up in our database and sometimes it goes into
  the 5 digit range. Any help would be greatly appreciated. Thanks!

 Class parameters to tc are hexa numbers so you can use from x:1 to x:,
 meaning 65535 classes.


And note that you must supply the classid in hex. Try searching google for
a small tool like dec2hex, which converts decimal numbers to hex.


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] trafic shaping with aliases

2003-10-10 Thread Nikolay Datchev
Think about the four networks like networks, all the four are at the same
physical interface - eth1, and aliases doesn't matter. So, you put the
root class and qdisc at eth1, create four subclasses for each network,
attach qdiscs and create four filters, each filter for one network.

-- Nikolay Datchev

On Fri, 10 Oct 2003, Aleksandar Simonovski wrote:

 Hi,
 This is my scenario

1.-
   |
2.-
   | --- HUB - ETH1 --- SHAPER --- ETH0 - INTERNET
3.-
   |
4.-

 1,2,3 and 4 are all different networks
 ETH1 has four aliases whic are gateways for 1,2,3 and 4
 can some help me with using HTB or CBQ for limiting the four diferent networks

 1. 128KBit
 2. 64KBit
 3. 512Kbit
 4. 192KBit

 thaks,
 Aleksandar

 ___
 LARTC mailing list / [EMAIL PROTECTED]
 http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] does tc support mpls ?

2003-06-27 Thread Nikolay Datchev
I assume that your current ethernet card speed is 100 Mbit/s

Just do

mii-tool eth0 -A 10BaseT

and this will set your card to 10BaseT-only speeds.

If you get an error, your card does not support MII.

And, at last, this is not the right maillist for this question.

-- Nikolay Datchev

On Fri, 27 Jun 2003, olagoke Metibemu wrote:

 HELLO ALL,
 I WILL BE VERY HAPPY IS ANY BODY ON THISLIST CAN TELL ME HOW TO SET MY ETHERNET LAN 
 SPEED TO 10MBPS ON A REDHAT BOX.


 THANKS



 GOKE
 NEWBIE

 Ashutosh Pattanaik [EMAIL PROTECTED] wrote:
 hi everybody,
 i just want to know if tc provides any bandwidth management through the
 tc_index field of the sk_buff or the exp bits of the shim header in an mpls
 cloud ? if so ,how it is done?
 ashutosh.

 ___
 LARTC mailing list / [EMAIL PROTECTED]
 http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


 -
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] pfifo scheduler

2003-06-21 Thread Nikolay Datchev
Hello ppl,

I'm playing with the pfifo scheduler, its simple, and i cannot understand
what's wrong. So, i have test machine, with one interface eth0, and i want
to send no more than 3 packets/sec out of that interface, so i do:

tc qdisc add dev eth0 root pfifo limit 3

And i get pfifo scheduler on eth0 with limit of 3, but it sends as many
packets per second as it wants, without delay or drop. How can i get it
throttle if sended more than N packets/sec ?

Thanks in advance

-- Nikolay Datchev

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] pfifo scheduler

2003-06-21 Thread Nikolay Datchev
I'm using successfully all kinds of qdiscs, but i cannot find a solution
to limit number of packets in one flow. Is there a way to do this with
cbq, htb or tbf ? Not bandwidth in bits per second, but packets per
second.

Thanks,

-- Nikolay Datchev

On Sat, 21 Jun 2003, Stef Coene wrote:

 On Saturday 21 June 2003 14:56, Nikolay Datchev wrote:
  Hello ppl,
 
  I'm playing with the pfifo scheduler, its simple, and i cannot understand
  what's wrong. So, i have test machine, with one interface eth0, and i want
  to send no more than 3 packets/sec out of that interface, so i do:
 
  tc qdisc add dev eth0 root pfifo limit 3
 
  And i get pfifo scheduler on eth0 with limit of 3, but it sends as many
  packets per second as it wants, without delay or drop. How can i get it
  throttle if sended more than N packets/sec ?
 You can't do this with the pfifo qdisc.  You only create a pfifo qdisc that
 can hold 3 packets.  But that does not mean that it will send 3 packets /
 seconds.
 Take a look at the htb, cbq or tbf qdisc for limiting bandwidth.

 Stef

 --

 [EMAIL PROTECTED]
  Using Linux as bandwidth manager
  http://www.docum.org/
  #lartc @ irc.oftc.net

 ___
 LARTC mailing list / [EMAIL PROTECTED]
 http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] nano.txt

2002-12-18 Thread Nikolay Datchev
This site is redirected to some other site in ssi.bg domain.

Alas, ssi.bg domain is down, changing nameservers' addresses... I'll send
you a note when it is up again.

-- Nikolay Datchev

On Wed, 18 Dec 2002, hare ram wrote:

 Hi


 does any one have this File
 seems to be this site is down
 http://www.linuxvirtualserver.org/~julian/#routes-2.4

 thanks
 hare


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/