All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bob Huang" <bob@bobhuang.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Rshaper Weirdness
Date: Fri, 21 Jun 2002 06:06:23 +0000	[thread overview]
Message-ID: <marc-lartc-102463965521553@msgid-missing> (raw)

[-- Attachment #1: Type: text/plain, Size: 1493 bytes --]

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 
insmod rshaper
then 
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


[-- Attachment #2: Type: text/html, Size: 2519 bytes --]

             reply	other threads:[~2002-06-21  6:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-21  6:06 Bob Huang [this message]
2002-06-21  7:08 ` [LARTC] Rshaper Weirdness Stef Coene
2002-06-21  7:53 ` Bob Huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-102463965521553@msgid-missing \
    --to=bob@bobhuang.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.