[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq:1674] ALTQ Newbie question
Hello,
i'm new to ALTQ package which i use on my OpenBSD box. Could anyone help me
with following config?
---
interface rl0 bandwidth 10M cbq
class cbq rl0 cls_root NULL pbandwidth 100
class cbq rl0 cls_control cls_root borrow pbandwidth 5 control
class cbq rl0 cls_data cls_root borrow pbandwidth 95 default
class cbq rl0 cls_rwi cls_data exactbandwidth 48k
filter rl0 cls_rwi 192.168.11.21 0 0 0 0
class cbq rl0 cls_local cls_data exactbandwidth 5000K
filter rl0 cls_local 192.168.11.0 netmask 0xffffff00 0 192.168.11.1
0 0
---
the scenario:
<-- internet --> rl1 [OpenBSD Box] rl0 <-- LAN
LAN interface (rl0) has IP address 192.168.11.1 from network
192.168.11.0/24. I want to limit traffic to 192.168.11.21 from internet
(cls_rwi) but not from 192.168.11.1 (cls_local) where my DNS cache & mail
server is running. When I use the altq.conf ^^^, i limit ALL traffic. I do
not know what is wrong with my config.
thanks
rwi