From: Lonnie A. <li...@lo...> - 2007-05-17 21:19:15
|
Hopefully this is of general academic interest... I currently have many SPA-942 IP Phones and AstLinux (net4801) all connected via VLAN capable switches, networked on VLAN20. My VLAN's are routed via m0n0wall (net4801) through a "tagged only" ethernet port. But, the ethernet ports of the phones and net4801 are untagged, the switches are configured to add/strip the VLAN tags at the last few meters. This all works well... but I have an Obsessive Network Tweaking Disorder ;) . All my switches prioritize egress traffic based on the 802.1p bits added along with the VLAN ID tag. So, would I be smart in making all my internal voice traffic, VLAN tagged from phone to Astlinux (end to end)? Easily done in the SPA-942's. In AstLinux I assume: VLANS="eth0.20" EXTIF="eth0.20" Would work in PBX only mode? Question: What does AstLinux set the 802.1p priority tags to? Does asterisk sense the VLAN and set the 802.1p priority to 5 or 6 like the SPA-942 does? From a practical point of view, I doubt it makes much difference in my situation, but learning is half the fun. Any experience is appreciated. Lonnie |
From: Kristian K. <kri...@gm...> - 2007-05-17 21:29:34
|
On 5/17/07, Lonnie Abelbeck <li...@lo...> wrote: > Hopefully this is of general academic interest... > > I currently have many SPA-942 IP Phones and AstLinux (net4801) all > connected via VLAN capable switches, networked on VLAN20. My VLAN's > are routed via m0n0wall (net4801) through a "tagged only" ethernet port. > > But, the ethernet ports of the phones and net4801 are untagged, the > switches are configured to add/strip the VLAN tags at the last few > meters. > > This all works well... but I have an Obsessive Network Tweaking > Disorder ;) . All my switches prioritize egress traffic based on the > 802.1p bits added along with the VLAN ID tag. > > So, would I be smart in making all my internal voice traffic, VLAN > tagged from phone to Astlinux (end to end)? Easily done in the > SPA-942's. > > In AstLinux I assume: > VLANS="eth0.20" > EXTIF="eth0.20" > > Would work in PBX only mode? > > Question: What does AstLinux set the 802.1p priority tags to? Does > asterisk sense the VLAN and set the 802.1p priority to 5 or 6 like > the SPA-942 does? > > From a practical point of view, I doubt it makes much difference in > my situation, but learning is half the fun. > > Any experience is appreciated. > > Lonnie > Lonnie, AstLinux doesn't currently set 802.1p priorities on VLANs. There isn't even a config variable for it. In linux, however, all you have to do is set the correct value with vconfig: vconfig set_egress_map eth0.41 1 5 How about something like this: EPRIO="eth2.41:5" etc, etc, etc? Asterisk does not set layer 2 (802.1p) priority, but it does set layer 3 (DSCP/IP TOS) with tos= in sip.conf, iax.conf, etc. How are your switches / routers configured for that? -- Kristian Kielhofner |
From: Michael K. <mic...@ip...> - 2007-05-17 22:55:16
|
Just on this subject (PS my disorder is an irrational fear of packet loss), does the tos= in sip.conf only set the TOS of the SIP signalling packets or the media traffic as well? Regards Mike -----Original Message----- From: ast...@li... [mailto:ast...@li...]On Behalf Of Kristian Kielhofner Sent: Friday, 18 May 2007 7:30 AM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] VLAN's and 802.1p priority On 5/17/07, Lonnie Abelbeck <li...@lo...> wrote: > Hopefully this is of general academic interest... > > I currently have many SPA-942 IP Phones and AstLinux (net4801) all > connected via VLAN capable switches, networked on VLAN20. My VLAN's > are routed via m0n0wall (net4801) through a "tagged only" ethernet port. > > But, the ethernet ports of the phones and net4801 are untagged, the > switches are configured to add/strip the VLAN tags at the last few > meters. > > This all works well... but I have an Obsessive Network Tweaking > Disorder ;) . All my switches prioritize egress traffic based on the > 802.1p bits added along with the VLAN ID tag. > > So, would I be smart in making all my internal voice traffic, VLAN > tagged from phone to Astlinux (end to end)? Easily done in the > SPA-942's. > > In AstLinux I assume: > VLANS="eth0.20" > EXTIF="eth0.20" > > Would work in PBX only mode? > > Question: What does AstLinux set the 802.1p priority tags to? Does > asterisk sense the VLAN and set the 802.1p priority to 5 or 6 like > the SPA-942 does? > > From a practical point of view, I doubt it makes much difference in > my situation, but learning is half the fun. > > Any experience is appreciated. > > Lonnie > Lonnie, AstLinux doesn't currently set 802.1p priorities on VLANs. There isn't even a config variable for it. In linux, however, all you have to do is set the correct value with vconfig: vconfig set_egress_map eth0.41 1 5 How about something like this: EPRIO="eth2.41:5" etc, etc, etc? Asterisk does not set layer 2 (802.1p) priority, but it does set layer 3 (DSCP/IP TOS) with tos= in sip.conf, iax.conf, etc. How are your switches / routers configured for that? -- Kristian Kielhofner ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Astlinux-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 16/05/2007 6:05 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 16/05/2007 6:05 PM |
From: Kristian K. <kri...@gm...> - 2007-05-18 02:48:14
|
On 5/17/07, Michael Knill <mic...@ip...> wrote: > Just on this subject (PS my disorder is an irrational fear of packet loss), > does the tos= in sip.conf only set the TOS of the SIP signalling packets or > the media traffic as well? > > Regards > Mike Mike, In Asterisk 1.2 it applies to both signalling and media. In Asterisk 1.4 you can specify different values for signalling, audio, and video. -- Kristian Kielhofner |
From: Lonnie A. <li...@lo...> - 2007-05-17 23:00:15
|
On May 17, 2007, at 4:29 PM, Kristian Kielhofner wrote: > On 5/17/07, Lonnie Abelbeck <li...@lo...> wrote: >> Hopefully this is of general academic interest... >> >> I currently have many SPA-942 IP Phones and AstLinux (net4801) all >> connected via VLAN capable switches, networked on VLAN20. My VLAN's >> are routed via m0n0wall (net4801) through a "tagged only" ethernet >> port. >> >> But, the ethernet ports of the phones and net4801 are untagged, the >> switches are configured to add/strip the VLAN tags at the last few >> meters. >> >> This all works well... but I have an Obsessive Network Tweaking >> Disorder ;) . All my switches prioritize egress traffic based on the >> 802.1p bits added along with the VLAN ID tag. >> >> So, would I be smart in making all my internal voice traffic, VLAN >> tagged from phone to Astlinux (end to end)? Easily done in the >> SPA-942's. >> >> In AstLinux I assume: >> VLANS="eth0.20" >> EXTIF="eth0.20" >> >> Would work in PBX only mode? >> >> Question: What does AstLinux set the 802.1p priority tags to? Does >> asterisk sense the VLAN and set the 802.1p priority to 5 or 6 like >> the SPA-942 does? >> >> From a practical point of view, I doubt it makes much difference in >> my situation, but learning is half the fun. >> >> Any experience is appreciated. >> >> Lonnie >> > > Lonnie, > > AstLinux doesn't currently set 802.1p priorities on VLANs. There > isn't even a config variable for it. In linux, however, all you have > to do is set the correct value with vconfig: > > vconfig set_egress_map eth0.41 1 5 > > How about something like this: > > EPRIO="eth2.41:5" > > etc, etc, etc? > > Asterisk does not set layer 2 (802.1p) priority, but it does set > layer 3 (DSCP/IP TOS) with tos= in sip.conf, iax.conf, etc. How are > your switches / routers configured for that? Kristian, > vconfig set_egress_map eth0.41 1 5 > How about something like this: > > EPRIO="eth2.41:5" Or how about allow the VLAN definition have an optional trailing :N where (0 <= N <= 7) VLANS="eth0.20:5" I assume "0" is the current AstLinux defined priority? In my case, I have Layer 2 switches, and only 802.1p priority tags are used. (HP Procurve 1700 and 1800 series) Is this the the current best way of handling priorities? Lonnie |
From: Kristian K. <kri...@gm...> - 2007-05-18 02:51:52
|
On 5/17/07, Lonnie Abelbeck <li...@lo...> wrote: > > Or how about allow the VLAN definition have an optional trailing :N > where (0 <= N <= 7) > > VLANS="eth0.20:5" > > I assume "0" is the current AstLinux defined priority? > > In my case, I have Layer 2 switches, and only 802.1p priority tags > are used. (HP Procurve 1700 and 1800 series) > > Is this the the current best way of handling priorities? > > Lonnie Lonnie, I was hoping that I could eventually figure out a way to set the 802.1p value for non-vlan interfaces (eth0, eth1, eth2) as well. For VLANs only, I like your way more! -- Kristian Kielhofner |
From: Lonnie A. <li...@lo...> - 2007-05-18 03:04:59
|
On May 17, 2007, at 9:51 PM, Kristian Kielhofner wrote: > On 5/17/07, Lonnie Abelbeck <li...@lo...> wrote: >> >> Or how about allow the VLAN definition have an optional trailing :N >> where (0 <= N <= 7) >> >> VLANS="eth0.20:5" >> >> I assume "0" is the current AstLinux defined priority? >> >> In my case, I have Layer 2 switches, and only 802.1p priority tags >> are used. (HP Procurve 1700 and 1800 series) >> >> Is this the the current best way of handling priorities? >> >> Lonnie > > Lonnie, > > I was hoping that I could eventually figure out a way to set the > 802.1p value for non-vlan interfaces (eth0, eth1, eth2) as well. > > For VLANs only, I like your way more! > > -- > Kristian Kristian, You know immensely more about this stuff than I do, but it is my understanding that 802.1p requires 802.1Q (VLAN) tagging. http://en.wikipedia.org/wiki/IEEE_802.1Q Lonnie |
From: Kristian K. <kri...@gm...> - 2007-05-18 03:25:21
|
On 5/17/07, Lonnie Abelbeck <li...@lo...> wrote: > > Kristian, > > You know immensely more about this stuff than I do, but it is my > understanding that 802.1p requires 802.1Q (VLAN) tagging. > > http://en.wikipedia.org/wiki/IEEE_802.1Q > > Lonnie Lonnie, 802.1p is expressed in an 802.1Q header, but you don't need to specify a vlan and it is generally considered that most devices that support one support the other. However, you can define one and not the other: http://blogs.msdn.com/wndp/archive/2006/01/18/514533.aspx http://www.javvin.com/protocol8021P.html http://www.xilinx.com/esp/wired/optical/net_tech/ieee8021p.htm -- Kristian Kielhofner |
From: Kevin K. <Ast...@gt...> - 2007-05-18 03:38:16
|
Thought I would jump in here on the 802.1P. 802.1P is priority queuing at the MAC layer. IEEE standard 802.1p is a part of the IEEE standard 802.1D. 802.1Q is the IEEE standard for vlans and is part of the IEEE standard 802.1D. There are many switches with 802.1P without 802.1Q VLAN's. Kevin Kiely _____ From: Lonnie Abelbeck [mailto:li...@lo...] Sent: Thursday, May 17, 2007 11:05 PM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] VLAN's and 802.1p priority On May 17, 2007, at 9:51 PM, Kristian Kielhofner wrote: On 5/17/07, Lonnie Abelbeck <li...@lo...> wrote: Or how about allow the VLAN definition have an optional trailing :N where (0 <= N <= 7) VLANS="eth0.20:5" I assume "0" is the current AstLinux defined priority? In my case, I have Layer 2 switches, and only 802.1p priority tags are used. (HP Procurve 1700 and 1800 series) Is this the the current best way of handling priorities? Lonnie Lonnie, I was hoping that I could eventually figure out a way to set the 802.1p value for non-vlan interfaces (eth0, eth1, eth2) as well. For VLANs only, I like your way more! -- Kristian Kristian, You know immensely more about this stuff than I do, but it is my understanding that 802.1p requires 802.1Q (VLAN) tagging. http://en.wikipedia.org/wiki/IEEE_802.1Q Lonnie No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 5/16/2007 6:05 PM |
From: Kristian K. <kri...@gm...> - 2007-05-18 03:50:58
|
On 5/17/07, Kevin Kiely <Ast...@gt...> wrote: > > > > > Thought I would jump in here on the 802.1P. > > > > 802.1P is priority queuing at the MAC layer. IEEE standard 802.1p is a part > of the IEEE standard 802.1D. 802.1Q is the IEEE standard for vlans and is > part of the IEEE standard 802.1D. There are many switches with 802.1P > without 802.1Q VLAN's. > > > > Kevin Kiely > Kevin, Thanks for the point to 802.1D! However, most devices that I have encountered in the past several years that support 802.1p also support 802.1Q. Phones, switches, routers, etc. -- Kristian Kielhofner |
From: Kevin K. <Ast...@gt...> - 2007-05-18 04:07:19
|
Yes, you are correct. I had the need for a cheap layer2 switch used for testing that was fanless with 10/100/1000 speeds and quiet (no fans) as the fans are generally quite loud especially in managed switches. Also my use was for a desktop environment and the time there wasn't much selection. Here is one that fits the bill if you need 802.1P which can be very important for QOS. http://www.netgear.com/Products/Switches/DesktopSwitches/GS116.aspx -----Original Message----- From: Kristian Kielhofner [mailto:kri...@gm...] Sent: Thursday, May 17, 2007 11:51 PM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] VLAN's and 802.1p priority On 5/17/07, Kevin Kiely <Ast...@gt...> wrote: > > > > > Thought I would jump in here on the 802.1P. > > > > 802.1P is priority queuing at the MAC layer. IEEE standard 802.1p is a part > of the IEEE standard 802.1D. 802.1Q is the IEEE standard for vlans and is > part of the IEEE standard 802.1D. There are many switches with 802.1P > without 802.1Q VLAN's. > > > > Kevin Kiely > Kevin, Thanks for the point to 802.1D! However, most devices that I have encountered in the past several years that support 802.1p also support 802.1Q. Phones, switches, routers, etc. -- Kristian Kielhofner ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Astlinux-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 5/16/2007 6:05 PM |
From: Kristian K. <kri...@gm...> - 2007-05-18 04:23:30
|
On 5/18/07, Kevin Kiely <Ast...@gt...> wrote: > Yes, you are correct. I had the need for a cheap layer2 switch used for > testing that was fanless with 10/100/1000 speeds and quiet (no fans) as the > fans are generally quite loud especially in managed switches. Also my use > was for a desktop environment and the time there wasn't much selection. > Here is one that fits the bill if you need 802.1P which can be very > important for QOS. > > http://www.netgear.com/Products/Switches/DesktopSwitches/GS116.aspx > Kevin, Haha! I have the eight port version of that on my desk. I didn't know that it supports 802.1p (or as they say "honors")! -- Kristian Kielhofner |
From: Lonnie A. <li...@lo...> - 2007-05-18 04:47:27
|
On May 17, 2007, at 11:07 PM, Kevin Kiely wrote: > Yes, you are correct. I had the need for a cheap layer2 switch > used for > testing that was fanless with 10/100/1000 speeds and quiet (no > fans) as the > fans are generally quite loud especially in managed switches. Also > my use > was for a desktop environment and the time there wasn't much > selection. > Here is one that fits the bill if you need 802.1P which can be very > important for QOS. > > http://www.netgear.com/Products/Switches/DesktopSwitches/GS116.aspx > > > -----Original Message----- > From: Kristian Kielhofner [mailto:kri...@gm...] > Sent: Thursday, May 17, 2007 11:51 PM > To: AstLinux Users Mailing List > Subject: Re: [Astlinux-users] VLAN's and 802.1p priority > > On 5/17/07, Kevin Kiely <Ast...@gt...> wrote: >> >> >> >> >> Thought I would jump in here on the 802.1P. >> >> >> >> 802.1P is priority queuing at the MAC layer. IEEE standard 802.1p >> is a > part >> of the IEEE standard 802.1D. 802.1Q is the IEEE standard for vlans >> and is >> part of the IEEE standard 802.1D. There are many switches with 802.1P >> without 802.1Q VLAN's. >> >> >> >> Kevin Kiely >> > > Kevin, > > Thanks for the point to 802.1D! > > However, most devices that I have encountered in the past several > years that support 802.1p also support 802.1Q. Phones, switches, > routers, etc. > > > -- > Kristian Kielhofner Guys, According to the HP Procurve tech folks, the Procurve 1700 and 1800 series support 802.1p with 802.1Q tagging, but does not support 801.1p using the upper IPv4 ToS bits. Could this be any more confusing? Lonnie |
From: Michael K. <mic...@ip...> - 2007-05-18 05:15:38
|
Kevin Not quite sure you are correct here. 802.1p is an extension of 802.1Q which requires the tagging of ethernet packets. 802.1D specifies the basic ethernet Spanning Tree Protocol. Mike -----Original Message----- From: ast...@li... [mailto:ast...@li...]On Behalf Of Kevin Kiely Sent: Friday, 18 May 2007 1:38 PM To: 'AstLinux Users Mailing List' Subject: Re: [Astlinux-users] VLAN's and 802.1p priority Thought I would jump in here on the 802.1P. 802.1P is priority queuing at the MAC layer. IEEE standard 802.1p is a part of the IEEE standard 802.1D. 802.1Q is the IEEE standard for vlans and is part of the IEEE standard 802.1D. There are many switches with 802.1P without 802.1Q VLAN’s. Kevin Kiely ---------------------------------------------------------------------------- -- From: Lonnie Abelbeck [mailto:li...@lo...] Sent: Thursday, May 17, 2007 11:05 PM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] VLAN's and 802.1p priority On May 17, 2007, at 9:51 PM, Kristian Kielhofner wrote: On 5/17/07, Lonnie Abelbeck <li...@lo...> wrote: Or how about allow the VLAN definition have an optional trailing :N where (0 <= N <= 7) VLANS="eth0.20:5" I assume "0" is the current AstLinux defined priority? In my case, I have Layer 2 switches, and only 802.1p priority tags are used. (HP Procurve 1700 and 1800 series) Is this the the current best way of handling priorities? Lonnie Lonnie, I was hoping that I could eventually figure out a way to set the 802.1p value for non-vlan interfaces (eth0, eth1, eth2) as well. For VLANs only, I like your way more! -- Kristian Kristian, You know immensely more about this stuff than I do, but it is my understanding that 802.1p requires 802.1Q (VLAN) tagging. http://en.wikipedia.org/wiki/IEEE_802.1Q Lonnie No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 5/16/2007 6:05 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 16/05/2007 6:05 PM |