From: "Victor Yeo" Date: Fri, 06 May 2005 03:24:34 +0000 Subject: Re: [LARTC] TC breaking Virtual network connection Message-Id: <011f01c552b3$6fb3b8c0$2604a8c0@ndchunk> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0402523191==" List-Id: References: <03b301c55138$e872e730$2604a8c0@ndchunk> In-Reply-To: <03b301c55138$e872e730$2604a8c0@ndchunk> To: lartc@vger.kernel.org This is a multi-part message in MIME format. --===============0402523191== Content-Type: multipart/alternative; boundary="----=_NextPart_000_011C_01C552F6.7C4B28A0" This is a multi-part message in MIME format. ------=_NextPart_000_011C_01C552F6.7C4B28A0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable hi again, After i delete the qdisc,=20 % tc qdisc del dev eth0 root i display the qdisc status again: % tc -q qdisc and nothing is shown. My question is : what is the qdisc algorithm in = use if the output is empty. thanks. victor ----- Original Message -----=20 From: Victor Yeo=20 To: lartc@mailman.ds9a.nl=20 Sent: Thursday, May 05, 2005 2:08 PM Subject: [LARTC] TC breaking Virtual network connection Good afternoon, I am a newbie to lartc. I have read the HOWTO. I set up a CBQ traffic = control using the following commands, and it caused my VNC connection to = break frequently. = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D **CBQ: cbq-1280.My_shaper /sbin/tc qdisc del dev lo root /sbin/tc qdisc add dev lo root handle 1 cbq bandwidth 20Mbps avpkt = 1000 cell 8 /sbin/tc class change dev lo root cbq weight 2Mbps allot 1514 /sbin/tc class add dev lo parent 1: classid 1:1280 cbq bandwidth = 20Mbps rate 100Kbps weight 10Kbps prio 5 allot 1514 cell 8 maxburst 20 = avpkt 1000 bounded /sbin/tc qdisc add dev lo parent 1:1280 handle 1280 tbf rate 100Kbps = buffer 10Kb/8 limit 15Kb mtu 1500 /sbin/tc filter add dev lo parent 1:0 protocol ip prio 100 u32 match = ip dst 192.168.4.0/24 classid 1:1280 = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I tried deleting the qdisc, but my VNC connection still breaks after i = issue this command: % tc qdisc del dev lo root What is the correct way to restore to "factory default settings"? Thanks for reading. Please help me. Rgds, Siow Vic -------------------------------------------------------------------------= ----- _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc ------=_NextPart_000_011C_01C552F6.7C4B28A0 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
hi again,
 
After i delete the qdisc, =
 
% tc qdisc del dev eth0 = root
 
i display the qdisc status = again:
% tc -q qdisc
 
and nothing is shown. My question is : = what is the=20 qdisc algorithm in use if the output is empty.
 
thanks.
 
victor
----- Original = Message -----
From:=20 Victor = Yeo
To: lartc@mailman.ds9a.nl
Sent: = Thursday, May 05, 2005 2:08 PM
Subject: = [LARTC] TC breaking Virtual=20 network connection

Good afternoon,
 
I am a newbie to lartc. I have read = the HOWTO. I=20 set up a CBQ traffic control using the following commands, and it = caused my=20 VNC connection to break frequently.
 
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<= /FONT>
**CBQ: cbq-1280.My_shaper
/sbin/tc = qdisc del=20 dev lo root
/sbin/tc qdisc add dev lo root handle 1 cbq bandwidth = 20Mbps=20 avpkt 1000 cell 8
/sbin/tc class change dev lo root cbq weight = 2Mbps allot=20 1514
 
/sbin/tc class add dev lo parent 1: = classid=20 1:1280 cbq bandwidth 20Mbps rate 100Kbps weight 10Kbps prio 5 allot = 1514 cell=20 8 maxburst 20 avpkt 1000 bounded
/sbin/tc qdisc add dev lo parent = 1:1280=20 handle 1280 tbf rate 100Kbps buffer 10Kb/8 limit 15Kb mtu = 1500
/sbin/tc=20 filter add dev lo parent 1:0 protocol ip prio 100 u32 match ip dst=20 192.168.4.0/24 classid 1:1280
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 
I tried deleting the qdisc, but my = VNC connection=20 still breaks after i issue this command:
% tc qdisc del dev lo = root
 
What is the correct way to restore to = "factory=20 default settings"?
 
Thanks for reading. Please help = me.
 
Rgds,
Siow Vic


_______________________________________________
LARTC = mailing=20 = list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/l= istinfo/lartc
------=_NextPart_000_011C_01C552F6.7C4B28A0-- --===============0402523191== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0402523191==--