All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Traffic shaping and IP aliases
@ 2004-01-23  9:15 Remus
  2004-01-23 10:52 ` Gordan Bobic
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Remus @ 2004-01-23  9:15 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

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?


Thanks in advance

Remus





[-- Attachment #2: Type: text/html, Size: 1483 bytes --]

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

* Re: [LARTC] Traffic shaping and IP aliases
  2004-01-23  9:15 [LARTC] Traffic shaping and IP aliases Remus
@ 2004-01-23 10:52 ` Gordan Bobic
  2004-01-23 16:54 ` Mike
  2004-01-23 16:56 ` Mike
  2 siblings, 0 replies; 4+ messages in thread
From: Gordan Bobic @ 2004-01-23 10:52 UTC (permalink / raw)
  To: lartc

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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* RE: [LARTC] Traffic shaping and IP aliases
  2004-01-23  9:15 [LARTC] Traffic shaping and IP aliases Remus
  2004-01-23 10:52 ` Gordan Bobic
@ 2004-01-23 16:54 ` Mike
  2004-01-23 16:56 ` Mike
  2 siblings, 0 replies; 4+ messages in thread
From: Mike @ 2004-01-23 16:54 UTC (permalink / raw)
  To: lartc

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:lartc@bobich.net]
> Sent: Friday, January 23, 2004 5:52 AM
> To: lartc@mailman.ds9a.nl
> 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 / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* RE: [LARTC] Traffic shaping and IP aliases
  2004-01-23  9:15 [LARTC] Traffic shaping and IP aliases Remus
  2004-01-23 10:52 ` Gordan Bobic
  2004-01-23 16:54 ` Mike
@ 2004-01-23 16:56 ` Mike
  2 siblings, 0 replies; 4+ messages in thread
From: Mike @ 2004-01-23 16:56 UTC (permalink / raw)
  To: lartc

Yes:

http://www.mail-archive.com/lartc@mailman.ds9a.nl/msg07410.html

search for the text "alias"

bummer.

Mike.

> -----Original Message-----
> From: Gordan Bobic [mailto:lartc@bobich.net]
> Sent: Friday, January 23, 2004 5:52 AM
> To: lartc@mailman.ds9a.nl
> 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 / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2004-01-23 16:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-23  9:15 [LARTC] Traffic shaping and IP aliases Remus
2004-01-23 10:52 ` Gordan Bobic
2004-01-23 16:54 ` Mike
2004-01-23 16:56 ` Mike

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.