All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Interfaces basic question
@ 2005-09-29  9:52 Marius Corici
  2005-09-29 10:11 ` Andreas Klauer
  2005-09-29 10:31 ` Jandre Olivier
  0 siblings, 2 replies; 3+ messages in thread
From: Marius Corici @ 2005-09-29  9:52 UTC (permalink / raw)
  To: lartc


[-- Attachment #1.1: Type: text/plain, Size: 506 bytes --]

I have a router with only one physical ethernet cable. I know it's stupid,
but it is the network I have to use for a demo.
I have in mind to construct an HTB class tree for some network limitations
for the outgoing traffic.

The question is: can i use the HTB class mechanism on 2 subinterfaces of the
same physical network card without any interference?

Please let me know as soon as possible. I need to know if I start working on
this or I have to change the hardware.

Thank you,

Marius

[-- Attachment #1.2: Type: text/html, Size: 549 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
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] Interfaces basic question
  2005-09-29  9:52 [LARTC] Interfaces basic question Marius Corici
@ 2005-09-29 10:11 ` Andreas Klauer
  2005-09-29 10:31 ` Jandre Olivier
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Klauer @ 2005-09-29 10:11 UTC (permalink / raw)
  To: lartc

On Thursday 29 September 2005 11:52, Marius Corici wrote:
> The question is: can i use the HTB class mechanism on 2 subinterfaces of
> the same physical network card without any interference?

If you're talking about aliases like eth0:0 and eth0:1, I don't know, 
because I've never used them. It does work for other virtual interfaces 
like pppX (when it's really PPPoE going over some ethX interface).

> Please let me know as soon as possible. I need to know if I start
> working on this or I have to change the hardware.

If it doesn't work, why not just represent this structure in a single tree?
Like this:

HTB Qdisc eth0
|
\--- HTB root class (100mbit)
     |
     \--- HTB eth0:0 class (50mbit | 100mbit)
     |    |
     |    \--- The tree you wanted to put on eth0:0 goes here
     \--- HTB eth0:1 class (50mbit | 100mbit)
          |
          \--- The tree you wanted to put on eth0:1 goes here

HTH
Andreas
_______________________________________________
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] Interfaces basic question
  2005-09-29  9:52 [LARTC] Interfaces basic question Marius Corici
  2005-09-29 10:11 ` Andreas Klauer
@ 2005-09-29 10:31 ` Jandre Olivier
  1 sibling, 0 replies; 3+ messages in thread
From: Jandre Olivier @ 2005-09-29 10:31 UTC (permalink / raw)
  To: lartc

Hey Marius,

u can only run the qdisc per interface, so if u have "tc qdisc add dev 
eth0 root handle 1: htb default 30" it will be applied to eth0:0 , 
eth0:1 aliases as well

U can shape on the one interface, your iptables commands must just be 
very specific.

hope it helps

J



Marius Corici wrote:

> I have a router with only one physical ethernet cable. I know it's 
> stupid, but it is the network I have to use for a demo.
> I have in mind to construct an HTB class tree  for some network 
> limitations for the outgoing traffic.
>
> The question is: can i use the HTB class mechanism on 2 subinterfaces 
> of the same physical network card without any interference?
>
> Please let me know as soon as possible. I need to know if I start 
> working on this or I have to change the hardware.
>
> Thank you,
>
> Marius
>
>------------------------------------------------------------------------
>
>_______________________________________________
>LARTC mailing list
>LARTC@mailman.ds9a.nl
>http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>  
>

-- 
Regards
 Jandre

		"One man's irritation is anothers bread and butter."

_____________________________________________________________________


_______________________________________________
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:[~2005-09-29 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-29  9:52 [LARTC] Interfaces basic question Marius Corici
2005-09-29 10:11 ` Andreas Klauer
2005-09-29 10:31 ` Jandre Olivier

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.