From owner-freebsd-net Sat Sep 2 4:34:56 2000 Delivered-To: freebsd-net@freebsd.org Received: from guard.polynet.lviv.ua (Guard.PolyNet.Lviv.UA [209.58.62.194]) by hub.freebsd.org (Postfix) with SMTP id 2FC6437B43C for ; Sat, 2 Sep 2000 04:34:49 -0700 (PDT) Received: (qmail 26799 invoked from network); 2 Sep 2000 11:34:43 -0000 Received: from unknown (HELO postoffice.polynet.lviv.ua) (unknown) by unknown with SMTP; 2 Sep 2000 11:34:43 -0000 Received: (qmail 42284 invoked from network); 2 Sep 2000 11:34:42 -0000 Received: (ofmipd unknown); 2 Sep 2000 11:34:20 -0000 Date: 2 Sep 2000 14:35:43 +0300 Message-ID: <122572553.20000902143543@polynet.lviv.ua> From: "Andriy Korud" Reply-To: "Andriy Korud" To: altq@csl.sony.co.jp Cc: freebsd-net@freebsd.org X-Mailer: The Bat! (v1.44) X-Priority: 3 (Normal) Subject: Running ALTQ X-Sender: Andriy Korud Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello all, I've successfully compiled KAME cvsup, everything is working fine, but when I try to run altqd with the following cfg file (very simple, just for test): interface dc0 bandwidth 100M cbq class cbq dc0 root_class NULL priority 0 admission none pbandwidth 100 class cbq dc0 def_class root_class borrow pbandwidth 95 default # class cbq dc0 tcp_class0 def_class pbandwidth 1 filter dc0 tcp_class0 0 0 0 0 6 I got the following output: ALTQ config file is /etc/altq.conf tbr installed on dc0 (rate:100.00M size:11.72K) cbq_flowspec: maxburst=16,minburst=2,pkt_size=1500 nsPerByte=80.00 ns, link's nsPerByte=80.00, f=1.000 packet time=120 [us] warning: maxburst smaller than timer granularity! maxburst=16, packet_time=120 [us] maxidle=3.75 us offtime=0.00 us minidle=-120.00 us maxq=30 cbq_flowspec: maxburst=16,minburst=2,pkt_size=1500 nsPerByte=86.02 ns, link's nsPerByte=80.00, f=0.930 packet time=129 [us] warning: maxburst smaller than timer granularity! maxburst=16, packet_time=129 [us] maxidle=5.98 us offtime=18.36 us minidle=-129.03 us maxq=30 cbq_flowspec: maxburst=16,minburst=2,pkt_size=1500 nsPerByte=4000.00 ns, link's nsPerByte=80.00, f=0.020 packet time=6000 [us] maxidle=3892.14 us offtime=11949.68 us minidle=-6000.00 us maxq=30 dc0: add a filter (null) to class ctl_class Filter Dest Addr: 0.0.0.0 (mask 0) Port: 0 Src Addr: 0.0.0.0 (mask 0) Port: 0 Protocol: 1 TOS 0 (mask 0) dc0: add a filter (null) to class ctl_class Filter Dest Addr: 0.0.0.0 (mask 0) Port: 0 Src Addr: 0.0.0.0 (mask 0) Port: 0 Protocol: 2 TOS 0 (mask 0) dc0: add a filter (null) to class ctl_class Filter Dest Addr: 0.0.0.0 (mask 0) Port: 0 Src Addr: 0.0.0.0 (mask 0) Port: 0 Protocol: 46 TOS 0 (mask 0) syscall error: add filter failed! : Invalid argument can't add ctl class filter on interface 'dc0' cbq_flowspec: maxburst=4,minburst=2,pkt_size=1500 nsPerByte=8000.00 ns, link's nsPerByte=80.00, f=0.010 packet time=12000 [us] maxidle=1608.68 us offtime=24143.23 us minidle=-12000.00 us maxq=30 dc0: add a filter (null) to class tcp_class0 Filter Dest Addr: 0.0.0.0 (mask 0xffffffff) Port: 0 Src Addr: 0.0.0.0 (mask 0xffffffff) Port: 0 Protocol: 6 TOS 0 (mask 0) cbq enabled on interface dc0 (mtu:1500) Please note the error. And there is no limit - interface is working on full speed. Any ideas/suggestions? -- Best regards, Andriy mailto:akorud@polynet.lviv.ua To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message