Re: HFSC not working as expected

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michael,

Many thanks for your useful response.

Please see inline comments.

On 03/07/14 01:12, Michal Soltys wrote:
Connection type is ADSL, PPPoA

Topology is this:

Phone line -> splitter -> ADSL Router in bridge mode -> 10/100 ethernet
-> eth0 on CentOS 6 server

CentOS 6 server is doing PPPoE, router is connected directly to eth0.

I shape internet upload on ppp0 and internet download as it passes out
of the eth1 interface.  Eth1 is the uplink to my LAN.

Ah, so essentially you have adsl router (draytek perhaps ?) that translates pppoe and then sends using pppoa (it's still operates as a router from what I rememeber, only mimicking pppoe server).

Its a BT Business Hub 3, which I think is made by Huawei. Im not sure of the technical underpinnings of how a router in bridgemode operates beyond I set it to bridge mode and connect it to a device that does PPPoE and it 'just works'. The PPP session then runs on the connected device and the router is then able to handle as many packets/sec as the underlying link or the connected device can support. If you could explain how this works in more detail, or link me a related article id be intrigued.

Anyway, long story short you should use tc-stab to match adsl speed properly, then the rules will need some adjustment as well. I'll put some suggestions later (for once, 100mbit in default is generally bad idea in default class if something faster lands there, as it will instantly saturate uplink - realtime curve will make sure of that)

Do you have any examples (or links to correct examples online) of a good method of utilising 'tc-stab' ? I have looked at the documentation and am feeling a little overwhelmed at the moment!

Alan
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux