IP Multicast and IGMP: Hewlett-Packard Procurve Switch 4108GL Default Behavior, Address Mapping, and Reserved Addresses



Similar documents
Can PowerConnect Switches Be Used in IP Multicast Networks?

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

SUBNETTING SCENARIO S

hp ProLiant network adapter teaming

How To Understand and Configure Your Network for IntraVUE

M2M Series Routers. Virtual Router Redundancy Protocol (VRRP) Configuration Whitepaper

Digi Certified Transport Technician Training Course (DCTT)

Multimedia Traffic Control with IP Multicast (IGMP)

The IP Transmission Process. V1.4: Geoff Bennett

CS 326e F2002 Lab 1. Basic Network Setup & Ethereal Time: 2 hrs

Packet Tracer - Subnetting Scenario 1 (Instructor Version)

What is VLAN Routing?

4m. MONITORING OF ETHERNET/IP NETWORK TRAFFIC.

Lab IP Addressing Overview

Packet Capture. Document Scope. SonicOS Enhanced Packet Capture

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

One of the most important topics in any discussion of TCP/IP is IP. IP Addressing

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

Expert Reference Series of White Papers. Binary and IP Address Basics of Subnetting

Virtual PortChannels: Building Networks without Spanning Tree Protocol

IP Addressing A Simplified Tutorial

Lab a Basic Subnetting

You can probably work with decimal. binary numbers needed by the. Working with binary numbers is time- consuming & error-prone.

Packet Tracer 3 Lab VLSM 2 Solution

Quality of Service (QoS): Managing Bandwidth More Effectively on the Series 2600/2600-PWR and Series 2800 Switches

Technical Support Information Belkin internal use only

Chapter 19 Network Layer: Logical Addressing 19.1

Introduction to IP v6

Port Trunking. Contents

Layer 3 Redundancy with HSRP By Sunset Learning Instructor Andrew Stibbards

Source net: Destination net: Subnet mask: Subnet mask: Router Hub

Firewall Defaults and Some Basic Rules

Enabling NAT and Routing in DGW v2.0 June 6, 2012

- IPv4 Addressing and Subnetting -

IP Addressing Introductory material.

Session Title: Exploring Packet Tracer v5.3 IP Telephony & CME. Scenario

Primary VLAN. This document shows how to view and change the primary VLAN for the HP Procurve Series 2500 Switches:

- Multicast - Types of packets

Module 10 Subnetting Class A, B and C addresses. Solutions to the Lab Exercises a, b, c and d

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

Vocia MS-1 Network Considerations for VoIP. Vocia MS-1 and Network Port Configuration. VoIP Network Switch. Control Network Switch

CCNP SWITCH: Implementing High Availability and Redundancy in a Campus Network

- Multiprotocol Label Switching -

Chapter 2 TCP/IP Networking Basics

Lab - Using Wireshark to View Network Traffic

Network Basics GRAPHISOFT. for connecting to a BIM Server (version 1.0)

Microsoft Network Load Balancing and Cisco Catalyst Configuration

Sample Configuration Using the ip nat outside source static

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Cisco Which VPN Solution is Right for You?

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID.

Expert Reference Series of White Papers. Basics of IP Address Subnetting

IP Multicasting. Applications with multiple receivers

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

Packet Monitor in SonicOS 5.8

IPv6 Addressing. Awareness Objective. IPv6 Address Format & Basic Rules. Understanding the IPv6 Address Components

Networking Basics for Automation Engineers

Chapter 3 Configuring Basic IPv6 Connectivity

Savera Tanwir. Internet Protocol

How To Load balance traffic of Mail server hosted in the Internal network and redirect traffic over preferred Interface

1 PC to WX64 direction connection with crossover cable or hub/switch

Configuring Static and Dynamic NAT Simultaneously

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

application note LAN Power: HP Web QoS with HP ProCurve Switches What is WebQoS? How WebQoS Classifies and Prioritizes Traffic

Internet Protocol Multicast

TCP/IP Addressing and Subnetting. an excerpt from: A Technical Introduction to TCP/IP Internals. Presentation Copyright 1995 TGV Software, Inc.

Appendix B Network, Routing, Firewall, and Basics

CHAPTER. IP Multicast Configuration

CHAPTER 10 LAN REDUNDANCY. Scaling Networks

Migration from Cisco GLBP to industry standard VRRPE

The Subnet Training Guide

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

CHAPTER 10 IP MULTICAST

Clustering. Configuration Guide IPSO 6.2

IP videoconferencing solution with ProCurve switches and Tandberg terminals

UPPER LAYER SWITCHING

Cisco Networking Academy CCNP Multilayer Switching

CCNP Switch Questions/Answers Implementing High Availability and Redundancy

Chapter 4 Rate Limiting

Overview: Load Balancing with the MNLB Feature Set for LocalDirector

Firewall Defaults, Public Server Rule, and Secondary WAN IP Address

VRRPv3: Object Tracking Integration

Alcatel-Lucent OXO Configuration Guide. For Use with AT&T s IP Flexible Reach Service. Version 1 / Issue 1 Date July 28, 2009

Lab Testing Summary Report

Chapter 4 Customizing Your Network Settings

CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing

CCNA Tutorial Series SUBNETTING

Lab 7.1.9b Introduction to Fluke Protocol Inspector

Network and Host Addresses , Cisco Systems, Inc. All rights reserved. INTRO v1.0a 6-4

TCP/IP Drill Pack. By Donna Warren. Created by Donna P. Warren Revised: 1/2/2012 Page 1 of 19

Chapter 3 LAN Configuration

Security and Access Control Lists (ACLs)

- Introduction to PIX/ASA Firewalls -

Efficient Video Distribution Networks with.multicast: IGMP Querier and PIM-DM

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

TCP/IP Basis. OSI Model

VXLAN: Scaling Data Center Capacity. White Paper

Module 2: Assigning IP Addresses in a Multiple Subnet Network

Transcription:

IP Multicast and IGMP: Hewlett-Packard Procurve Switch 4108GL Default Behavior, Address Mapping, and Reserved Addresses This article applies to the following Hewlett-Packard Procurve Switch: 4108GL (J4865A) and 4108GL bundle (J4861A). The Switch 4108GL and 4108GL bundle implement IGMP version 2 and are compliant with RFC 2236. This tech note assumes that you have already read the IGMP chapter in the HP Procurve Switch 4108GL Management and Configuration Guide. For general information on the operation of IGMP, see the manual section How IGMP Operates. Sometimes, users configure IGMP on the 4108GL, but IP multicast pruning (that is, filtering or blocking) does not begin immediately. The following discussions explain some of those scenarios. Default Behavior with respect to Pruning, Before Joins The Switch 4108GL floods IP multicast packets unless it receives an indication that hosts are running IGMP (Internet Group Management Protocol). Once the switch receives a Join (IGMP Membership Report) for a particular multicast group, the switch will prune outgoing traffic for that group for all ports that did not receive a Join. The reason that the switch does not block all IP multicast traffic by default (that is, regardless of Joins) is that some applications use IP multicast addresses, but not IGMP. These applications rely on not having their traffic filtered (pruned) by switches. Users can limit the IP multicast traffic using either of the following alternatives: 1) Start up an IGMP client so that it will do a Join, thereby causing the switch to start filtering the IP multicast traffic; or 2) Do not start the IP multicast server until clients are ready to do Joins.

IP Multicast -> Ethernet Multicast Address Mapping An IP multicast packet's destination IP address maps to, and therefore determines, the packet's Ethernet destination address. That is, IP multicast -> Ethernet Multicast. This mapping and some of its implications are complicated, however. The following discussion describes how packets with four different IP multicast addresses will be treated identically by the Switch 4108GL. RFC 2236 Internet Group Management Protocol, Version 2 specifies that IP multicast addresses are class D IP addresses. These addresses have 0xE hexadecimal, which is 1110 binary, in the high order four bits of the high order byte (see the blue bits in the diagram below). The next five bits after the 0xE (see the gray bits and the purple bit) are not mapped into the Ethernet address, so they are "don't care" bits. Per RFC 1112, the low-order 23 bits of the IP multicast address determine the low-order 23 bits of the Ethernet address (see the red bits in the diagram). RFC 1700 Assigned Numbers tells us that, for IP multicast packets, the upper 24 bits of the Ethernet address are always 0x01005E (see green bits). HP Procurve switches look for 0x01005E at the beginning of the destination MAC address in order to identify IP multicast packets that it should consider for pruning. Four Example IP Multicast Addresses: Decimal Hexadecimal Binary ------------- ------------- --------------------------------------- 224.138.18.52 (E0-8A-12-34) 1110 0000 1000 1010 0001 0010 0011 0100 226.10.18.52 (E2-0A-12-34) 1110 0010 0000 1010 0001 0010 0011 0100 228.10.18.52 (E4-0A-12-34) 1110 0100 0000 1010 0001 0010 0011 0100 239.138.18.52 (EF-8A-12-34) 1110 1111 1000 1010 0001 0010 0011 0100 Ethernet Address mapped IP Address (hexadecimal) E v 0/8 A 1 2 3 4 ---- ---- ---- ---- ---- ---- ---- ---- 1110 vvvv v000 1010 0001 0010 0011 0100 --------- --------- --------- --------- Not -> \ / Mapped \ / \ / / \ / \ / \ -------- -------- -------- -------- -------- -------- 00000001 00000000 01011110 00001010 00010010 00110100 -------- -------- -------- -------- -------- -------- 0 1 0 0 5 E 0 A 1 2 3 4

Diagram footnote: A "v" means that the corresponding IP multicast bit varies, based on the specific IP multicast address. Note that the "v" bits do not map into the Ethernet address. The example above shows how all addresses with 224 through 239 decimal in the first byte of the IP multicast address all map to the same Ethernet address. Note that the high order bit in the 2 nd byte of the IP multicast address, namely bit 24 of the full address (see the bit in purple), does not map into the Ethernet address. Therefore, we cannot distinguish between 10 (0x0A) and 138 (0x8A) in the 2 nd byte of the IP multicast address in the example above. In the Ethernet address, bit 24, the highorder bit of the second byte, is set to zero per the IANA (Internet Assigned Numbers Authority), and is reserved for other uses. This is specified in the Ether Types document at: http://www.iana.org/assignments/ethernet-numbers The four IP multicast addresses shown in the diagram above all map to the same Ethernet address, 0x01005E-0A1234. - Why does this matter? The 4108GL's IGMP implementation looks at destination Ethernet addresses in order to recognize multicast IP traffic, so the switch treats the four IP multicast addresses above identically, with respect to pruning. Users must take care to choose IP multicast addresses that generate proper Ethernet addresses. That is, the Ethernet address must not conflict with the Ethernet address of other IP multicast addresses on the same network. Also, the Ethernet addresses must not conflict with reserved or in-use IP multicast addresses. This is discussed further in the next section. Reserved and In-Use IP Multicast Addresses Sometimes, users unintentionally configure an IP multicast address that is reserved or in use into their multicast server. As a result, the server's multicast traffic may be always forwarded (or never forwarded), regardless of the IGMP configuration, Joins, etc. There are generally two reasons that this happens: 1) the complexity (see the previous section) of the IP multicast address-to- Ethernet address mapping; or 2) conflict with reserved and in-use multicast addresses.

Reserved and in-use IP multicast addresses are handled specially by switches that implement IGMP. An understanding of these special addresses will help users avoid this problem. In-use addresses. The Cisco router HSRP (Hot Standby Routing Protocol) uses the IP multicast address range 238.0.0.0 through 238.0.0.255. Cisco routers do not issue IGMP packets (Joins, for example) to help switches determine where this multicast traffic should be forwarded. For this reason, the 4108GL always forwards packets in the HSRP address range. If the switch were to filter these packets, it would interfere with the Cisco HSRP protocol. As stated in the previous section, the 4108GL's IGMP implementation looks at destination Ethernet MAC addresses, not at the IP address, in order to recognize multicast IP traffic. And the IP multicast-to-ethernet multicast address mapping illustrated in the previous section showed that the four IP multicast addresses, 224.138.18.52, 226.10.18.52, 228.10.18.52, and 239.138.18.52, all map to the same Ethernet address. So, because of the don't care bits in the IP multicast address, all of the addresses in table below map to Ethernet address 01005e-0a1234. These addresses all correspond to the HSRP IP multicast address range. The 4108GL also treats the X.128.0.X addresses as being equivalent to X.0.0.X, in case the setting of the IANA reserved bit (bit 24) changes. The 4108GL's handling of special addresses has not been documented correctly in all versions of the Procurve Switch 4108GL Management and Configuration Guide. Some versions of the guide state: Traffic to IP multicast groups in the IP range of 224.0.0.0 to 224.0.0.225 will always be flooded because addresses in this range are "well known" or "reserved" addresses. This statement is incomplete because the 4108GL never filters IP multicast packets which contain any of the following 32 IP multicast address ranges in the IP Destination field, where X is any value: 224.0.0.X, 225.0.0.X, 226.0.0.X, 227.0.0.X, 228.0.0.X, 229.0.0.X, 230.0.0.X, 231.0.0.X, 232.0.0.X, 233.0.0.X, 224.128.0.X, 225.128.0.X, 226.128.0.X, 227.128.0.X, 228.128.0.X, 229.128.0.X, 230.128.0.X, 231.128.0.X, 232.128.0.X, 233.128.0.X,

234.0.0.X, 235.0.0.X, 236.0.0.X, 237.0.0.X, 238.0.0.X, 239.0.0.X, 234.128.0.X, 235.128.0.X, 236.128.0.X, 237.128.0.X, 238.128.0.X, 239.128.0.X Reserved Addresses. Some IP multicast addresses are reserved. Some of these addresses should never be forwarded by switches that implement IGMP. For details, see the Internet Multicast Addresses document at: http://www.iana.org/assignments/multicast-addresses This list is dynamic, so it is recommended that users do not rely on the reserved address information presented in network device manuals. Recommended Addresses For Local Use The IANA provides address range 239.252.0.0-239.255.255.255 for so-called Site- Local Scopes. The IANA intends that users use these addresses within their enterprise network, but not on the Internet. To be safe, users should use a LAN analyzer to verify that their target addresses are not used by other applications. Finding RFCs To locate an RFC, search the web for: Connected: An Internet Encyclopedia Finding HP Procurve Manuals To locate an HP Procurve manual, go to www.hp.com/go/hpprocurve, select Technical Support, then Manuals. 10/04/2001