From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Sat, 17 Dec 2016 15:49:13 +0000 Subject: Re: Problem to priorize SSH traffic Message-Id: <58555E79.1060401@gmail.com> List-Id: References: <1737987792.142216491.1481907014295.JavaMail.root@zimbra45-e7.priv.proxad.net> In-Reply-To: <1737987792.142216491.1481907014295.JavaMail.root@zimbra45-e7.priv.proxad.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Ludovic Leroy wrote: > Hello Andy, > > I have put it badly. My linux system is used as a firewall/router for a > small local network that is connected to eth0 interface. > I have created a dedicated class on eth1 interface to access files on a > shared network drive integrated into the DSL modem. If you are shaping on eth you need to be careful what you do with arp. Using htb default in your setup sends arp to 99, but as you have sfq on that it will work. If say you had pfifo on it then the arp may get delayed long enough for the kernel to thing that the remote has gone, which is not good. The default default for htb lets things through unshaped which is good for arp. > Le 17/12/2016 12:19, Andy Furniss a =C3=A9crit : >> Ludovic Leroy wrote: >>> Thanks for replying. The script is attached. Hope this helps. >> >> $TC qdisc add dev $NETCARD root handle 1: htb default 99 r2q 5 >> >> SFQ saves the day, but you should be aware that using default on eth in >> this case catches arp and sending arp to a low bandwidth class is not a >> good thing to do. > > . >