View previous topic :: View next topic |
Author |
Message |
chronochaos n00b

Joined: 22 Mar 2003 Posts: 21 Location: Stockholm, Sweden
|
Posted: Thu Jan 01, 2004 2:42 pm Post subject: Easy traffic shaping? |
|
|
Hi
This question has probably been asked a dozen of times before, please don't hate me for this =)
I've put a server at my cousins place, and bridged his connection to the Internet. I've got two NICs, (eth0 - Internet, eth1 - LAN (to his computer)) and the bridge (br0). What I want to do is to reserve some of his bandwidth for the server. He got a 10Mbit connection (both upstreams and downstreams), and I'd like to reserve 3Mbit (up and down) for the server by simply allowing a maximum bandwidth of 7Mbit from eth1.
How could I do this? I bet it's fairly simple, but I've never tampered with traffic shaping before, and most of the guides out there specifies how to shape traffic for specific packets, or are reffering to the wondershaper. I want to do that for the whole interface (eth1). |
|
Back to top |
|
 |
Yama Tux's lil' helper


Joined: 21 Jul 2002 Posts: 135 Location: Sydney, Australia
|
Posted: Thu Jan 01, 2004 3:13 pm Post subject: |
|
|
This should be of some help.
Last edited by Yama on Sun May 23, 2004 3:43 am; edited 1 time in total |
|
Back to top |
|
 |
symbiote Tux's lil' helper


Joined: 06 Oct 2002 Posts: 87 Location: The 3rd World
|
Posted: Thu Jan 01, 2004 7:39 pm Post subject: |
|
|
Enable the traffic shaping module in the kernel and then man iproute. _________________ symbiote: interstellar mohican-general of the stealthdildo buddhist-warrior ninjas
[*] symbiote@stealthdildo.net
[*] gpg: 1024D/3FC84E5B
[*] http://stealthdildo.net/pgp-key |
|
Back to top |
|
 |
|