All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Shaping traffic bound for the NAT'ed networks whithout imq
@ 2006-01-10 13:02 Flemming Frandsen
  2006-01-11  0:45 ` Andy Furniss
  2006-01-11 12:21 ` [LARTC] Shaping traffic bound for the NAT'ed networks whithoutimq Flemming Frandsen
  0 siblings, 2 replies; 3+ messages in thread
From: Flemming Frandsen @ 2006-01-10 13:02 UTC (permalink / raw)
  To: lartc

I'm trying to set up a shaper that can shape the inbound traffic to around
40 subnets, that hang on 3 different interfaces of the router.

As Linux can't do ingress shaping I'm left with having to set up 3
seperate shapers, one for each internal interface.

This is not completely optimal as I'll have to limit each of the 3
interfaces to 1/3 of the total downstream bandwidth of the ADSL, leaving
users unhappy with performance and if a user happens to be on the same
segment as a leecher then he gets hit, but not everyone else.

I've thought about using IMQ, but it's not available in the standard
kernel, and I'd really hate to have to reboot the router as it's
inaccessible and any  breakdown would piss off the users.

I have two questions:
1) I compiled IMQ as a module and inserted it, but I couldn't "ifconfig
imq0 up" or anything else with it, any idea what I might be doing wrong?

2) Is there any alternative to using IMQ to get all the inbound traffic
shaped at once?




-- 
Flemming Frandsen, NrVissing.Net administrator.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Shaping traffic bound for the NAT'ed networks whithout imq
  2006-01-10 13:02 [LARTC] Shaping traffic bound for the NAT'ed networks whithout imq Flemming Frandsen
@ 2006-01-11  0:45 ` Andy Furniss
  2006-01-11 12:21 ` [LARTC] Shaping traffic bound for the NAT'ed networks whithoutimq Flemming Frandsen
  1 sibling, 0 replies; 3+ messages in thread
From: Andy Furniss @ 2006-01-11  0:45 UTC (permalink / raw)
  To: lartc

Flemming Frandsen wrote:
> I'm trying to set up a shaper that can shape the inbound traffic to around
> 40 subnets, that hang on 3 different interfaces of the router.
> 
> As Linux can't do ingress shaping I'm left with having to set up 3
> seperate shapers, one for each internal interface.
> 
> This is not completely optimal as I'll have to limit each of the 3
> interfaces to 1/3 of the total downstream bandwidth of the ADSL, leaving
> users unhappy with performance and if a user happens to be on the same
> segment as a leecher then he gets hit, but not everyone else.
> 
> I've thought about using IMQ, but it's not available in the standard
> kernel, and I'd really hate to have to reboot the router as it's
> inaccessible and any  breakdown would piss off the users.
> 
> I have two questions:
> 1) I compiled IMQ as a module and inserted it, but I couldn't "ifconfig
> imq0 up" or anything else with it, any idea what I might be doing wrong?
> 
> 2) Is there any alternative to using IMQ to get all the inbound traffic
> shaped at once?

Yes (depending on exact setup/requirements) - it's just gone in the 
latest net tree it's called ifb.

http://www.mail-archive.com/netdev%40vger.kernel.org/msg05208.html


AIUI if you have a recent kernel you should be able to build it as a 
stand alone module.

Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Shaping traffic bound for the NAT'ed networks whithoutimq
  2006-01-10 13:02 [LARTC] Shaping traffic bound for the NAT'ed networks whithout imq Flemming Frandsen
  2006-01-11  0:45 ` Andy Furniss
@ 2006-01-11 12:21 ` Flemming Frandsen
  1 sibling, 0 replies; 3+ messages in thread
From: Flemming Frandsen @ 2006-01-11 12:21 UTC (permalink / raw)
  To: lartc

> Yes (depending on exact setup/requirements) - it's just gone in the
> latest net tree it's called ifb.
>
> http://www.mail-archive.com/netdev%40vger.kernel.org/msg05208.html

Hmm, this sounds interesting, although it would mean upgrading the kernel
to 2.6 on a router that's hard to get to physically if something goes
wrong.

I'll just keep going with 2.4 and the suboptimal shaper until I have
access to the serial console on the machine (which means installing a
second soekris at the same location.

-- 
Flemming Frandsen, NrVissing.Net administrator.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-11 12:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-10 13:02 [LARTC] Shaping traffic bound for the NAT'ed networks whithout imq Flemming Frandsen
2006-01-11  0:45 ` Andy Furniss
2006-01-11 12:21 ` [LARTC] Shaping traffic bound for the NAT'ed networks whithoutimq Flemming Frandsen

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.