-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I did here... [root@echelon root]# tc class add dev eth0 parent 1: classid 1:1 htb rate 10mbps and then... [root@echelon root]# tc -s -d class show dev eth0 class htb 1:1 root prio 0 rate 80Mbit ceil 80Mbit burst 106440b/8 mpu 0b cburst 106440b/8 mpu 0b quantum 60000 level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 injects: 0 tokens: 8316 ctokens: 8316 My question is... rate 80Mbit ceil 80Mbit????????????????????? I have a 10mbps link over ethernet (realtek 8029), no fast-ethernet Is that correct? 80 Mbit? Thanks - -- +-------------------------------------------------------------------+ | Luis Miguel Cruz. | | | | [ADPSOFT] http://www.adpsoft.com | | "Connecting your business" | | | | irc.irc-hispano.org -> #redhat | | http://www.flcnet.es/tbe/luismi | | Canal IRC para usuarios RedHat Linux | | | | Public Key: http://www.flcnet.es/tbe/luismi/nadie/luismi_adp.asc | +-------------------------------------------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyH/fMACgkQvQHLTzrFJlet5ACfdfyVwudUIF70SayCi549Uqv8 HrUAn17iSn5rNoL0COb76ZaFQm3bAyKU =kRjW -----END PGP SIGNATURE-----
On Friday 08 March 2002 00:55, LuisMi wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I did here... > [root@echelon root]# tc class add dev eth0 parent 1: classid 1:1 htb rate > 10mbps > > and then... > > [root@echelon root]# tc -s -d class show dev eth0 > class htb 1:1 root prio 0 rate 80Mbit ceil 80Mbit burst 106440b/8 mpu 0b > cburst 106440b/8 mpu 0b quantum 60000 level 0 > Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > lended: 0 borrowed: 0 giants: 0 injects: 0 > tokens: 8316 ctokens: 8316 > > My question is... > rate 80Mbit ceil 80Mbit?????????????????????That is OK. 10mbps = 10mbyte/s = 80 mbit/s = 80Mbit And you provided no ceil so ceil = rate. Stef -- stef.coene@docum.org More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 8 Mar 2002, Stef Coene wrote:> On Friday 08 March 2002 00:55, LuisMi wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > I did here... > > [root@echelon root]# tc class add dev eth0 parent 1: classid 1:1 htb rate > > 10mbps > > > > and then... > > > > [root@echelon root]# tc -s -d class show dev eth0 > > class htb 1:1 root prio 0 rate 80Mbit ceil 80Mbit burst 106440b/8 mpu 0b > > cburst 106440b/8 mpu 0b quantum 60000 level 0 > > Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > > lended: 0 borrowed: 0 giants: 0 injects: 0 > > tokens: 8316 ctokens: 8316 > > > > My question is... > > rate 80Mbit ceil 80Mbit????????????????????? > That is OK. > 10mbps = 10mbyte/s = 80 mbit/s = 80Mbit > And you provided no ceil so ceil = rate.well, I was talking about 10 megabits not megabytes. How can I tell 10 megabits to tc command line? Thanks LuisMi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyNOSQACgkQvQHLTzrFJlddFQCcC3vyejmKlnzhC1Ebpoh+qSAK eo0AoI4qZwUdxMdfwK/9lkzgyA+vXUpj =wubt -----END PGP SIGNATURE-----
> well, I was talking about 10 megabits not megabytes. > How can I tell 10 megabits to tc command line?See lartc HOWTO : http://lartc.org/HOWTO/cvs/2.4routing/output/2.4routing-9.html Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net