9.7. Voice QoS on WindowsWindows XP and 2003 can be used as routers to enforce Quality of Service on a VoIP network, though there are much better, and less expensive, ways to build a good QoS enforcement device. In one situation, though, Windows should be a QoS enforcement devicewhen it's used as an Internet gateway router with ISA services, a third-party firewall like CheckPoint Firewall-1, or a Microsoft Internet Connection Sharing feature. In this situation, you'll need to familiarize yourself with the Windows QoS Packet Scheduler. 9.7.1. QoS Packet SchedulerThe Internet Connection Sharing feature, which comes as a part of Windows XP, allows one computer to provide NAT/firewall services and gateway routing for a group of other computers on the same LAN. This way, these computers, which don't have a direct connection to the Internet, can still access Internet resources. Using VoIP endpoints to place calls routed through the ICS gateway isn't really an enterprise-class solution, but it can be done. One might do it in a home office or hobbyist setting. The software element responsible for prioritization of packets passing through ICS, and through Windows in general, is called the QoS Packet Scheduler. Its job is to enforce the policy set forth in the computer's system policy profile, so that applications using Microsoft's QoS API can benefit from its QoS provisions. The Windows kernel, which can perform routing and packet filtering like a standalone router, uses this API to support 802.1p, RSVP, and other, non-telephony- related QoS standards. 9.7.2. Windows RSVP ServiceWindows NT Server, Windows 2000 Server and Advanced Server, and Windows Server 2003 can use a service-based RSVP software agent. The RSVP Service allows the Windows server to become a policy enforcement point, either as a router or as a softPBX. 9.7.3. Project 9.2. Audit a Network's Capabilities Using pathping and traceroute9.7.3.1 What you need for this project:
Though Linux is far better equipped to do VoIP network building and troubleshooting, Windows does have a nifty command-line tool that can be used to determine how well an IP route supports QoS measures. pathping , which ships with Windows 2000 and Windows XP, lets you see how well your Internet provideror your corporate networksupports 802.1p and RSVP. It also lets you identify hops along the call path that are having excessive packet loss. pathping is similar to traceroute . It first displays the IP route along all hops from the host where it's running to the host at which it's targeted . Then, it collects information from each hop along the way, like latency times, and displays it for you, the administrator. This example returns the hostname and IP address from each hop along the route to the destination, if each hop provides an ICMP response: C:\> pathping www.broadvoxdirect.com The output shows the route to the destination, similar to traceroute : Tracing route to www.bigvoxdirect.com [65.67.129.23] over a maximum of 30 hops: 0 kelly-6aizy9qd1.ce1.client2.attbi.com [10.1.1.202] 1 10.1.1.1 2 10.248.164.1 3 bic01.elyehe1.oh.attbb.net [24.131.64.38] 4 12.244.65.61 5 12.125.176.121 6 gbr2-p70.phlpa.ip.att.net [12.123.137.26] 7 tbr1-p012601.phlpa.ip.att.net [12.122.12.101] 8 tbr1-cl8.n54ny.ip.att.net [12.122.2.17] 9 ggr2-p300.n54ny.ip.att.net [12.123.3.58] 10 so-1-0-0.gar4.NewYork1.Level3.net [4.68.127.5] 11 ge-2-1-0.bbr1.NewYork1.Level3.net [64.159.4.145] 12 so-0-0-0.mpls1.Cleveland1.Level3.net [209.247.11.134] 13 ge-6-0.hsa1.Cleveland1.Level3.net [209.244.22.98] 14 BIGVOX-DIS.hsa1.Level3.net [64.156.66.10] 15 penguin.bigvoxdirect.com [65.67.129.23] This example checks to see whether each router along the path supports 802.1p precedence tags: C:\> pathping www.bigvoxdirect.com -T The output from pathping first shows the route, like the previous example, but also adds the 802.1p feedback as far along the route as is possible. Not all devices along every route support 802.1p. In this example, the sixth hop does not, because the router isn't configured for IP ToS and 802.1p. Since the 802.1p header can't be carried past the sixth hop, subsequent hops cannot be tested for 802.1p support: Checking for connectivity with Layer-2 tags. 1 10.1.1.1 OK. 2 10.248.164.1 OK. 3 24.131.64.38 OK. 4 12.244.65.61 OK. 5 12.125.176.121 OK. 6 12.123.137.26 General failure. The -R option will do a similar check for RSVP support in a similar fashion. You aren't nearly as likely to find RSVP-supporting hops on the public Internet as you are 802.1-aware hops. But, if RSVP is configured on your private network, you can use pathping to help you evaluate your network's hardware readiness for QoS. It will tell you which routers support RSVP and which routers either need to be re-programmed or upgraded to support it. More information on pathping is available on Microsoft's TechNet web site (http://www.microsoft.com/technet). 9.7.3.2 Measure the latency time and jitter on a call pathThe cumulative latency on a route is a good indicator of how latent it is and, therefore, how well it will work as a VoIP call path. An easy way to record latency between hops (routers) on a route is by using the TRaceroute (on Windows, TRacert ). The syntax is very simple: # traceroute 15.54.21.112 This example will discover the route to the host at address 15.54.21.112, send several ICMP packets to each hop on the route, and then show you:
Whether on Linux, Windows, or Mac, traceroute 's output tends to be the same. The following sample output is from Windows, but all traceroute s show you the minimum, average, and maximum latency to each hop along the route: Tracing route to www.macvoip.com [65.31.69.11] over a maximum of 30 hops: 1 1 ms 1 ms 1 ms 10.1.1.1 2 14 ms 13 ms 18 ms 10.248.164.1 3 18 ms 16 ms 12 ms bic01.elyehe1.oh.attbb.net [24.131.64.38] 4 19 ms 21 ms 34 ms 12.244.65.61 5 31 ms 23 ms 24 ms 12.244.72.70 6 25 ms 26 ms 28 ms tbr1-p012401.phlpa.ip.att.net [12.123.137.45] 7 32 ms 27 ms 27 ms tbr1-cl8.n54ny.ip.att.net [12.122.2.17] 8 28 ms 28 ms 34 ms ggr2-p300.n54ny.ip.att.net [12.123.3.58] 9 31 ms 30 ms 28 ms att-gw.ny.aol.net [192.205.32.218] 10 32 ms 28 ms 43 ms bb2-nye-P1-0.atdn.net [66.185.151.66] 11 29 ms 47 ms 34 ms bb2-vie-P12-0.atdn.net [66.185.152.201] 12 64 ms 48 ms 62 ms bb2-chi-P6-0.atdn.net [66.185.152.214] 13 60 ms 60 ms 62 ms RR-DET.atdn.net [66.185.141.98] 14 59 ms 54 ms 66 ms os0-0.fmhlmi1-rtr1.twmi.rr.com [24.169.225.65] 15 57 ms 53 ms 63 ms ig0-1.fmhlmi1-ubr5.twmi.rr.com [24.169.225.22] 16 64 ms 66 ms 68 ms www.thelinuxfix.com [65.31.69.11] Not all IP networks permit ICMP traffic, or traceroute s in particular, because some system operators prohibit them for security reasons. Most routes across the Internet should provide a valid response when using the traceroute command. As you examine the output from the traceroute command, pay special attention to the variance in highest and lowest latency times ( not the average latency time). This is a good, rough estimate of jitter between each hop. Using pathping and traceroute during peak traffic periods, you'll be able to establish whether or not a particular IP route is a good place for voice traffic. You'll know the jitter and latency qualities of the network, you'll have identified problem routers and potential traffic bottlenecks, you'll know whether or not each router supports RSVP, and you'll know how well the network supports 802.1p precedence tagging.
|