[LARTC] Interfaces basic question

2005-09-29 Thread Marius Corici
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

Re: [LARTC] Interfaces basic question

2005-09-29 Thread Andreas Klauer
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

Re: [LARTC] Interfaces basic question

2005-09-29 Thread Jandre Olivier
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