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 |