340 likes | 478 Views
Multicast Configuration. Don Salvin National Center for Network Engineering Pittsburgh Supercomputing Center salvin@psc.edu. The NCNE GigaPOP (the commercial!). Originally PSCnet The network providing regional access to Pittsburgh Supercomputing Center resources.
E N D
Multicast Configuration Don Salvin National Center for Network Engineering Pittsburgh Supercomputing Center salvin@psc.edu
The NCNE GigaPOP(the commercial!) • Originally PSCnet • The network providing regional access to Pittsburgh Supercomputing Center resources. • Heavy participant in the Pennsylvania regional network (PrepNET). • After the demise of regional nets, became aggregator for Carnegie Mellon Unversity, University of Pittsburgh.
The NCNE GigaPOP • Now includes: • Carnegie Mellon University • Pennsylvania State University • University of Pittsburgh • West Virginia University (I2 only) • Also part of NLANR • National Laboratory for Applied Network Research
Housekeeping • Are we Cisco-centric? • For routers, probably • For switches, probably not • Pass around attendees signup sheet!
VERY broad overview! • Concepts • Multicast addressing • Protocols • Campus issues
Multicast Concept - RPF • Reverse path forwarding • The basic forwarding mechanism for Multicast • Different paradigm than Unicast • Forward away from the source, rather than to a destination.
Multicast Concept - RPF • Forward to interfaces which aren’t a path to the source address • If packet received on an interface that doesn’t point to the source, DROP IT. • Cause of confusion if Multicast and Unicast routing topologies aren’t congruent.
Multicast state notation • (*, G) denotes state of a group. • Also denotes Shared tree. • (S, G) indicates a traffic source within a group. • Shortest path tree
Multicast state notation • Specific Example: • (128.182.61.159, 224.2.246.13) • Group is 224.2.246.13 • This source is 128.182.61.159
Multicast state notation • Shared Tree • Conserves network resources if many members sending low data rates. • But, leads to congestion if too much traffic. • Shortest Path Tree, Also known as Source Tree. • Allows individual receivers to get optimal delivery. • May reduce congestion.
Multicast addresses • Class D address space • high order bits of address are “1110” • Therefore IP group addresses are: • 224.0.0.0 thru 239.255.255.255
Multicast addresses • Special reserved groups • 224.0.0.0 224.0.0.255 • 224.0.0.1 All systems this subnet • 224.0.0.2 All routers this subnet • 224.0.0.4 DVMRP routers • Definitive list of reserved addresses is • ftp://ftp.isi.edu/in-notes/iana/assignments/multicast-addresses
Multicast addresses - local • 239.0.0.0 through 239.255.255.255 • Locally scoped addresses. • Not unique across domains. • defined in Best Current Practices - RFC2365
Layer 2 multicast addresses • Bottom 23 bits of IP address translated to bottom 24 bits of ethernet MAC address with prefix of 01-00-5E (includes MC bit!). • There are 28 bits of unique multicast address, so the mapping potentially produces 32 (2^(28-23)) IP addresses per MAC address!
Multicast addressing • Token ring a special case, because no “multicast destination” bit.
Multicast Protocols - IGMP • Provides communication between hosts and first/last hop multicast routers. • Establishes host multicast group membership. • Senders don’t need to be members of a group.
Multicast Protocols - IGMP • Two versions - • IGMP v2 mostly upwardly compatible with v1 • RFC1112 - IGMP v1 • RFC2236 - IGMP v2 • IGMP v3 future…
Multicast Protocols - IGMP • IGMP is the protocol that hosts use to inform routers that a receiver is listening to a group. • Routers prune multicast traffic from interfaces without receivers for a group.
Multicast Protocols - IGMP • Since IP multicast traffic has the MAC layer “multicast” bit set, multicast traffic goes everywhere on a particular LAN, even if it is switched! • So there are ramifications for the LAN environment.
Multicast Constraints - IGMP snooping • Switches look at IP layer 3 to discern prunes and leaves • Stop multicast traffic going to networks without receivers
Multicast Constraints - CGMP • A Cisco’ism • IGMP aware routers and CGMP switches form client-server team to block multicast traffic from networks without any receivers
Multicast Routing Protocols - DVMRP • The “original” Mbone multicast routing protocol • Hop count based • Generates it own routing database • might be different than the underlying Unicast topolog, given: • tunnels • multicast only networks
Multicast Routing Protocols - DVMRP • Must retain (S, G) state for all multicast networks! Currently more than 7000 routes. • Doesn’t scale because: • Hop count only metrics • Imagine building a 7000 route network out of RIP!
Multicast Routing Protocols - PIM • Rely on Unicast topology
Multicast Routing Protocols - PIM - Dense Mode • Uses flood and prune • flood traffic until downstream neighbors issue a prune. • do it all over again 3 minutes later. • Good when groups are dense! • Poor over limited capacity links, such as the wide area.
Multicast Routing Protocols - PIM Sparse mode • The concept of the Rendevous Point • Receivers join to the RP • Senders register with the RP • RPF check depends on tree type • For shared trees, use RP address • For source trees, use source address • One RP per domain, mostly.
Multicast Protocols - MSDP • Multicast Source Discovery Protocol • allows RP’s in different domains to exchange information about sources. • Facilities for scoping
Multicast Routing Protocols - mBGP • BGP4 extensions to allow independent routing topologies for multicast and unicast traffic • neighbor 1.1.1.1 remote-as 1 nlri multicast • neighbor 1.1.1.1 remote-as 1 nlri unicast • neighbor 1.1.1.1 remote-as 1 nlri multicast unicast
Campus Issues • Scoping • ways of controlling the extent of distribution of multicast traffic. • by TTL • by explicit group or source addresses
Campus Issues • Unknown (to you) DVMRP based routes can cause: • RPF failures. • Your network to become a transit network for external traffic! • Ciscos automatically listen! Beware! • Ip dvmrp accept 1 • access-list 1 deny any
Campus Issues • The dangers of multiple high bandwidth streams flowing into single 10Mb nets • Some control with IGMP snooping, CGMP
How can NCNE help you? Ncne@nlanr.net
Some multicast resources • http://www.ncne.nlanr.net/faq/index.html • ftp://ftpeng.cisco.com/ipmulticast • ftp://ftpeng.cisco.com/ipmulticast/multicast_training.html