Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Easy traffic shaping?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
chronochaos
n00b
n00b


Joined: 22 Mar 2003
Posts: 21
Location: Stockholm, Sweden

PostPosted: Thu Jan 01, 2004 2:42 pm    Post subject: Easy traffic shaping? Reply with quote

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
View user's profile Send private message
Yama
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2002
Posts: 135
Location: Sydney, Australia

PostPosted: Thu Jan 01, 2004 3:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
symbiote
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2002
Posts: 87
Location: The 3rd World

PostPosted: Thu Jan 01, 2004 7:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum