Subject: Re: ALTQ and pppoe
To: Kenjiro Cho <kjc@csl.sony.co.jp>
From: Andrzej Szeszo <aszeszo@o2.pl>
List: tech-net
Date: 07/08/2003 20:38:16
Hello Kenjiro,

Tuesday, July 8, 2003, 6:41:55 PM, you wrote:

> Both if_pppoe.c and if_spppsubr.c have ALTQ support, but I've never
> tried pppoe so that I could have missed something.
> Anyway, I just need a more informative report than "ALTQ doesn't work"
> or "ALTQ stops working".

My /etc/altqd.conf file:
interface pppoe0 bandwidth 128K fifoq

I'm starting altqd and then trying to ping some remote machine.
altqstat shows:

# altqstat
altqstat: fifoq on interface pppoe0
 q_len:9 q_limit:50 period:0
 xmit:0 pkts (0 bytes) drop:0 pkts (0 bytes)
 throughput: 0bps
 q_len:35 q_limit:50 period:0
 xmit:0 pkts (0 bytes) drop:0 pkts (0 bytes)
 throughput: 0bps
 q_len:50 q_limit:50 period:0
 xmit:0 pkts (0 bytes) drop:20 pkts (916 bytes)
 throughput: 0bps
 q_len:50 q_limit:50 period:0
 xmit:0 pkts (0 bytes) drop:78 pkts (3944 bytes)
 throughput: 0bps
 q_len:50 q_limit:50 period:0
 xmit:0 pkts (0 bytes) drop:122 pkts (6335 bytes)
 throughput: 0bps
^CExiting on signal 2

ping after about 15 seconds shows something like that:
ping: sendto: No buffer space available
ping: sendto: No buffer space available
...

Same rule in /etc/altqd.conf works with ep0 interface in this
machine (1.6.1/i386).

What additional information would be helpful to investigate
pppoe/ALTQ issue?

-- 
Best regards,
 Andrzej