200 likes | 550 Views
Voice and Video over IP (The No Spin Zone) Rick Bagwell AREN Network Engineer Talking Points Memo VoIP --- does it really work, do I need it? Distance Learning (education speak for Video Teleconferencing) How good is this video over IP thing?
E N D
Voice and Video over IP(The No Spin Zone) Rick Bagwell AREN Network Engineer Internet and Technology for Education
Talking Points Memo • VoIP --- does it really work, do I need it? • Distance Learning (education speak for Video Teleconferencing) How good is this video over IP thing? • Common beliefs (some facts and some Misconceptions) Internet and Technology for Education
VoIP (Voyeep) • Voice over IP (Ethernet phones and IP transport) • Stable technology (yes it really works now) • Proper deployment requires: • VLAN and QoS capable infrastructure • Powered Ethernet for cleanest installations • Comprehensive dial-plan and backup plan • Robust deployment requires: • Redundant LAN and WAN connections • SRST (or equivalent to handle outages) Internet and Technology for Education
Cisco’s “five nines” Network Reference: http://www.cisco.com/en/US/customer/netsol/ns340/ns394/ns165/ns268/networking_solutions_white_paper09186a00800a113e.shtml Internet and Technology for Education
So I have to have GigE right? • Nope…. You have to have QoS • Common misperception: Voice and Video require fiber optic infrastructure • What is required? --- Adequate bandwidth, low latency, low jitter, proper QoS, and appropriate queueing (sounds like engineering doesn’t it ;-) Internet and Technology for Education
Bandwidth, Latency, and Jitter • Default Codec for VoIP is G.729 • 8kbps per voice call • 1500kbps/8kbps = 192 calls per T1 line • But you would NEVER try this! • Latency: how long it takes the packet to traverse the network. • ITU Standard G.114 states that a one-way delay of 150ms is OK • Jitter: The change in delay or latency of successive packets… • 40ms is a good rule of thumb for max jitter • This all depends on Jitter buffers and other stuff Internet and Technology for Education
Queueing and QoS Internet and Technology for Education
What’s the Problem Here? Internet and Technology for Education
Queueing • Without some sort of priority queuing, high bandwidth transmissions from the server to clients could easily fill egress queues in the switches • Weighted Fair Queueing helps alleviate this problem • Class Based Weighted Fair Queueing (CBWFQ) is better and allows more customization Internet and Technology for Education
So what does QoS do? • Classify traffic (by TCP port, IP address, pre-defined tag etc.) • Police traffic, queue traffic, shape traffic • Tag traffic for specific treatment by peers • Part of an end to end QoS design Internet and Technology for Education
Types of QoS Tagging • Layer2: CoS (Class of Service field) • Defined in 802.1p (part of 802.1Q) • Ethernet frame is altered • 3 bits = 8 levels • Layer3: ToS (Type of Service) • IP packet tagging • ToS field as 3bits for precedence = 8 levels • Layer3: DiffServ (Differentiated Services) • DSCP allows for 64 levels of prioritization Internet and Technology for Education
Distance Learning • The Wide-Area Challenge • How do I provide good Quality Video Conferencing over my WAN? • Many of the same issues that need to be addressed with VoIP also need to be addressed here • H.323 can provide good quality video if properly and methodically deployed • H.264 codec makes it work even better Internet and Technology for Education
Common Problems with H.323 • Many Education Networks have limited bandwidth connections with little funding for upgrades (Small Pipes) • Most school system networks are behind firewalls and NAT (Can be Tricky.. strange audio/video problems) • Duplex and Speed !!!! Internet and Technology for Education
The Small Pipe Issue • In Alabama, many schools connect to their system’s network (and then the Internet) through point to point DS1 (T1s) – 1.5Mbps • A single H.323 VTC connection with decent quality uses 384kbps (+overhead) • Conservative Rule of Thumb recommended by Cisco is 20% overhead ~460kbps • So… a single H.323 session at 384kbps uses almost 1/3 of a T1 line (for design purposes) • And the real problem…. Most large schools fill the pipe with just Internet traffic Internet and Technology for Education
Solution: Quality of Service (QoS) • QoS enabled using DSCP tagging and CBWFQ on routers and layer3 switches • Differentiated Services Code Point (DSCP) • Class-Based Weighted Fair Queueing (CBWFQ) • Traffic is classified and tagged at routers based on source/destination IP address • Schools often don’t use VLANs and have switches (or hubs!) with no QoS support at layer2 • So No CoS 802.1p can be used Internet and Technology for Education
Problems With Firewalls (and NAT) • H.323 uses multiple tcp connections and udp ports simultaneously for VTC • The H.323 standard assigns ports dynamically from 1024 to 65535 • During call setup, the IP address of the calling party is sent to the called party in the data field of the IP packet (so NAT can’t translate it) Internet and Technology for Education
Solutions to the Firewall Problem • Don’t NAT H.323 clients • Well…. what’s the firewall doing then? • May or may not open the H.323 client to all ports • Probably not a good idea to open everything! • NAT H.323 and rely on the client to be “smart” enough to work through the firewall/NAT • Polycom and Tandberg clients can be told to use specific ports. These clients can also be configured to know their real “outside address” and can use this address in handshaking • NAT H.323 and rely on the firewall to be “smart” enough to work everything out • Application Proxy, “Fixup protocol” - Must turn off encryption • Use an additional device to perform the Application Proxy • May be useful when deploying a standard solution across diverse networks Internet and Technology for Education
Duplex and Speed Issues • This is the single most common problem with VoIP and H.323 VTC implementations • Do NOT use AUTO setting • It seems like it never really works • Manually set Speed and Duplex between all switches and routers (switch to switch, or router to switch). • Manually set Speed and Duplex between VTC equipment or VoIP equipment and switches • Auto should only be used on switch interfaces connecting to PCs not used for Voice or Video Internet and Technology for Education
AREN Provides Support • AREN Network is designed to support video through Quality of Service Guarantees (QoS). • If both ends of the call are inside AREN, we can prioritize the call. • If the call is to an Internet2 member the quality will be good. • If the call goes through the Public Internet….. • AREN staff is experienced in VTC troubleshooting (duplex, speed, firewalls, droped packets, etc..) Internet and Technology for Education
The Gold Standard Advantage • Quality of Service • ASA/AREN can prioritize traffic and guarantee quality video • Technical Support • Onsite and telephone support of schools’ video conferencing initiatives • Contact Kim Carroll at kcarroll@asc.edu to receive a quote for support services • Contact the AREN NOC (800-338-8320) to inquire about or activate QoS Internet and Technology for Education