Re: [ANNOUCE] iproute2 update

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen,

Perhaps it is time to fix iproute2 interpretation of kbit/mbit/gbit.

Currently, they are interpreted as powers of 2 (i.e. 10mbit = 
10*1024*1024), which is absolutely incorrect when dealing with networking, 
as line speeds are always interpreted in decimal.

Example: 10Mbit ethernet is 10 000 000 bits/second. Someone who may be 
trying to rate-limit outbound traffic is bound for a surprise when tc's 
10mbit does not match physical line characteristic.

Other examples: 28k modem is 28000 bit/s, 56k is 56000, OC-3 SONET 
(155Mbit) is 155000000 bit/s, etc.  There isn't a technology that is 
quoted with kbits meaning 1024bit/s.

-alex

On Tue, 8 Jun 2004, Stephen Hemminger wrote:

> A new version of the iproute2 utilities is available to handle the new
> extensions for 2.6.7.
> 	* Based on the last known good version of iproute2 from Alexy
> 	* Included most of the vendor patches (except for the stupid ones).
> 	* Got rid of lots of the glibc workarounds,  I intend this to build
> 	  and run on 2.6 (and 2.4) only.
> 	* Fixed some parsing and formatting bugs.
> 	* Added gigabit as a rate.
> 	* Added HTB and delay scheduler
> 	* Added support for new tcp_info extensions to ss
> 
> The website is:
> 	http://developer.osdl.org/dev/iproute2
> and the download is in:
> 	http://developer.osdl.org/dev/iproute2/download
> 
> This version builds with 2.6.7 as the kernel include files, so either have
> the files in /usr/include/linux up to date or modify the top level Makefile
> to point to a kernel build.  Will workout a way to build on 2.4 next.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux