Date: 2 Sep 2000 14:35:43 +0300 From: "Andriy Korud" <akorud@polynet.lviv.ua> To: altq@csl.sony.co.jp Cc: freebsd-net@freebsd.org Subject: Running ALTQ Message-ID: <122572553.20000902143543@polynet.lviv.ua>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?122572553.20000902143543>
