From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bob Huang" Date: Fri, 21 Jun 2002 06:06:23 +0000 Subject: [LARTC] Rshaper Weirdness MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_002D_01C218AF.18DEC030" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_002D_01C218AF.18DEC030 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, guys, I am trying to get rshaper 2.01 to work on our Redhat 6.2 = servers, but it does not seem to be able to control the bandwidth usage, = here are the details, 1. Our production servers are all Redhat 6.2 with Kernel 2.2.19-6.2.12, = the software we use are customized specifically for RH6.2, so I can't = upgrade to 2.4 kernel. 2. On my test server with the same RH6.2 and kernel (it has a sigle = Intel EtherExpress NIC), I compiled the rshaper.o module and modified = the network driver (eepro100.c), make modules, install the new = eepro100.o, and went through=20 insmod rshaper then=20 rshaperctl 192.168.1.10 10000 10 It's a single NIC on an internal network (192.168.1.0/24) It was able to control the incoming bandwidth to 10kBytes per second = successfully - I tried downloading a 10MB file. 3. Then I did the exact same thing on one of our production servers - = compile, modify eepro100.c (it has two identical Intel EtherExpress = NICs, eth0 on the external network 64.54.185.0/24, eth1 on the internal = network 192.168.1.0/24), make modules, install new eepro100.o, insmod, = then tried rshaperctl 64.54.185.66 10000 10 on the external interface. But the bandwidth control didn't work here - = took only 3 seconds to download the 10MB file through eth0. Why rshaper works on the test server but NOT the production server? I am = baffled, the only difference between the two is that the production = server has an extra NIC, is that enough to cause rshaper not working? = Thanks much. Bob ------=_NextPart_000_002D_01C218AF.18DEC030 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello, guys, I am trying to get rshaper = 2.01 to=20 work on our Redhat 6.2 servers, but it does not seem to be able to = control the=20 bandwidth usage, here are the details,
1. Our production servers are all = Redhat 6.2 with=20 Kernel 2.2.19-6.2.12, the software we use are customized specifically = for RH6.2,=20 so I can't upgrade to 2.4 kernel.
2. On my test server with the same = RH6.2 and kernel=20 (it has a sigle Intel EtherExpress NIC), I=20 compiled the rshaper.o module and modified the network driver = (eepro100.c), make=20 modules, install the new eepro100.o, and went through
insmod rshaper
then
rshaperctl 192.168.1.10 10000 = 10
It's a single NIC on an internal = network=20 (192.168.1.0/24)
It was able to control the = incoming bandwidth=20 to 10kBytes per second successfully - I tried downloading a 10MB=20 file.
3. Then I did the exact same thing on = one of our=20 production servers - compile, modify eepro100.c (it has two identical = Intel=20 EtherExpress NICs, eth0 on the external network 64.54.185.0/24, eth1 on = the=20 internal network 192.168.1.0/24), make modules, install new=20 eepro100.o, insmod, then tried
rshaperctl 64.54.185.66 10000 = 10
on the external interface. But the bandwidth control didn't work here - took only 3 = seconds to=20 download the 10MB file through eth0.
Why rshaper works on the test server = but NOT the=20 production server? I am baffled, the only difference between the two is = that the=20 production server has an extra NIC, is that enough to cause rshaper not = working?=20 Thanks much.
 
Bob
 
------=_NextPart_000_002D_01C218AF.18DEC030-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/