Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a network with several computers all on the same network and since I have very limited bandwidth I would like to prioritize traffic almost like a CPU scheduler prioritize processes.

Example: Computer A: Used for webstuff: YouTube, downloads, news, emails etc. Computer B: Transferring files over HTTP Computer C: Transferring files over ftp, rsync whatever

What I would like to do is to give A up to for example 90% of the available bandwidth IF A requires it. The leftovers (10%) is divided between B and C (5% each if both is busy) If A is not utilizing all bandwidth then of course B and C should share the full bandwidth (50% each as long as both are maxing out their bandwidth).

All computers are on the same network (192.168.1.0 - 192.168.1-10 for example).

Appreciate if anyone could shed some light on how I should set up my network to achieve this. To be honest I actually need a step by step guide on how I should set this up.

Network setup: (ADSL modem configured in bridge mode (1500kbps/300kbps))

[ADSL modem (bridge)]<->[pfsense2.0]<->[switch]<->[Computer A,B,C...etc]

share|improve this question
    
From your tags I can see that you have already found out about QoS, which is a router-side setting. How to use it is highly dependent upon your exact router model and the exact operating systems on computers A,B and C. To get a useful answer to your question, better add that info to your post. –  harrymc Oct 16 '11 at 18:51
    
harrymc: I fail to understand why this is relevant if for example computer A and B both are downloading a huge file on port 80 or 81 for example. I want to make sure A always is prioritized. I'll add the info if you wish but could you please take the time to explain to me why this kind of info is relevant in this situation? –  Waxhead Oct 19 '11 at 21:21
    
This is to know if the router can do QoS and how. The OS of the computers involved might also have an impact on what is possible to do. –  harrymc Oct 20 '11 at 6:38
    
Speedtouch WL750 ADSL bridge mode, Pfsense 2.0, Windows XP and several Debian Squeeze installations. –  Waxhead Oct 20 '11 at 21:47
    
I can only find Speedtouch TCW750. Is that it ? If you have a link towards its manual, please add it. –  harrymc Oct 21 '11 at 6:11

1 Answer 1

The 780WL is very complex, but its QoS does not seem to do the job. Its firmware is encrypted and so protected against installation of a more evolved firmware such as DD-WRT or OpenWRT that can do priorities. Therefore the solution is not here.

On the other side, pfSense does seem to support QoS. It has the concept of Traffic Shaping, described in the Traffic Shaping Guide. This allows you to setup rules, called "limiters", that can guarantee bandwidth. Limiters are setup by creating them under "Firewall > Traffic Shaper", on the Limiters tab.

Limiter rules seem to be based principally on the source address or the destination address (IP). This will probably force you to discard the DHCP and assign static IP addresses to the computers, to be able to use these addresses in the rules.

Not having your environment, I cannot supply a step by step guide. However, the documentation seems useful and contains useful links at the end. For points that remain unclear you could either google or search in the pfSense Forums or post there your own questions.

share|improve this answer
    
I already have static ip's for all my systems. I am also aware of the traffic shaper and the limiters. I have also posted a question (or two) at pfsense forums without getting a answer to my specific questions. On IRC people also claims that pfsense can be configured to do what I ask for but no one seems to be willing (or able) to explain how. This is exactly the reason my question is labeled pfsense 2.0 traffic priority. Thanks for your efforts anyway. –  Waxhead Oct 22 '11 at 17:24
    
I am afraid that you will have to find out how to use pfSense by yourself, maybe by examining the source code and even fixing the bugs (that's open source for you). Just a suggestion: To simplify your life it might be worth-while replacing router+pfSense+switch by one new router (in that case choose one on which DD-WRT can be easily installed). –  harrymc Oct 22 '11 at 18:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.