Re: [Asterisk-Users] 802.1p , precedence and TOS
I Don't know if this is a solution that is not better suited for your Linux Distro, using vconfig and a 802.1q/1p aware NIC, on the * Server, to create and prioitize the Ingress and Egress Voice VLAN traffic. Would you not agree? Sean On Wed, 20 Apr 2005 21:14:17 +0200, Eugenio De Vena [EMAIL PROTECTED] wrote: Thanks for your kind help, I understand ip precedence and that's ok. I also found on Snom phones how to mark 802.1p ( which is what I need now ). On the 3Com 3300 802.1p is enabled and correctly priorized . The only thing I miss is how to tell asterisk to originate rtp packet marked with 802.1p tag ( at layer 2 ) Any idea? - Original Message - From: SCollins [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Tuesday, April 19, 2005 8:45 PM Subject: Re: [Asterisk-Users] 802.1p , precedence and TOS Questions: 1) How can I set the 802.1p precedence field from Snom and asterisk? 2) Which is the differences between the IP Precedence field and TOS field? IP Precednce and ToS are synonymous. There is a 3-bit ToS field in the IP header that allows for 8 levels of classification of IP traffic - these are known as the IP precedence bits. 802.1p or CoS (Class of Service) is a Layer 2 Prioitization protocol. 802.1p uses a 3-bit prioitization field, in an 802.1q TAG,to define 8 priority levels. To obtain the correct Layer 2 CoS on your 3300 I believe you need to set the prioritization on the IP phone, using 802.1q and then setting the prioritization, and then configure the clasifiers and profiles on the 3Com 3300 so that it will remark the packets on ingress. The CoS traffic classification will need to be configured on ALL Switches in your network for the 802.1p prioritzation of the Voice traffic. Most layer 3 Switches support both ToS and CoS and will re-mark the 802.1p Prioritization into the ToS field in the IP header, so that if the traffic is being routed, between VLANs for example, the traffic will maintain it's priority. Hope this helps. Sean On Tue, 19 Apr 2005 15:28:43 +0200, Eugenio De Vena [EMAIL PROTECTED] wrote: Hello everyone, I have some doubt on the QoS matter and I hope that someone could bring me some light. I see my 3Com 3300 switch supports 802.1p priorization , I see through Microsoft network monitor that the packet coming from my SIP phones have in IP header a field which is marked Precedence and when the packet is sent from phone to asterisk the value is CRITICAL/EXP , when the packet is sent back from asterisk to phone the value is Normal. To correct this I set the value Tos in sip.conf to 160 and now the packet sent back from asterisk to phone is marked CRITICAL/EXP too. Fine. Under the field Precedence there is a value called Type of Service ( TOS ) and the values is Normal both ways. Googling around I see that 802.1p is a Layer2 and not Layer3 specification so it must work at MAC level, so I think that these field which are contained into the IP header are not considered by my switch and are just ignored. The Ip precedence field I think would be considered when routed by a QoS router ( which is not my case ). Questions: 1) How can I set the 802.1p precedence field from Snom and asterisk? 2) Which is the differences between the IP Precedence field and TOS field? Thanks Everyone Eugenio ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- http://www.1and1.com/?k_id=8358073 ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- http://www.1and1.com/?k_id=8358073 ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Asterisk POE
What PoE Switch are you thinking of using or own? The 802.3af Spec, as I understand it, uses a special Fast Link Pulse to detect if the Powered Device needs to receive power. However, there are vendors that have pre-spec (before 2003) Switches that MAY NOT follow the spec. There are also (2) differant types of PoE Sourcing Switches. End-Span and Mid-Span Mid-Span sits between the IP phone that needs powers and the Data Switch that connects to the network. The Mid-Span ONLY supplies power to the IP Phone and thus requires the addition of an Ethernet Sitch or Hub to provide the connectivity to the network. End-Span devices incorporate the Power Sourcing capabilities of the mid-Span and the Ethernet connectivity of a Switch. Now it gets tricky. As I understand the spec, and from my own experience, a PoE Switch can source power over pins 1,2,3, and 6 as well as Ethernet connectivity OR it can source PoE over the unused pins 4,5,7 and 8 BUT it does not have to do both. On the other hand, a 802.3af compliant PoE device (IP phone, Wireless AP, Surveilance Camera)must be able to detect the FLPs on either of the (4) pairs and then source according to what the PoE Switch is sending. Yes, a PoE Switch can toast a NIC/PCMCIA card if the PoE Switch is a Mid-Span device or power Injector (I don't believe these device are capable of detecting the capabilities of a Powered Device and thus they just source power down the designated Rx pairs - someone correct me if I'm wrong). I would look at the product Data Sheet for your phone and find out how it handles sourced power and if it's 802.3af IEEE spec compliant. Look at the PoE Swtich options Cisco, 3Com, Netgear, Asante, HP etc. I know from experience that Cisco is a great solution if you have a big budget for a Cat 3550. 3Com is Spec compliant and provides Power over pins 1,2,3 and 6 ONLY. Netgear is the least expensive solution, but with my experience it's hard to get support if you have problems with their product, unless you purchase a Service Contract (warranty support only entitles you to speak to 1st level Tech who can answer basic questions) Hope some of this helped. Sean tOn Tue, 19 Apr 2005 17:32:00 +1000, Paul Hales [EMAIL PROTECTED] wrote: Snom 200's Polycom 600's. Polycom 500's with the special lead. Later, PaulH -Original Message- From: Kristof Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, 19 April 2005 5:05 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Asterisk POE Paul Hales wrote: From our experience (with a HP 2626-PWR) it hasn't been an issue. PaulH Paul, Would you like to share wich phones you're using on this switch? Cheers, Kristof. CAUTION: This email message and accompanying data may contain information that is confidential. If you are not the intended recipient, you are notified that any use, dissemination, distribution or copying of this message or data is prohibited. If you have received this email message in error, please notify us immediately and erase all copies of this message and attachments. Thank you. CAUTION: This email message and accompanying data may contain information that is confidential. If you are not the intended recipient, you are notified that any use, dissemination, distribution or copying of this message or data is prohibited. If you have received this email message in error, please notify us immediately and erase all copies of this message and attachments. Thank you. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- http://www.1and1.com/?k_id=8358073 ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] 802.1p , precedence and TOS
Questions: 1) How can I set the 802.1p precedence field from Snom and asterisk? 2) Which is the differences between the IP Precedence field and TOS field? IP Precednce and ToS are synonymous. There is a 3-bit ToS field in the IP header that allows for 8 levels of classification of IP traffic - these are known as the IP precedence bits. 802.1p or CoS (Class of Service) is a Layer 2 Prioitization protocol. 802.1p uses a 3-bit prioitization field, in an 802.1q TAG,to define 8 priority levels. To obtain the correct Layer 2 CoS on your 3300 I believe you need to set the prioritization on the IP phone, using 802.1q and then setting the prioritization, and then configure the clasifiers and profiles on the 3Com 3300 so that it will remark the packets on ingress. The CoS traffic classification will need to be configured on ALL Switches in your network for the 802.1p prioritzation of the Voice traffic. Most layer 3 Switches support both ToS and CoS and will re-mark the 802.1p Prioritization into the ToS field in the IP header, so that if the traffic is being routed, between VLANs for example, the traffic will maintain it's priority. Hope this helps. Sean On Tue, 19 Apr 2005 15:28:43 +0200, Eugenio De Vena [EMAIL PROTECTED] wrote: Hello everyone, I have some doubt on the QoS matter and I hope that someone could bring me some light. I see my 3Com 3300 switch supports 802.1p priorization , I see through Microsoft network monitor that the packet coming from my SIP phones have in IP header a field which is marked Precedence and when the packet is sent from phone to asterisk the value is CRITICAL/EXP , when the packet is sent back from asterisk to phone the value is Normal. To correct this I set the value Tos in sip.conf to 160 and now the packet sent back from asterisk to phone is marked CRITICAL/EXP too. Fine. Under the field Precedence there is a value called Type of Service ( TOS ) and the values is Normal both ways. Googling around I see that 802.1p is a Layer2 and not Layer3 specification so it must work at MAC level, so I think that these field which are contained into the IP header are not considered by my switch and are just ignored. The Ip precedence field I think would be considered when routed by a QoS router ( which is not my case ). Questions: 1) How can I set the 802.1p precedence field from Snom and asterisk? 2) Which is the differences between the IP Precedence field and TOS field? Thanks Everyone Eugenio ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- http://www.1and1.com/?k_id=8358073 ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Asterisk Netgear FSM7326P and Cisco 7960 on VLAN
I had and issue with the FSM732P and DHCP Requests. I would get intermitant connectivity and eventually I would loose connectivity on a port, move the IP phone to a new port and eventually loose connectivity. The Netgear sounds suspect. If all ports are a member of Default VLAN 1, untagged, and the ports are set to Admit All, the Switch will assign all packets received (untagged and those with priotization set) to PVID 1. Could it be a VLAN configuration or Routing problem? Maybe it's a known bug that has been resolved with Firmware? FSM7326P Software Version 3.0.3.2 Issues This Firmware Resolves 1. The VLAN priority setting as configured were not working. 2. When setting fixed speed at 1000Mbps full-duplex for copper ports, the switch issued a warning. 3. The switch only allowed 8 route entries instead of 16 route entries Hope something I said helps. Sean On Tue, 19 Apr 2005 21:16:07 +0100, Ron Wellsted [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have just finished a couple of very frustrating days trying to resolve an issue with Asterisk 1.0.5, Netgear FSM7326P and Cisco 7960 phones under SIP using a VLAN for the VoIP traffic. The switch was configured with a default VLAN of 1 and the 7960s were configured for a VLAN of 2. The 7960s were tested with SIP firmware 7.3 and 7.4 The symptoms were as follows: 1/ When the phones were idle, every few minutes, the asterisk server would loose MAC/IP address mapping for a phone. Approx 10 seconds later the mapping would reappear. (checked with arp -avn) 2/ When in a call, we would randomly loose sound TO the phone. Sound FROM the phone was OK. This loss would continue for about 10 seconds. Using ethereal, we sniffed the traffic in and out of the Asterisk box and saw that we were not getting replies to the targeted ARP packets being sent from the asterisk box, only replies to the broadcast ARP packets. Sniffing a phone revealed that although the ARP packets were correctly tagged as VLAN 2, the phone was replying to the targeted ARP packets on VLAN 1 (!?). As a result the Asterisk box was (correctly) expiring the arp cache entry when the ttl was reached, then it would send a broadcast ARP packet which would be responded to by the phone on VLAN 2. I have worked around this be removing the VLANs and by using DHCP reservations to put the phones on a different subnet from the rest of the network. Has anyone else found themselves in a similar situation? If so, how did you work around it? Is it worth raising a TAC with Cisco? - -- Ron Wellsted http://www.wellsted.org.uk [EMAIL PROTECTED] FWD:519961 Gossiptel:9309811 N 52.567623, W 2.137621 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQmVnB0tP/KMNOfRbAQKgQAf8CI09aPcapNvYD50WiR9s9I2bdGYgzUfI nUqluX1389gLPk4XVuziSKoIMpunJQa2/uaES6NzJkYJk7bYS3MkDh2J6CZK2niZ 2BKBIxwwwkPGhJFYTJE0P/848qLQF6qemM+zJHR/GJr10UpAEKd9ElSyoywHe3NS pVAX8hztsqSM9dpk5cu1+bLLruxSBWVbWgF4GkyjPGXz6U47Ee+x/fDIvi5GGuXf QHrMzAokFycE8omtcx7CR1E2KbSb0H+P3SKroegH7V4PS/3Z45mDcP+owBDMNSSm rcfwNmMPjbwCXxySPu6x07kQo2UfK3ws6e4iZbZGspMFO7AsLq0Q9Q== =JmsL -END PGP SIGNATURE- ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- http://www.1and1.com/?k_id=8358073 ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Installing Asterisk@Home on VMware Workstation 4.5.2- build 8848
Sorry! Got it! All set. On Sun, 17 Apr 2005 15:54:37 -0400, SCollins [EMAIL PROTECTED] wrote: Just curious what syntax did you use to load the VMware tools on Fedora Core 3? Thanks, Sean On Sat, 16 Apr 2005 16:50:56 +0200, [EMAIL PROTECTED] wrote: I installed asterisk 1.0.7 successfully on VMware workstation with fedora 3 as guest. Of course without any hardware only pure asterisk. It works fine for testing. SCollins wrote: Newbie Question Has anybody installed [EMAIL PROTECTED] on VMware Workstation (w/ WMware Tools)successfully? Thanks, Sean ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- http://www.1and1.com/?k_id=8358073 ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Installing Asterisk@Home on VMware Workstation 4.5.2- build 8848
Just curious what syntax did you use to load the VMware tools on Fedora Core 3? Thanks, Sean On Sat, 16 Apr 2005 16:50:56 +0200, [EMAIL PROTECTED] wrote: I installed asterisk 1.0.7 successfully on VMware workstation with fedora 3 as guest. Of course without any hardware only pure asterisk. It works fine for testing. SCollins wrote: Newbie Question Has anybody installed [EMAIL PROTECTED] on VMware Workstation (w/ WMware Tools)successfully? Thanks, Sean ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- http://www.1and1.com/?k_id=8358073 ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Installing Asterisk@Home on VMware Workstation 4.5.2- build 8848
Newbie Question Has anybody installed [EMAIL PROTECTED] on VMware Workstation (w/ WMware Tools)successfully? Thanks, Sean ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users