How to deal with burstable bandwidth from ISP ?
Quoted 2 lines · Stef Coene
Then it's better to create a separate class for it and put your ssh traffic in it.
okay, i 'll do it your way ..
Quoted 4 lines
Quoted 2 lines
I am still learning about fw mark to shape both incoming and outgoing bandwidth from my network.
Incoming traffic can be tricky. You need the imq device or a dedicated shaper for it so you can shape on 2 nic's.
for marking outgoing from local network, i put those rules in POSTROUTING. i just want to know how about marking for downstream connection (from internet to my local network), where should i put this rule ? Note that i use different router for incoming and outgoing connection (multipath routing)..
Quoted 4 lines
Then you have a problem. You can not configure this with htb because you don't know the ISP bandwidth. However, you can create a setup for 1024 kbps. You will loose some precision because you are not the bottleneck anymore, but you will able to shape your link.
Just a thought in my mind, script work ? latency check ?
i need to figure this out, because all local ISP seems to be applied this kind of rule to make price for Internet bandwidth more cheaper ..
And sadly i must take this ISP service because i cannot afford higher and clear channel bandwidth ratio.
Regards,
Rio Martin.
Signature · 6 lines
Hell hath no fury like a bureaucrat scorned. -- Milton Friedman _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 9 lines · Rio Martin.
Quoted 2 lines · Stef Coene
Then it's better to create a separate class for it and put your ssh traffic in it.
okay, i 'll do it your way ..
Quoted 3 lines
Quoted 2 lines
I am still learning about fw mark to shape both incoming and outgoing bandwidth from my network.
Quoted 8 lines
Quoted 2 lines
Incoming traffic can be tricky. You need the imq device or a dedicated shaper for it so you can shape on 2 nic's.
for marking outgoing from local network, i put those rules in POSTROUTING. i just want to know how about marking for downstream connection (from internet to my local network), where should i put this rule ? Note that i use different router for incoming and outgoing connection (multipath routing)..
It depends on how you want to mark, if you are natting, make sure you mark after the demasqueing so you know the real dst ip address.
Quoted 8 lines
Quoted 4 lines
Then you have a problem. You can not configure this with htb because you don't know the ISP bandwidth. However, you can create a setup for 1024 kbps. You will loose some precision because you are not the bottleneck anymore, but you will able to shape your link.
Just a thought in my mind, script work ? latency check ?
i need to figure this out, because all local ISP seems to be applied this kind of rule to make price for Internet bandwidth more cheaper ..
Mhh. Even if you don't know the bandwidth, you still can shape. It's better to shape something then you don't shape.
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 5 lines · Stef Coene
Quoted 3 lines
Just a thought in my mind, script work ? latency check ?
i need to figure this out, because all local ISP seems to be applied this kind of rule to make price for Internet bandwidth more cheaper ..Mhh. Even if you don't know the bandwidth, you still can shape. It's better to shape something then you don't shape.
Thats why we should find out how much ISP give with script.. Perhaps we should ask for ISP help to put some file that we able to download all the time (just for bandwidth checker). Those script always check every 1 maybe 2 or 5 minutes to check how much bandwidth left and restart htb with the new bandwidth calculation.
Btw , thats only on my mind, perhaps it would be to hard to implement anyway..
Regards,
Rio Martin.
Signature · 6 lines
There's a fine line between courage and foolishness. Too bad it's not a fence. _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/