RE: [LARTC] Traffic shaping and IP aliases

2004-01-23 Thread Mike
Yes:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg07410.html

search for the text "alias"

bummer.

Mike.

> -Original Message-
> From: Gordan Bobic [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 23, 2004 5:52 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [LARTC] Traffic shaping and IP aliases
> 
> On Friday 23 Jan 2004 09:15, Remus wrote:
> > Hi folks,
> >
> >
> > I have the traffic shaping (HTB and IMQ) on my eth0 (of course no
> > problems with it). And now I would like add some extra IPs on it (
> > ifconfig eth0:0 xxx.xxx.xxx.xxx and ifconfig eth0:1
xxx.xxx.xxx.xxx).
> >
> > So do I have to set up a new tc rools ( tc qdisc add dev eth0:0 root
> > handle 1: htb default 20 r2q 5 ...) for the eth0:0 and eth0:1 or can
> > still be only tc rules for the eth0?
> 
> I've been wondering about the same thing recently. :-)
> 
> As far as I have managed to find, the only way to do this is to set up
> dummy devices pointed at the real interface, and shape those instead.
I
> haven't had a chance to try it yet, though...
> 
> Gordan
> ___
> LARTC mailing list / [EMAIL PROTECTED]
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


RE: [LARTC] Traffic shaping and IP aliases

2004-01-23 Thread Mike
Can you even shape on aliases?  I thought you could only shape on the
actual device.  Why not shape on the source or destination IP?

Mike.

> -Original Message-
> From: Gordan Bobic [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 23, 2004 5:52 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [LARTC] Traffic shaping and IP aliases
> 
> On Friday 23 Jan 2004 09:15, Remus wrote:
> > Hi folks,
> >
> >
> > I have the traffic shaping (HTB and IMQ) on my eth0 (of course no
> > problems with it). And now I would like add some extra IPs on it (
> > ifconfig eth0:0 xxx.xxx.xxx.xxx and ifconfig eth0:1
xxx.xxx.xxx.xxx).
> >
> > So do I have to set up a new tc rools ( tc qdisc add dev eth0:0 root
> > handle 1: htb default 20 r2q 5 ...) for the eth0:0 and eth0:1 or can
> > still be only tc rules for the eth0?
> 
> I've been wondering about the same thing recently. :-)
> 
> As far as I have managed to find, the only way to do this is to set up
> dummy devices pointed at the real interface, and shape those instead.
I
> haven't had a chance to try it yet, though...
> 
> Gordan
> ___
> LARTC mailing list / [EMAIL PROTECTED]
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] Traffic shaping and IP aliases

2004-01-23 Thread Gordan Bobic
On Friday 23 Jan 2004 09:15, Remus wrote:
> Hi folks,
>
>
> I have the traffic shaping (HTB and IMQ) on my eth0 (of course no
> problems with it). And now I would like add some extra IPs on it (
> ifconfig eth0:0 xxx.xxx.xxx.xxx and ifconfig eth0:1 xxx.xxx.xxx.xxx).
>
> So do I have to set up a new tc rools ( tc qdisc add dev eth0:0 root
> handle 1: htb default 20 r2q 5 ...) for the eth0:0 and eth0:1 or can
> still be only tc rules for the eth0?

I've been wondering about the same thing recently. :-)

As far as I have managed to find, the only way to do this is to set up 
dummy devices pointed at the real interface, and shape those instead. I 
haven't had a chance to try it yet, though...

Gordan
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/