TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:12053] traffic shaper



On Mon, Jan 10, 2000 at 12:35:35PM -0600, Dave Sherman wrote:
> I can attach shaper0 to either eth0 or eth1, but not both at the same
> time. I checked /var/log/messages, and found an error stating that
> device shaper1 did not exist (this was when I tried attaching shaper1
> to eth1, after attaching shaper0 to eth0). When I try to attach
> shaper0 to eth1 while it is already attached to eth0, I get the
> message
> 
> 	shaper: Device or resource busy
> 
> So I guess it only wants to attach to one device at a time. Actually,
> though, since I really only care about capping the download bandwidth,
> attaching to eth0 should be all I need. This box is a firewall to my
> lan, with eth1 connected to a T1, and eth0 to our internal hub. So if
> the output from eth0 is capped, that should effectively cap my users'
> download bandwidth. I hope. Sound good to you?

	This is an odd idea, and I have no clue if it'll actually work,
but...

	Well, looking at the manual and playing with it a bit indicates
that it won't, but here's the idea anyway.  Look for the device in the
/dev directory and use mknod to make another with a different minor
number and see what happens.  :-)

	Why ever aren't all the devices you have in the /dev directory
somewhere?  I thought that one of the tenets of the UNIX design
philosophy is that everything is a file.

Have fun (if at all possible),
-- 
Its name is Public Opinion.  It is held in reverence. It settles everything.
Some think it is the voice of God.  Loyalty to petrified opinion never yet
broke a chain or freed a human soul.     ---Mark Twain
-- Eric Hopper (hopper@omnifarious.mn.org  http://omnifarious.mn.org/~hopper) --

PGP signature