Skip to contentSkip to conversation

HTB on VLAN interfaces

LARTC Lumir Unzeitig 2 participants 4 messages May 6, 2002

lore
Share & tools
lore
#0 lore raw

Hi,
does anybody have experience with traffic control on VLAN interfaces? I 'd like to share a link from ISP to 8 VLAN segments (= 8 virt. interfaces-vlan000x are binded to 1 physical -eth0 ).

Q1:
Shall I define the classes on the physical or the virtual interfaces?

Q2:
Can a 64kbits bandwidth from ISP be successfully controled to 8 subjects (minimal assured bw=8kbits) ? (=relatively small bw divided to much smaller parts).

Thanks

Lumir Unzeitig

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

Q1: -on phys, iface it will work but will be hard to filter.
-i've been told by one user that it works with virtual vlan ifaces

but because you want to share between these interfaces you will want to use physical one and use iptables to define classes (or u32 filter and match vlan-id directly)

Q2: in my tests I validate HTB from 1kbit/s succesfully. devik

Quoted 15 lines · Lumir Unzeitig

Hi,
does anybody have experience with traffic control on VLAN interfaces? I 'd like to share a link from ISP to 8 VLAN segments (= 8 virt. interfaces-vlan000x are binded to 1 physical -eth0 ).

Q1:
Shall I define the classes on the physical or the virtual interfaces?

Q2:
Can a 64kbits bandwidth from ISP be successfully controled to 8 subjects (minimal assured bw=8kbits) ? (=relatively small bw divided to much smaller parts).

Quoted 10 lines

Thanks

Lumir Unzeitig

_______________________________________________
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/

#2 lore raw
In reply to Lumir Unzeitig

Q1: -on phys. iface it will work but will be hard to filter.
..... 1 VLAN ~ 1 IP segment , in this case I can filter according to dest.
IP addres on internal iface (I hope)...........

-i've been told by one user that it works with virtual vlan ifaces

Thanks
Lumir Unzeitig

-----Original Message-----
From: Martin Devera [mailto:[email protected]]
Sent: Monday, May 06, 2002 11:23 AM
To: Lumir Unzeitig
Cc: [email protected]
Subject: Re: [LARTC] HTB on VLAN interfaces

Q1: -on phys, iface it will work but will be hard to filter.
-i've been told by one user that it works with virtual vlan ifaces

but because you want to share between these interfaces you will want to use physical one and use iptables to define classes (or u32 filter and match vlan-id directly)

Q2: in my tests I validate HTB from 1kbit/s succesfully. devik

Quoted 11 lines · Lumir Unzeitig

Hi,
does anybody have experience with traffic control on VLAN interfaces? I 'd like to share a link from ISP to 8 VLAN segments (= 8 virt. interfaces-vlan000x are binded to 1 physical -eth0 ).

Q1:
Shall I define the classes on the physical or the virtual interfaces?

Q2:
Can a 64kbits bandwidth from ISP be successfully controled to 8 subjects (minimal assured bw=8kbits) ? (=relatively small bw divided to much

smaller

Quoted 4 lines

parts).

Quoted 10 lines

Thanks

Lumir Unzeitig

_______________________________________________
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/

#3 lore raw
In reply to Lumir Unzeitig
Quoted 3 lines

Q1: -on phys. iface it will work but will be hard to filter.
..... 1 VLAN ~ 1 IP segment , in this case I can filter according to dest.
IP addres on internal iface (I hope)...........

the problem will be in that that physical interface's qdisc will see packet with vlanid added (probably). So that u32 will not match it. But iptables should.
devik

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/