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
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 On Mon, 6 May 2002, Lumir Unzeitig wrote:> 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 / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > >
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:devik@cdi.cz] Sent: Monday, May 06, 2002 11:23 AM To: Lumir Unzeitig Cc: lartc@mailman.ds9a.nl 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 On Mon, 6 May 2002, Lumir Unzeitig wrote:> 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 muchsmaller> parts). > > > > Thanks > > > Lumir Unzeitig > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > >
> 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