From: Alexander Trotsai <mage@adamant.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Out of IMQ interfaces
Date: Tue, 08 Jul 2003 08:45:14 +0000 [thread overview]
Message-ID: <marc-lartc-105765400630378@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105761011032331@msgid-missing>
May you need mark packets with iptables and one IMQ device
with htb queue
Something like
iptables -t mangle -A PREROUTING -i intf1 -j MARK --set-mark 1
.....
iptables -t mangle -A PREROUTING -i intfN -j MARK --set-mark N
iptables -t mangle -A PREROUTING -j IMQ
And to imq0 attach HTB qdisc with shaping according to mark
value
On Mon, Jul 07, 2003 at 11:32:25PM +0300, Hasso Tepper wrote:
HT>I needed router that can do "bidirectional" shaping in interface. I'm
HT>using IMQ + TBF for that at the moment. One ethernet interface is
HT>connected to "backbone", other has many vlan's. Every vlan is
HT>"connected" to IMQ device. I have wrapper scripts for maintaining
HT>this stuff and it works like a charm.
HT>But there is problem though - router can handle more, but I'm running
HT>out of IMQ devices. Default is 16 devices, but it is possible to
HT>change it in linux/include/imq.h. Theoretical maximum is 127. There
HT>is bug is imq module btw, it refuses to accept bigger number of
HT>numdevs argument than 99. But router really can handle more.
HT>So, any ideas?
HT>1) It is router, nothing more. No any services here.
HT>2) Solution should be really simple because configuration changes
HT>really often.
HT>3) Shaping "upload" only in backbone interface isn't solution.
HT>4) No need for obvious "solutions" like - buy another box ;).
HT>regards,
HT>PS. I posted with wrong from address at first. Sorry if it would be
HT>duplicate.
HT>--
HT>Hasso Tepper
HT>Elion Enterprises Ltd.
HT>WAN administrator
HT>_______________________________________________
HT>LARTC mailing list / LARTC@mailman.ds9a.nl
HT>http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
--
Best regard, Aleksander Trotsai aka MAGE-RIPE aka MAGE-UANIC
My PGP key at ftp://blackhole.adamant.ua/pgp/trotsai.key[.asc]
Big trouble - Quantum dynamics are affecting the transistors
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-07-08 8:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-07 20:32 [LARTC] Out of IMQ interfaces Hasso Tepper
2003-07-08 2:59 ` Patrick McHardy
2003-07-08 8:45 ` Alexander Trotsai [this message]
2003-07-08 9:50 ` Hasso Tepper
2003-07-09 11:30 ` Patrick McHardy
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-105765400630378@msgid-missing \
--to=mage@adamant.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox