[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq:1752] Hello & NetBSD ALTQ CBQ + PPPoE questions
I'm new to this list as well as to ALTQ and NetBSD. I set up a PPPoE
router for my ADSL link (768K up, 128K down) and want to shape the
traffic of this link.
I used NetBSD's kernel pppoe driver (at least I think it's in the
kernel) to setup the pppoe0 device. As I use NAT, I also set up an MSS
clamp "rule" in ipnat.conf (as described in
This setup seems to work, until I start altqd. There are no errors in
the log, but the pppoe interface seems to be cut off. I can't connect
(nor ping) to anything "outside" until I stop altqd (the internal
interface still works). My config:
# ne2: internal net
# pppoe0: external PPPoE
interface ne2 bandwidth 768K cbq
interface pppoe0 bandwidth 128K cbq
# root classes
class cbq ne2 down_root NULL pbandwidth 100
class cbq pppoe0 up_root NULL pbandwidth 100
# default classes
class cbq ne2 down_ctl_class down_root pbandwidth 4
class cbq ne2 down_def_class down_root borrow pbandwidth 95 default
class cbq pppoe0 up_ctl_class up_root pbandwidth 4
class cbq pppoe0 up_def_class up_root borrow pbandwidth 95 default
Now the questions:
- Is the config OK? As there are no limiting classes and filters yet, I
should be getting full bandwidth, right?
- Does ALTQ generally work with PPPoE? a "userspace" solution like
rp-pppoe would also be OK if the NetBSD kernel pppoe isn't supported.
- Is it possible that ALTQ interferes with NAT or the MSS clamping?
Thanks in advance,
Am Wall 149/150
D-28195 Bremen (Germany)