Skip to contentSkip to conversation

Does this work: CBQ on PPP over a PTY

LARTC bert hubert 3 participants 6 messages Nov 27, 2001 – Dec 1, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

Did anybody ever get CBQ on PPP over a PTY (pppoe or PPTP) to work?

I'm starting to think that it won't work!

Please let met know ASAP. Thanks!

Regards,

bert

Signature · 8 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#1 lore raw
Quoted 8 lines · bert hubert

Hi,

Did anybody ever get CBQ on PPP over a PTY (pppoe or PPTP) to work?

I'm starting to think that it won't work!

Please let met know ASAP. Thanks!

I tried it once at home with my adsl connection using the kernel pppoe module together with pppd. It worked like a charm.
I used the cpq.init script from ftp://ftp.equinox.gu.net/pub/linux/cbq/cbq.init

Juri

Signature · 8 lines
  If each of us have one object, and we exchange them,
     then each of us still has one object.
  If each of us have one idea,   and we exchange them,
     then each of us now has two ideas.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#2 lore raw
In reply to bert hubert
Quoted 6 lines · Juri Haberland
Quoted 1 line

Please let met know ASAP. Thanks!

I tried it once at home with my adsl connection using the kernel pppoe module together with pppd. It worked like a charm.
I used the cpq.init script from ftp://ftp.equinox.gu.net/pub/linux/cbq/cbq.init

What did you set as 'bandwidth'? The bandwith of the ethernet you are sending to? The bandwidth of your cable modem?

Regards,

bert

Signature · 8 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#3 lore raw
In reply to bert hubert
Quoted 5 lines · bert hubert
Quoted 2 lines · Juri Haberland
Quoted 1 line

Please let met know ASAP. Thanks!

Quoted 7 lines
Quoted 4 lines

I tried it once at home with my adsl connection using the kernel pppoe module together with pppd. It worked like a charm.
I used the cpq.init script from ftp://ftp.equinox.gu.net/pub/linux/cbq/cbq.init

What did you set as 'bandwidth'? The bandwith of the ethernet you are sending to? The bandwidth of your cable modem?

Cable modem.
Actually I was trying to limit edonkey ;)

Here is my config file for cyq.init:

DEVICE=ppp0,768Kbit,77Kbit
RATEdKbit
WEIGHT=6Kbit
PRIO=5
RULE=,:4662

Juri

Signature · 8 lines
  If each of us have one object, and we exchange them,
     then each of us still has one object.
  If each of us have one idea,   and we exchange them,
     then each of us now has two ideas.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#4 lore raw
In reply to bert hubert

hi!

Quoted 2 lines

What did you set as 'bandwidth'? The bandwith of the ethernet you are sending to? The bandwidth of your cable modem?

I am using cbq with the roaring penguin pppoe and cbq is working fine for outgoing traffic here. I set the speed of my ethernet as bandwidth and created a root-class with the speed of my adsl as rate. If I look at the incoming traffic it shows that it only does anything if the rate of the root class is approx. half of my available bandwidth. It seems that cbq miscalculates something - but I'm not sure. I sent my config to the list some time ago and askes for advice - but nothing seemed wrong.

best regards
Sebastian

Signature · 9 lines
Sebastian 'spax' Pape          | If you're not part of the solution, be part of
mailto: [email protected]   | the problem!  
pgp: http://p-a-p-e.de/pgp.asc | 
         --- Do you want to know more? http://www.p-a-p-e.de/ ---


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#5 lore raw
In reply to bert hubert
Quoted 4 lines · Sebastian 'spax' Pape

hi!

Quoted 2 lines

What did you set as 'bandwidth'? The bandwith of the ethernet you are sending to? The bandwidth of your cable modem?

Quoted 8 lines

I am using cbq with the roaring penguin pppoe and cbq is working fine for outgoing traffic here. I set the speed of my ethernet as bandwidth and created a root-class with the speed of my adsl as rate. If I look at the incoming traffic it shows that it only does anything if the rate of the root class is approx. half of my available bandwidth. It seems that cbq miscalculates something - but I'm not sure. I sent my config to the list some time ago and askes for advice - but nothing seemed wrong.

Well, this might very well fit the general brokenness of CBQ idle time determinations. Try HTB (google://htb+devik).

I'm now convinced that CBQ is by no means reliable for shaping on all interfaces.

Regards,

bert

Signature · 8 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/