Hi, i don''t know if anyone can help me. I Have and Linux RedHat 9.0 machine, where i have installed the wondershaper script to limit my inbound internet speed. And on the Linux it works fine, but then i have an Windows machine that uses the linux machine to get to the internet. And this on this machine the script does not seam to have any impact. I''m trying to limit my upload speed. If i upload a file from the linux machine my max speed is 9Kbit, but on the windows its 40Kbit. Can anyone help?? _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Fri, Jul 04, 2003 at 03:23:10PM +0200, Rudi Hansen wrote:> I Have and Linux RedHat 9.0 machine, where i have installed the wondershaper > script to limit my inbound internet speed.Your message does not entirely make sense. Here you are talking about inbound.> If i upload a file from the linux machine my max speed is 9Kbit, but on the > windows its 40Kbit.This is about outbound. So I''m not entirely sure what you mean. Make sure you run the wondershaper on the correct interface though. Good luck. -- http://www.PowerDNS.com Open source, database driven DNS Software http://lartc.org Linux Advanced Routing & Traffic Control HOWTO _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> Your message does not entirely make sense. Here you are talking about > inbound.Ok let''s se if I can explain it properly. I have a small home network with an ADSL router fore my internet connection, and some computers all connected to the ADSL Router through a switch. Now my problem is that I would like to be able to restrict the internet bandwidth on some of my machines. Now I have used The Wonder Shaper script to restrict the bandwidth on my Linux machine, and it works on that machine. But now my problem is if I setup one of my Windows machines to use the Linux machine as gateway, but I can still access the internet with full bandwidth from that machine. Now what am I doing wrong? _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> -----Original Message----- > From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]On > Behalf Of Rudi Hansen > Sent: Sunday, July 06, 2003 5:27 PM > To: lartc@mailman.ds9a.nl > Cc: bert hubert > Subject: Re: [LARTC] The Wonder Shaper problem > > > > Your message does not entirely make sense. Here you are talking about > > inbound. > > Ok let''s se if I can explain it properly. > > I have a small home network with an ADSL router fore my internet connection, > and some computers all connected to the ADSL Router through a switch. > > Now my problem is that I would like to be able to restrict the internet > bandwidth on some of my machines. > > Now I have used The Wonder Shaper script to restrict the bandwidth on my > Linux machine, and it works on that machine. > > But now my problem is if I setup one of my Windows machines to use the Linux > machine as gateway, but I can still access the internet with full bandwidth > from that machine. > > Now what am I doing wrong?If I understand the topology of your network correctly, all packets coming from the Internet through your ADSL router come back in onto your network and travel directly to the Windows machines without passing the linux router. That''s why they are not shaped. One solution would be to put your linux router in between the ADSL router and your client network. You''ll need to add a network card to you linux router, modify routing on the ADSL router to reach your client network, and point the default gateway on the linux router to the ADSL router. In that case you are no longer using the ADSL router as a network address translating router but simply as an ADSL modem. -- Vik _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> > I have a small home network with an ADSL router fore my internetconnection,> > and some computers all connected to the ADSL Router through a switch. > One solution would be to put your linux router in between the ADSL routerand> your client network. You''ll need to add a network card to you linuxrouter,> modify routing on the ADSL router to reach your client network, and pointthe> default gateway on the linux router to the ADSL router. > > In that case you are no longer using the ADSL router as a network address > translating router but simply as an ADSL modem.Is that really the only way it can be done? I would really like to be able to do this without putting the Linux machine between the network and my ADSL Router. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Rudi Hansen wrote:> Is that really the only way it can be done? > I would really like to be able to do this without putting the Linux machine > between the network and my ADSL Router. >For the linux box to do the shaping, all the traffic must go in to, and out of its interfaces. There''s a small chance you might be able to get away with using a single network card and aliased interfaces in the linux machine, but this would make traffic shaping much more difficult than it needs to be (and probably slower too). -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: damion@snapgear.com SnapGear --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web: http://www.snapgear.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Sun, Jul 06, 2003 at 05:26:53PM +0200, Rudi Hansen wrote:> > Your message does not entirely make sense. Here you are talking about > > inbound. > > Ok let''s se if I can explain it properly. > > > > I have a small home network with an ADSL router fore my internet connection, > and some computers all connected to the ADSL Router through a switch. > > > > Now my problem is that I would like to be able to restrict the internet > bandwidth on some of my machines. > > > > Now I have used The Wonder Shaper script to restrict the bandwidth on my > Linux machine, and it works on that machine. > > > > But now my problem is if I setup one of my Windows machines to use the Linux > machine as gateway, but I can still access the internet with full bandwidth > from that machine.Ah, I get it. You need to disable icmp redirects, your linux box is sending the windows machine directly to the adsl router! Check out /proc/sys/net something or order. Good luck!> > > > Now what am I doing wrong?-- http://www.PowerDNS.com Open source, database driven DNS Software http://lartc.org Linux Advanced Routing & Traffic Control HOWTO _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/