Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HTB] Fair internet sharing betwen server and secund box ??
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
Mroofka
Guru
Guru


Joined: 25 Jan 2005
Posts: 369
Location: Poland

PostPosted: Sun Jan 29, 2006 7:01 pm    Post subject: [HTB] Fair internet sharing betwen server and secund box ?? Reply with quote

Hi

I have a problem with figuring out how to share internet connection betwen 2 computers. One of them is my box with gentoo and other is coneccted to it by eth1. I'm using nat ofcourse. I don't know how to split my connection becouse the packets to my box doesn't pass the eth1. I can of course set the rate and celi form the secund box connected to eth1 but then barrow/lent mechanism wont work betwen server and other comp becouse they aren't in the same parent qdisc class...
I hope that I explain my problem enough to understand it :P.

Have anyone some suggestion how to set it up??


Pozdrawiam
_________________
"Make install not love"
registred linux User # 379143

"Ready for Anything; Prepared for everything; Surprised by Nothing !"
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Sun Jan 29, 2006 7:27 pm    Post subject: Reply with quote

I take it that you want to shape download bandwidth. You can do that, but keep in mind that shaping / prioritizing upload bandwidth is much more important than what you download, since you hardly have any influence over what other people send you. That said, you could try your luck with IMQ, which emulates a virtual device that can be used for shaping packets. With it you can put all received packets onto this virtual device and shape them there using HTB. However, a simple ingress queue that drops anything that comes in too fast (to make sure that no queues build up on the ISP side) may be just as effective.
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