Re: Bandwidth Management per client

PD <[email protected]>
Newsgroups gmane.network.nocat
Message-ID <[email protected]>
Dear all,

According to my previous question, I still have a little bit confuse about how to use dummynet.

The reference use is : http://info.iet.unipi.it/~luigi/ip_dummynet/

The snipped is :
These rules limit inbound traffic to 300Kbit/s for each host on your network 10.1.2.0/24. 
    ipfw add pipe 2 ip from any to 10.1.2.0/24
    ipfw pipe 2 config bw 300Kbit/s queue 20 mask dst-ip 0x000000ff
If you want all machines to share evenly a single link, you should use instead: 
    ipfw add queue 1 ip from any to 10.1.2.0/24
    ipfw queue 1 config weight 5 pipe 2 mask dst-ip 0x000000ff
    ipfw pipe 2 config bw 300Kbit/s

question :
if I want to allocate 64 Kbps downstream and 32 Kbps upstream per user to network 192.168.105.192/29 and each user are allowed to share their single bandwidth to other computer, what is the proper syntax ?

Thx in advance

PD
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.