Hello all Another newbie here :) I have a linux box setup with two NICs eth0 is 100mbit internal lan (192.168.100.*) eth1 is 10mbit internet On the linux box there is a ftp server and web server. I want to somehow priority the traffic from the internal lan over any traffic that is on the ftp and web server. I want to be able to have low ping with telnet/ssh/irc/web/ftp and various online games (quake and such) and at the same time let the ftp/web server take whatever bandwidth that is available when the local network isnt using any bandwidth. Is there anyone who could give me some pointers as where to start? I have checked out some scripts for adsl connections but to me it looks like they reserve bandwidth for ssh type of services and other services is unable to use the spare bandwidth when that is unused. -- Best regards, gatur mailto:gatur@swipnet.se _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Monday 07 July 2003 10:34, gatur@swipnet.se wrote:> Hello all > > Another newbie here :) > > I have a linux box setup with two NICs > eth0 is 100mbit internal lan (192.168.100.*) > eth1 is 10mbit internet > > On the linux box there is a ftp server and web server. > I want to somehow priority the traffic from the internal lan > over any traffic that is on the ftp and web server. > > I want to be able to have low ping with telnet/ssh/irc/web/ftp and various > online games (quake and such) and at the same time let the ftp/web server > take whatever bandwidth that is available when the local network isnt > using any bandwidth. > > Is there anyone who could give me some pointers as where to start? > I have checked out some scripts for adsl connections but to me it > looks like they reserve bandwidth for ssh type of services and other > services is unable to use the spare bandwidth when that is unused.Some tips. You can use htb to create different classes so the classes can use unused bandwidt from each other. You have to do this twice : htb can only shape outgoing bandwidth. Putting the traffic in the classes can be tricky, but www is easy to do. ftp data is not so easy. Check out www.docum.org, maybe the info on it can help you. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hell Stef..Martin, I would love it if others could use the final scripts sent across yesterday i have done using htb + u32 as a benchmark. It incorporates a lot of input from you all and a large amount of r and d to achieve the simple but high performance configuration. Lemme know...;) Trevor On Mon, 2003-07-07 at 15:51, Stef Coene wrote:> On Monday 07 July 2003 10:34, gatur@swipnet.se wrote: > > Hello all > > > > Another newbie here :) > > > > I have a linux box setup with two NICs > > eth0 is 100mbit internal lan (192.168.100.*) > > eth1 is 10mbit internet > > > > On the linux box there is a ftp server and web server. > > I want to somehow priority the traffic from the internal lan > > over any traffic that is on the ftp and web server. > > > > I want to be able to have low ping with telnet/ssh/irc/web/ftp and various > > online games (quake and such) and at the same time let the ftp/web server > > take whatever bandwidth that is available when the local network isnt > > using any bandwidth. > > > > Is there anyone who could give me some pointers as where to start? > > I have checked out some scripts for adsl connections but to me it > > looks like they reserve bandwidth for ssh type of services and other > > services is unable to use the spare bandwidth when that is unused. > Some tips. You can use htb to create different classes so the classes can use > unused bandwidt from each other. You have to do this twice : htb can only > shape outgoing bandwidth. Putting the traffic in the classes can be tricky, > but www is easy to do. ftp data is not so easy. > > Check out www.docum.org, maybe the info on it can help you. > > Stef-- ( >- LINUX, It''s all about CHOICE -< ) /~\ __ twarren@redhat.com __ /~\ | \) / Pre Sales Consultant - Red Hat \ (/ | |_|_ \ 9820349221(M) | 22881326(O) / _|_| \___________________________________/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/