On Tue, 8 Jun 2004 18:32:09 -0400 (EDT) alex@xxxxxxxxxxxx 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. _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/