VLANs with shaper/QoS
Hello,
I use Linux VLAN with a Cisco Catalyst switch. The VLANs are
working now properly. I have to set up traffic-shaping on interfaces and I have some questinos:
1. which is better: using the physical interface (e.g. eth0) or the VLAN interfaces (vlan000x)?
2. if I use the physical interface what should I take care about? - u32?
3. if I'm right traffic sharing is possible only a phys. interface, virtual interfaces have separated quues?
4. can I somehow configure the max. bandwidth that the user can use for communication? I know up/downstream is configurable but how can I manage these 2 queues? example: user has 64k, but he can download with 64k and the same time upload with 64k, so it is 128k on my lines. I would like to allow only 64k...
Sorry for Q4, it is not about VLANs...
Any other idea how should I solve this problem? Does anybody have any experience with this? Please write me anny comments/notes.
Kind regards,
Thomas
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello,
thank you for your help. I'm looking for IMQ. It looks pretty cool
:)
Is the IMQ code in the kernel (I use kernel 2.4.20)? I found only:
Ingress Qdisc. Is it the Intermediate queueing device? I have iptables v1.2.6a (from RedHat 8.0).
How can I combine IMQ and priority queueing? I MUST set up
prioritization for RTP, so it is very important to prefer RTP packet. If I'm right IMQ can't do PRIO queueing.
Thank,
Thomas
Quoted 43 lines · S Mohan
Traffic shaping can be done on physical or virtual devices. IMQ is one such device which has both incoming and outgoing queues thus enabling a single flowid specification for source or destination IP. Thus one flowid/class per person/IP and u32 match for source or destination being that persons IP will give you what you want. Good doc available at www.docum.org thanks to Stef Coene.
Mohan
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Thomas Jalsovsky
Sent: 29 November 2002 13:21
To: [email protected]
Subject: [LARTC] VLANs with shaper/QoSHello,
I use Linux VLAN with a Cisco Catalyst switch. The VLANs are
working now properly. I have to set up traffic-shaping on interfaces and I have some questinos:
1. which is better: using the physical interface (e.g. eth0) or the VLAN interfaces (vlan000x)?2. if I use the physical interface what should I take care about? - u32?
3. if I'm right traffic sharing is possible only a phys. interface, virtual interfaces have separated quues?
4. can I somehow configure the max. bandwidth that the user can use for communication? I know up/downstream is configurable but how can I manage these 2 queues? example: user has 64k, but he can download with 64k and the same time upload with 64k, so it is 128k on my lines. I would like to allow only 64k...
Sorry for Q4, it is not about VLANs...
Any other idea how should I solve this problem? Does anybody have any experience with this? Please write me anny comments/notes.
Quoted 7 lines
Kind regards,
Thomas_______________________________________________
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/
Quoted 7 lines · Thomas Jalsovsky
Hello,
thank you for your help. I'm looking for IMQ. It looks pretty cool
:)
Is the IMQ code in the kernel (I use kernel 2.4.20)? I found only:
Ingress Qdisc. Is it the Intermediate queueing device? I have iptables v1.2.6a (from RedHat 8.0).
You need to patch the kernel and iptables if you want to use imq.
Quoted 3 lines
How can I combine IMQ and priority queueing? I MUST set up
prioritization for RTP, so it is very important to prefer RTP packet. If I'm right IMQ can't do PRIO queueing.
Imq can use any qdisc like a normal device. For RTP, you need a combination of a low delay and stable bandwidth. You can do this with htb or cbq. And you don't have to use imq. I think it can be done on 1 interface.
Quoted 10 lines
Thank,
ThomasQuoted 6 lines · S Mohan
Traffic shaping can be done on physical or virtual devices. IMQ is one such device which has both incoming and outgoing queues thus enabling a single flowid specification for source or destination IP. Thus one flowid/class per person/IP and u32 match for source or destination being that persons IP will give you what you want. Good doc available at www.docum.org thanks to Stef Coene.
Mhh. Imq has 1 queue, not incoming and outgoing queues. But you can redirect packets to it from INPUT and OUTPUT. So from in and outgoin traffic. So you can use incoing and outgoin control on the same device.
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/