"pipe sharing program", something like cbq

=?unknown-8bit?Q?S=EAr=EAciya_Kurdistan=EE?= sereciya at kurdistan.ath.cx
Sun Apr 13 15:02:13 PDT 2003


Hello,

  Cross-posting is frowned upon, please don't do it! 

> I'm looking a program that can do the following stuff:
> 
> If I have 5 clients, each of them with 64k pipe and all of them share a
> 256k pipe. And at a certain time some of the clients are using their full
> 64k capacity and the others are using not pretty much (like just browsing
> sites or just idling), so the program should notice that and get some from
> the 64k pipe of each idler and share it through the rest of active users.

  I'm not sure what you mean, but you'll need to use ipfw + dummynet.

  A sample configuration would be:

  ipfw pipe 1 config bw 64Kbit/s noerror

           ...or...  depends on what "k" you mean

  ipfw pipe 1 config bw 64Kbyte/s noerror
  ipfw pipe 2 config bw 64Kbyte/s noerror
         ...

  ipfw add pipe 1 host1 to any
  ipfw add pipe 2 host2 to any
            ...    ...

  Hope that helps.

-- 
+--------------------------------------------------------------+
| Welat xwe ava nake, dest bidin hevdu, pist nedin tu dijminî  |
|   Riya azadiyê ne hêsan e, hêviya xwe bernedin, dema me      |
|     nêzîk e.                                                 |
|                                                              |
| Hevaltî bi kesên du rû nekin, hevaltî bi hevdu ra bikin      |
|   Ne ji hevaltiya wan kesên pêxwas û rû dirêj, ne bi wan     |
|     kesên xwînperest, ne jî ji yên din.                      |
|                                                              |
|                                   -$êrêciya Kurdistanî       |
+--------------------------------------------------------------+
  translation provided on request: sereciya at kurdistan.ath.cx


More information about the freebsd-isp mailing list