From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alin Nonosel" Date: Tue, 24 Aug 2004 15:16:26 +0000 Subject: Re: [LARTC] imq question Message-Id: <000f01c48a3f$119c5f90$195a09c2@alin> MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_000C_01C48A04.65365BA0" List-Id: References: In-Reply-To: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C48A04.65365BA0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Hmm.. After a few hour of reading and testing finally it's working. IMQ = upload limiting and tc with ip filter. What do you mean by that? It is = working.. And so far seems stable.. ----- Original Message -----=20 From: Roy=20 To: Alin Nonosel ; lartc@mailman.ds9a.nl=20 Sent: Monday, August 23, 2004 6:45 AM Subject: Re: [LARTC] imq question You cant shape router upload or imq will crash. also that imq will not be able to shape traffic per each loacal ip = with filters, but you can easily mark packets with iptables in forward = of prerouting chain. ----- Original Message -----=20 From: Alin Nonosel=20 To: lartc@mailman.ds9a.nl=20 Sent: Tuesday, August 24, 2004 1:32 AM Subject: [LARTC] imq question Hi I've a stupid question. How can I shape upload using IMQ? Instead of putting a rule in iptables in PREROUTING should i use = POSTROUTING? And another question is, can I make routing rule based on ip = addresses assigned by iptables to an imq device? The idea is, let's say i have some rules in iptables like: -t mangle = -A PREROUTING -s 192.168.0.0/16 -j IMQ --todev 0 Can i route this class thru another ip, something like fwmark is = doing? with iptables marking the packets and ip rule fwmark? Best regards, Alin ------=_NextPart_000_000C_01C48A04.65365BA0 Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable
Hmm.. After a few hour of reading and = testing=20 finally it's working. IMQ upload limiting and tc with ip filter. What do = you=20 mean by that? It is working.. And so far seems stable..
 
----- Original Message -----
From:=20 Roy
Sent: Monday, August 23, 2004 = 6:45=20 AM
Subject: Re: [LARTC] imq = question

You cant shape router upload or imq = will=20 crash.
also that imq will not be able to = shape traffic=20 per each loacal ip with filters, but you can easily mark packets = with=20 iptables in forward of prerouting chain.
 
 
 
----- Original Message -----
From:=20 Alin = Nonosel
Sent: Tuesday, August 24, = 2004 1:32=20 AM
Subject: [LARTC] imq = question

Hi
 
I've a stupid question. How can I = shape upload=20 using IMQ?
Instead of putting a rule in = iptables in=20 PREROUTING should i use POSTROUTING?
And another question is, can I make = routing=20 rule based on ip addresses assigned by iptables to an imq = device?
The=20 idea is, let's say i have some rules in iptables like: -t mangle -A=20 PREROUTING -s 192.168.0.0/16 -j IMQ --todev 0
Can i route this class thru another = ip,=20 something like fwmark is doing? with iptables marking the packets = and ip=20 rule fwmark?
 
Best regards,
Alin
 
<= /BODY> ------=_NextPart_000_000C_01C48A04.65365BA0-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/