Re: [ANNOUCE] iproute2 update

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

 



On Tue, 8 Jun 2004 18:32:09 -0400 (EDT)
alex@pilosoft.com wrote:

> 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.

But should we break existing scripts??  One possibility would be to make
things case dependant (K = 1024 and k = 1000) or something like that.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux