From: "Victor Yeo" Date: Thu, 05 May 2005 06:08:50 +0000 Subject: [LARTC] TC breaking Virtual network connection Message-Id: <03b301c55138$e872e730$2604a8c0@ndchunk> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1562268014==" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. --===============1562268014== Content-Type: multipart/alternative; boundary="----=_NextPart_000_03B0_01C5517B.F6376560" This is a multi-part message in MIME format. ------=_NextPart_000_03B0_01C5517B.F6376560 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_03B0_01C5517B.F6376560 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
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 VNC=20 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 dev=20 lo root
/sbin/tc qdisc add dev lo root handle 1 cbq bandwidth 20Mbps = avpkt=20 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 1:1280=20 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=20 1280 tbf rate 100Kbps buffer 10Kb/8 limit 15Kb mtu 1500
/sbin/tc = filter add=20 dev lo parent 1:0 protocol ip prio 100 u32 match ip dst 192.168.4.0/24 = classid=20 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
------=_NextPart_000_03B0_01C5517B.F6376560-- --===============1562268014== 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 --===============1562268014==--