[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq:1781] altq-3.1 on FreeBSD 4.8-RC
Hi there,
yesterday I cvsupped a 4.7-STABLE router, and after I made sure it
worked fine, applied sys-altq-freebsd-4.8-RELEASE.patch.gz from
http://www.rofug.ro/projects/freebsd-altq/, and rebuilt the kernel with
options ALTQ
Now I'm experimenting with altq. The kldstat(8) output below suggests
I've run altqd already:
roman@lilith ~ 1010:0 > kldstat
Id Refs Address Size Name
1 5 0xc0100000 1b7ff4 kernel
2 1 0xc1630000 50000 nfs.ko
3 1 0xc18b6000 5000 altq_cbq.ko
4 1 0xc18bb000 4000 altq_red.ko
5 1 0xc18bf000 3000 altq_rio.ko
roman@lilith ~ 1011:0 > cat /etc/altq.conf
interface rl0 bandwidth 128K cbq
# root class, the whole link
class cbq rl0 class_root NULL pbandwidth 100
# privileged traffic (dns, ssh, smtp, icmp)
class cbq rl0 class_priv class_root pbandwidth 50
filter rl0 class_priv name filter_icmp 0 0 0 0 1 # ICMP
filter rl0 class_priv name filter_dns 0 53 0 0 6 # DNS - TCP
filter rl0 class_priv name filter_dns 0 53 0 0 17 # DNS - UDP
# everything else
class cbq rl0 class_def class_root pbandwidth 50 default
root@lilith ~ 1040:0 # altqd -d
ALTQ config file is /etc/altq.conf
tbr is already installed on rl0,
using the current setting (rate:0.13M size:1.46K).
warning: class is too slow!!
syscall error: add filter failed!: Invalid argument
can't add ctl class IPv6 filter on interface 'rl0'
cbq enabled on interface rl0 (mtu:1500)
Enter ? or command:
altqd rl0>
I've read the ALTQ Tips file, so I know what causes the "class too slow"
message, but isn't 128Kbps / 2 > 6Kbps?
Next question is: what in my altq.conf is causing altqd to attempt to
create an IPv6 filter?
That'll do for now, I'll save the rest of my questions for future.
TIA && HAND
--
If you cc me or remove the list(s) completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html