KTHNOC, PIM-SM lab, rev: 1.7. PIM-SM lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Date. Grade. Instructor s Signature

Similar documents
KTH/CSC, PIM-SM lab, rev: 1.13 KTH/CSC. PIM-SM lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Name5. Grade. Instructor s Signature

KTHNOC, OSPF lab, rev: OSPF-lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Date. Grade. Instructor s Signature

KTH/CSC, RIP lab, rev: 1.13 KTH/CSC. RIP lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Date. Grade. Instructor s Signature

KTHNOC, MPLS/RSVP lab, rev: 1.7 KTHNOC. MPLS/RSVP lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Date. Grade. Instructor s Signature

MPLS/RSVP/BGP lab KTH CSC. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Name5. Grade. Instructor s Signature

KTH CSC, OSPF lab, rev: 1.15 KTH CSC. OSPF lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Date. Grade. Instructor s Signature

ASM. Engineering Workshops

Router Lab Reference

Implementing Multicast Service Reflection

Static routing lab KTH/CSC. Juniper version. Group Nr. Name 1. Name 2. Name 3. Name 4. Date. Grade. Instructor s Signature

DD2490 p IP Multicast routing. Multicast routing. Olof Hagsand KTH CSC

Introduction to Routing

Advanced Network Training Multicast

Table of Contents Chapter 1 Multicast Routing and Forwarding Configuration

Table of Contents 1 MSDP Configuration 1-1

Multicast Communications

Table of Contents 1 MSDP Configuration 1-1

Configuring MSDP. MSDP overview. How MSDP works. MSDP peers

Configuring PIM. Information About PIM. Send document comments to CHAPTER

Network Configuration Example

Configuring a Rendezvous Point

ICS 351: Today's plan. routing protocol comparison encapsulation network dynamics multicasting in general IP multicasting IGMP PIM

Configuring Bidirectional PIM

IP Multicasting: Explaining Multicast Cisco Systems, Inc. All rights reserved. Cisco Academy

Configuring IP Multicast Routing

IPv6 PIM. Based on the forwarding mechanism, IPv6 PIM falls into two modes:

Accurate study guides, High passing rate! Testhorse provides update free of charge in one year!

Contents. Configuring MSDP 1

Configuring IP Multicast Routing

PIM-SM Multicast Routing

Configuring Basic IP Multicast

Table of Contents 1 PIM Configuration 1-1

Network Configuration Example

Table of Contents 1 Multicast VPN Configuration 1-1

IP Multicast Technology Overview

Configuring Basic IP Multicast

This module describes how to configure IPv6 Multicast PIM features.

Lab 7-3 Routing IP Multicast with PIM Sparse Mode

Configuring IP Multicast Routing

Configuring MSDP. Overview. How MSDP operates. MSDP peers

List of groups known at each router. Router gets those using IGMP. And where they are in use Where members are located. Enhancement to OSPF

What is IPv4 multicast? Deference between Unicast & Multicast Simulate Multicast Streaming using one Machine

IPv6 Multicast: PIM Sparse Mode

Network Configuration Example

Exercises to Communication Systems

Introduction xvii. Assessment Test xxxiii

ETSF10 Internet Protocols Routing on the Internet

Configuring SSM. Finding Feature Information. Prerequisites for Configuring SSM

IP Multicast: Multicast Services Configuration Guide, Cisco IOS XE Release 3S

IPv6 Multicast: PIM Sparse Mode

Configuring multicast VPN

Configuring IP Multicast Routing

IP Multicast: PIM Configuration Guide, Cisco IOS XE Release 3S

IP Multicast: PIM Configuration Guide

Financial Services Design for High Availability

Multicast Technology White Paper

Juniper.Selftestengine.jn0-694.v by.KIM-HL.52q

IP Multicast Optimization: Optimizing PIM Sparse Mode in a Large IP Multicast Deployment

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

Anniversary Retrospective: Where Multicast Has Been & Where It s Headed.

PIM Configuration. Page 1 of 9

Internet2 Multicast Workshop

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15S

Implementing Layer-3 Multicast Routing on Cisco IOS XR Software

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15M&T

MLD. MLDv1 (defined in RFC 2710), which is derived from IGMPv2. MLDv2 (defined in RFC 3810), which is derived from IGMPv3.

Copyright 2009 Internetwork Expert i

Implementing Layer-3 Multicast Routing on Cisco IOS XR Software

IP Multicast Technology Overview

BASIC MULTICAST TROUBLESHOOTING. Piotr Wojciechowski (CCIE #25543)

FSOS Multicast Configuration Guide

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15SY

IP Multicast: PIM Configuration Guide

Module 7 Implementing Multicast

What is Multicasting? Multicasting Fundamentals. Unicast Transmission. Agenda. L70 - Multicasting Fundamentals. L70 - Multicasting Fundamentals

IP Multicast: PIM Configuration Guide, Cisco IOS Release 12.4T

Table of Contents 1 IGMP Configuration 1-1

Multicast H3C Low-End Ethernet Switches Configuration Examples. Table of Contents

Multicast Communications. Tarik Čičić, 4. March. 2016

Implementing IPv6 Multicast

Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router, Release 5.1.x

Network Configuration Example

IP Multicast. Falko Dressler Regionales Rechenzentrum Grundzüge der Datenkommunikation IP Multicast

LISP Multicast. Finding Feature Information. Prerequisites for LISP Multicast

Monitoring and Maintaining IP Multicast

UDLR Unidirectional Link Routing overview and examples

HPE FlexNetwork HSR6800 Routers

Lab 7-1 Implementing IGMP and IGMP Snooping

HPE FlexNetwork 7500 Switch Series

IPv6 Multicast Listener Discovery Protocol

IGMP Proxy. Finding Feature Information. Prerequisites for IGMP Proxy

Vendor: Juniper. Exam Code: JN Exam Name: Enterprise Routing and Switching Support, Professional (JNCSP-ENT) Version: Demo

Configuring basic MBGP

IP Multicast Survival Guide Part 2

4.2 Multicast IP supports multicast to support one-to-many (radio, news, IP multicast was originally a many-to-many (any source MC or

Multicast Quick Start Configuration Guide

DATA COMMUNICATOIN NETWORKING

IP Multicast Routing Technology Overview

Table of Contents 1 MBGP Configuration 1-1

Transcription:

KTHNOC, PIM-SM lab, rev: 1.7 KTHNOC PIM-SM lab Juniper version Group Nr Name1 Name2 Name3 Name4 Date Grade Instructor s Signature

Table of Contents 1 Goals...3 2 Preparations...3 3 Install multicast application...3 4 Setting up unicast routing...4 5 Multicast...5 6 RP Load sharing: Bootstrap Router Mechanism...6 7 Cleanup...6 8 References...7 2

1 Goals The goal with this lab is to introduce you to multicast routing within an internal network using Protocol Independent Multicast Sparse Mode. In the lab, you will use IS-IS to provide unicast routing and the mcast tool to generate and monitor multicast traffic. You will also get an insight into IGMP anycast-rp and MSDP. 2 Preparations Before you begin this lab, please consult documents [1] and [2]. Ensure that you have the network map of topology 1 [3]. You should also have read the lecture notes and RFC pages about PIM-SM and IGMP. It is assumed that you have made the IS-IS lab[4] before this lab. Before you begin the lab, answer the following questions. 1. Which IGMPv2 messages exists? 2. What is the difference between a RP Tree and a Shortest path tree? 3. How does PIM-SM switch between the two trees? 4. Name four techniques to assign RP:s Milestone 1: Preparation. Signature: 3 Install the multicast application In this lab, you will use a multicast application on the workstations called mcast. Mcast consists of two applications: 1. mcast - sends UDP/IP multicast packets to a multicast group. 2. mrcv - joins a group and receives UDP/IP multicast packets. If the applications are not installed on the workstations, you can retrieve the software package from http://www.nada.kth.se/~olofh/mcast.tgz. Unpack it, configure, compile and install it, if this is not already done: > wget http://www.nada.kth.se/~olofh/mcast.tgz > tar xzf mcast.tgz > cd mcast >./configure > make > make install 3

You can modify the use of the mcast applications using commandline options: use -h to see which exists. Example 1: Send traffic to an unbounded duration to multicast group 239.1.2.3, port 8989 on interface bge1. By default, the application sends one datagram per second. > mcast -i bge1 -d 0 239.1.2.3:8989 Example 2: Receive traffic destined to 239.1.2.3 port 8989 on interface bge1: > mrcv -i bge1 239.1.2.3:8989 If traffic arrives to mrcv, it will print messages on the terminal. If not, it will remain silent. One multicast address will be used per workstation for sending traffic. This multicast address is: 239.0.X.Y where X is 1 for group A, 2 for group B, etc; and Y is 1 for RTX1, 2 for RTX2, etc. Example: RTC4 uses sending multicast address 239.0.3.4. Write your sending multicast addresses: 4 Setting up unicast routing using ISIS Set up your network as a square according to the figure and network topology 1[3]. Set up ISIS as IGP to take care of your unicast routing. You always need a unicast routing protocol in order for PIM to work. Why is this? Set up IS-IS by configuring all networks according to topology map 1. Remember to add family iso on all interfaces. Configure fe-0/0/0 and lo0 as passive ISIS interfaces. Configure the first 10/8 address on your loopback interface and assign your router-id as usually. 4

Ensure that unicast works between all workstations and routers using ping and traceroute. 5 IGMP It might be a good idea to test the application by sniffing the packets using monitor traffic option to ensure that the multicast datagrams actually are sent on the network. If not, there might be problems with the routing table, for example. Start a multicast sender on one work-station and sniff the packets using monitor traffic option on the router. Continue monitoring the state throughout the lab. What multicast packets do you see? Start a receiver on a workstation. What multicast packets do you now see? 6 PIM-SM Multicast part 1 Sender Receiver RP Figure 1: One sender and one receiver You will now try to configure PIM for the simple case of one sender, one receiver, and one RP as shown in the figure. The aim of this part is to investigate shared RP-trees and source-based SPT:s. Turn on pim on fe-0/0/0, fe-1/0/0, fe-1/0/1 and lo0 on all routers. Hint: you can turn on PIM on all interfaces using: interface all. Select one of the routers (such as RTX2) and assign it's router-id as a static RP. Do this on all routers. On the RP you need to specify which local address you have chosen as RP-address. 5

Investigate the PIM state. What does the show pim rps command show? Start a multicast receiver on one work-station, such as X4 and a sender on X1. The aim is to get a suboptimal multicast delivery via the RP. If ISIS chooses the RPT path via the sender, try to change the metrics it so that it resembles the figure above. Ensure that you use the -i option on mcast/mrcv so that you use the router-network. Use UDP port 7979, for example. Use tcpdump to detect multicast activity on the sender as well as the receiver workstations. What IGMP and multicast activity do you see now? Investigate the IGMP state on the routers. How can you find out the IGMP querier on the networks? On which router interfaces is IGMP enabled? Investigate the PIM state. Explain the output of show pim join extensive on the relevant routers RTX1 and RTX4. How many trees do you see? Try to explain every field of the output. Has an SPT been created directly from the sender to the receiver? How can you see this? 6

Milestone 2: Show a working multicast configuration. Signature: 7 PIM-SM Multicast part 2* Continue the previous lab with starting one multicast sender and three multicast receivers per workstation using the workstationspecific multicast addresses. Start one window for each receiver. Ensure that you get multicast traffic to each receiver that you have started. You should get traffic from one receiver on each group. Alternatively, you can start many senders per group. Investigate the PIM state in the routers. Which multicast trees can you see? 8 PIM-SM Multicast in the world RP World Select one group (with the highest letter, for example) to have a master RP. Declare this master RP in all your routers statically and remove your own RP. Now connect all groups by connecting RTX4 to the hub as shown in the Figure. Listen to all multicast groups 239.0.X.1 (start a window per mrcv) and start sending on your own multicast group 239.0.X.1. Also look at the traffic. Investigate the state. Which trees do you see? How is the multicast traffic going? 7

Milestone 3: Multicast in the world. Signature: 9 RP Load sharing: Anycast-RP and MSDP In order for Anycast-RP to work, you should first define an anycast address. Choose 10.6.0.1/32 as the anycast address on all groups. This is simply an extra loopback address, but you must ensure that you declare another loopback address as primary and preferred. Why do you think this is necessary? Ensure that this address is announced via ISIS and that you change the RP configuration to 10.6.0.1 on all routers. How is the anycast address displayed in ISIS? You now have to configure MSDP between the RP:s. You do this by declaring which other RP:s are peers. You also need to define a local address. Do not use the anycast address as local! You also need an MSDP export policy. The export policy declares which (S,G) pairs are announced. You can allow all routes in your policy. Investigate the routing tables. Which new routing tables are used (apart from inet.0)? What are their roles? Investigate the state. Which trees do you see? How is the multicast traffic going? Milestone 4: Anycast-RP and MSDP. Signature: 8

10 Cleanup To reset the machines to their initial state, follow the following steps for all routers. 1. Reset the configuration by loading (using override) the /root/labconf configuration. Also do not forget to log out from your workstations. 11 References [1] KTHNOC Router lab Introduction - Juniper version [2] KTHNOC Router lab Reference - Juniper version [3] KTHNOC Router lab Netmap - Topology 1 [4] KTHNOC IS-IS lab 9