From: bert hubert <ahu@ds9a.nl>
To: Benson Chow <blc+lkml-post@q.dyndns.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: traffic shaper in 2.4.18 working?
Date: Sun, 28 Jul 2002 22:20:08 +0200 [thread overview]
Message-ID: <20020728202007.GA19742@outpost.ds9a.nl> (raw)
In-Reply-To: <Pine.LNX.4.44.0207281337330.1415-100000@q.dyndns.org>
On Sun, Jul 28, 2002 at 01:56:49PM -0600, Benson Chow wrote:
> (initial conditions)
> I have two existing IP addresses on eth0 belonging to the same subnet as a
> virtual host. This machine is a dual CPU box at 450MHz with an Intel
> EtherPro 100.
>
> (what I've done)
> I've executed:
> shapecfg attach shaper0 eth0
> shapecfg speed shaper0 19000
> ifconfig shaper0 10.0.0.80
>
> However, it seems whenever I subsequently connect to this
> machine's 10.0.0.80 from another machine, it still transmits at full
> bandwidth of the media and not the 19K (Bytes/sec?) that I expect?
>
> Is this a proper usage of this device or is it a bug?
Add a route to your remote machine via shaper0 and check again. Linux does
not automatically route traffic with the source address of an interface out
over that interface. This is not a bug. If you want to force this, use
policy routing.
See http://lartc.org/howto/lartc.rpdb.html
Regards,
bert hubert
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
next prev parent reply other threads:[~2002-07-28 20:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-28 19:56 Benson Chow
2002-07-28 20:20 ` bert hubert [this message]
2002-07-29 0:34 ` Alan Cox
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=20020728202007.GA19742@outpost.ds9a.nl \
--to=ahu@ds9a.nl \
--cc=blc+lkml-post@q.dyndns.org \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®