Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Priority for 1 PC to download - How To?
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
liutom
n00b
n00b


Joined: 30 Sep 2004
Posts: 51

PostPosted: Fri Dec 10, 2004 12:47 pm    Post subject: Priority for 1 PC to download - How To? Reply with quote

Hello !

I need some (perhaps in deep) help for following:

I´ve 2 PC´s (A&B) and 1 Router

"A" is "always on" and is user for downloading, seti webcam, webserver...
this is not my "working PC"

"B" is my prduktion system and should get all the download he can get!
Because i want fast internet when i´m browsing...
A should then get no (or only very very small) downloadspeed´s!

when i don´t download from "B" then all the bandwith shold be at my PC "A"

the switching should go automatically!

Is there any chance to get this?

Tried to search a litle bit but did not get any results for me...
only thing is the "Traffic shaper" in my kernel (but i don´t know how it works and even less how to setup)

Can perhaps anyone give me an step for step guide to do this?

Many thanks to you
Liu
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri Dec 10, 2004 12:51 pm    Post subject: Reply with quote

You cannot accomplish this on a workstation; traffic control is something that has to be done on a router.

Unless your router has very advanced capabilities - or it is a Linux box - you cannot actually do this.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
liutom
n00b
n00b


Joined: 30 Sep 2004
Posts: 51

PostPosted: Fri Dec 10, 2004 1:19 pm    Post subject: Reply with quote

hmmm....

i thought about this:

PC A "recognices" that B is transfering data
then it should be able to throttle the bandwith...

is this no way?


My router is a 35€ allnet router - it has very limited functionality :-))
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri Dec 10, 2004 2:27 pm    Post subject: Reply with quote

No, because how would that PC throttle or control the bandwidth that PC B is getting ?
Only a network device that has both data coming into it and going out can do any kind of traffic control.

Ergo, a router.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
gullyg
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2004
Posts: 105
Location: Edinburgh

PostPosted: Fri Dec 10, 2004 2:51 pm    Post subject: Reply with quote

A quick fix but you could proberbly throttle the max bandwidth on system A, however it would be throttled all the time. Also remember to throttle the uplink speed as well.
_________________
Not Y3K compliant

CPCFF
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Dec 13, 2004 8:53 am    Post subject: Reply with quote

Erm... the uplink speed is the only thing you can throttle - how would you control how much data is sent to your machine ?

The only way is to drop packets, and hope the TCP mechanism saves your arse...
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
liutom
n00b
n00b


Joined: 30 Sep 2004
Posts: 51

PostPosted: Mon Dec 13, 2004 2:17 pm    Post subject: Reply with quote

Thanx -
so i see there is no opportunity to do this!

only thing is to buy a new router with hardwaresupport for this....

(to expensive. :? )
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Dec 13, 2004 9:08 pm    Post subject: Reply with quote

Actually, if you happen to have an old 486 or (slightly better) a Pentium lying around, you can run a dedicated firewall every bit as solid as a Cisco PIX.
You need a box, a Pentium, 32 or 64 MB RAM, 2 NICs and a small HD (around 1GB is plenty).
Then download and burn ipcop and set it up.
30 minutes, tops.

Actually, you can set up any kind of Linux router you like on a small box with dual NICs, but I happen to like ipcop, as it is dead simple to use and includes a wondershaper interface for bandwidth management.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
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