Hi, I''m new to the list. I intend to learn about some Linux Networking features to help myself and others. I''m looking to control the bandwidth in my office. Basically there are like 20 computers, a 2MB Adsl Line. And I would love to let them only use a certain amount of bandwidth. For example let every client use 20KB of internet bandwidth of the 210KB we can download at. I heard this is done with shaper, QoS and some configs in the kernel. Learning about this, would be part of the end of my transitition of moving from MS, to Linux Servers. (I still need more to know about of Course) I''m currently doing MASQ to provide NAT to the clients, aDSL gives Dynamic ip for the external adapter and internal adapter does the MASQ, NAT and DHCP. This is a Debian Sid Box, 2.6.8 with Intel PRO/100 Adapters. If someone could give me an Easy HOW-TO and to please tell me which QoS supports I need, I''ll be more than happy. Any additional information you think I should have, please let me know. Sorry for all the crapp talk. Thanks for the time, it is greatly appreciated. - Alex _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Witam You have a typical situation. Modem, router and small LAN. Google is your answer :) Start at http://lartc.org/ and read Linux Advanced Routing & Traffic Control HOWTO. -- Pozdrawiam Marcin, slacklist@op.pl _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Alejandro Bonilla wrote:> Hi, > > I''m new to the list. I intend to learn about some Linux Networking > features to help myself and others. > > I''m looking to control the bandwidth in my office. Basically there are > like 20 computers, a 2MB Adsl Line. And I would love to let them only > use a certain amount of bandwidth. For example let every client use 20KB > of internet bandwidth of the 210KB we can download at. I heard this is > done with shaper, QoS and some configs in the kernel. > > Learning about this, would be part of the end of my transitition of > moving from MS, to Linux Servers. (I still need more to know about of > Course) > > I''m currently doing MASQ to provide NAT to the clients, aDSL gives > Dynamic ip for the external adapter and internal adapter does the MASQ, > NAT and DHCP. > > This is a Debian Sid Box, 2.6.8 with Intel PRO/100 Adapters.I think you will need to patch this to use TC http://www.linuxhq.com/kernel/v2.6/9-rc2/net/sched/sch_api.c> > If someone could give me an Easy HOW-TO and to please tell me which QoS > supports I need, I''ll be more than happy.www.docum.org is a good place to start Andy. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi, I''m trying shaper, 2.6.8 kernel, with almost all the QoS inherited in the kernel. I have debian Sid, with latest everything, I could say. I commented out CBQ_PROBE=" " to use Inherited kernel support. Only problem is that the client, which is the test one, 192.168.10.10 can still download at 100kb Per Second(My bandwidth) router:~# cat /etc/shaper/cbq-160.down DEVICE=eth0,100Mbit,10Mbit RATE=160Kbit WEIGHT=10Kbit PRIO=5 RULE=192.168.10.10 router:~# /etc/init.d/shaper compile /sbin/tc qdisc del dev eth0 root /sbin/tc qdisc add dev eth0 root handle 1 cbq bandwidth 100Mbit avpkt 1000 cell 8 /sbin/tc class change dev eth0 root cbq weight 10Mbit allot 1514 /sbin/tc class add dev eth0 parent 1: classid 1:160 cbq bandwidth 100Mbit rate 160Kbit weight 10Kbit prio 5 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded /sbin/tc qdisc add dev eth0 parent 1:160 handle 160 tbf rate 160Kbit buffer 10Kb/8 limit 15Kb mtu 1500 /sbin/tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst 192.168.10.10 classid 1:160 echo "shaper." Starting CBQ traffic shaping: RTNETLINK answers: No such file or directory shaper. Thanks!!! _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/