Ssmping/asmping Stig Venaas What is ssmping? A tool for testing multicast connectivity Behavior is a bit like normal ping A server.

Slides:



Advertisements
Similar presentations
UKERNA IP Multicast Hands-on Workshop Lab 3: IP Multicast, Inter-domain Networkshop 2006.
Advertisements

IEEE 802.1ag Ethernet OAM Ronald van der Pol SARA Architecture Workshop, 1-2 Dec, Amsterdam.
Xing Li CERNET NOC/TEIN2 NOC
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Impact Analysis of Cheating in Application Level Multicast s 1090176 Masayuki Higuchi.
Multicast Fundamentals n The communication ways of the hosts n IP multicast n Application level multicast.
Multicast troubleshooting with ssmping and asmping
Computer Science 6390 – Advanced Computer Networks Dr. Jorge A. Cobb How to provide Inter-domain multicast routing? PIM-SM MSDP MBGP.
Internet Control Message Protocol (ICMP)
1 Internet Networking Spring 2004 Tutorial 7 Multicast Routing Protocols.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 3 1 IP Multicasting: Multicast Routing Protocols.
Slide Set 15: IP Multicast. In this set What is multicasting ? Issues related to IP Multicast Section 4.4.
Internet Networking Spring 2002
Chapter 23: ARP, ICMP, DHCP IS333 Spring 2015.
CPSC 441 TUTORIAL – MARCH 7, 2012 TA: MARYAM ELAHI NETWORK TOOLS.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Support Protocols and Technologies. Topics Filling in the gaps we need to make for IP forwarding work in practice – Getting IP addresses (DHCP) – Mapping.
Terralite Solutions.  TCP/IP setting for communications  Subscription  Unicast  Multicast  UDP  Communications troubleshooting.
CCNA Introduction to Networking 5.0 Rick Graziani Cabrillo College
TCP/IP Protocol Suite 1 Chapter 9 Upon completion you will be able to: Internet Control Message Protocol Be familiar with the ICMP message format Know.
1 Version 3.1 Module 4 Learning About Other Devices.
Networking Feb. 6, 2008 by Larry Finger. Networking Hardware Glossary RJ45 – Official name for 8-pin connector Cat 5, 5E or 6 - Cable suitable for “high”-speed.
Network Administration
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
Exploring the Packet Delivery Process Chapter
ICMP : Internet Control Message Protocol. Introduction ICMP is often considered part of the IP layer. It communicates error messages and other conditions.
UKERNA IP Multicast Mini Workshop Intra-domain Multicast Hands-on Lab Exercises Networkshop 2006.
CSC 600 Internetworking with TCP/IP Unit 8: IP Multicasting (Ch. 17) Dr. Cheer-Sun Yang Spring 2001.
CS 5565 Network Architecture and Protocols Godmar Back Lecture 22.
1 IPv6 multicast Stig Venaas 2 Overview IPv6 multicast addresses and scopes IPv6 multicast protocols Interdomain IPv6 multicast Current.
Advances in Multicast - The Promise of Single Source Multicast (SSM) (with a little on multicast DOS) Marshall Eubanks Multicast Technologies
Broadcast and Multicast. Overview Last time: routing protocols for the Internet  Hierarchical routing  RIP, OSPF, BGP This time: broadcast and multicast.
IP Multicast Lecture 3: PIM-SM Carl Harris Communications Network Services Virginia Tech.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
1 Internet Control Message Protocol (ICMP) Used to send error and control messages. It is a necessary part of the TCP/IP suite. It is above the IP module.
Computer Science 6390 – Advanced Computer Networks Dr. Jorge A. Cobb Deering, Estrin, Farinacci, Jacobson, Liu, Wei SIGCOMM 94 An Architecture for Wide-Area.
Multicast Routing Protocols. The Need for Multicast Routing n Routing based on member information –Whenever a multicast router receives a multicast packet.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
Lector: Aliyev H.U. Lecture №10 Multicast network software design TASHKENT UNIVERSITY OF INFORMATION TECHNOLOGIES THE DEPARTMENT OF DATA COMMUNICATION.
Interdomain multicast routing with IPv6 Stig Venaas University of Southampton Jerome Durand RENATER Mickael Hoerdt University Louis Pasteur - LSIIT.
Interdomain IPv6 multicast Stig Venaas UNINETT. PIM-SM and Rendezvous Points Interdomain multicast routing is usually done with a protocol called PIM-SM.
AODV: Introduction Reference: C. E. Perkins, E. M. Royer, and S. R. Das, “Ad hoc On-Demand Distance Vector (AODV) Routing,” Internet Draft, draft-ietf-manet-aodv-08.txt,
© J. Liebeherr, All rights reserved 1 IP Multicasting.
1 © 2000, Cisco Systems, Inc _05_2000_c2 Server Router Unicast Server Router Multicast Unicast vs. Multicast.
IPv6 Site Renumbering Gap Analysis draft-ietf-6renum-gap-analysis-01 draft-ietf-6renum-gap-analysis-01 Bing Liu(speaker), Sheng Jiang, Brian.E.Carpenter.
Draft-ietf-pim-source- discovery-bsr-01 IJsbrand Wijnands, Stig Venaas, Michael Brig,
IETF78 Multimob Masstricht1 Proposal for Tuning IGMPv3/MLDv2 Protocol Behavior in Wireless and Mobile networks draft-wu-multimob-igmp-mld-tuning-02 Qin.
Multicast Routing Babu Ram Dawadi.
IETF 81 th Multicast Extensions to DS-Lite Technique in Broadband Deployments draft-qin-softwire-dslite-multicast-04 Wang, Q., Qin, J., Boucadair, M.,
IPv6 Site Renumbering Gap Analysis draft-ietf-6renum-gap-analysis-01 draft-ietf-6renum-gap-analysis-01 Bing Liu(speaker), Sheng Jiang, Brian.E.Carpenter,
Network Layer: Address Mapping, Error Reporting, and Multicasting
Engineering Workshops 136 Inter-domain Multicast.
Protecting Multicast- Enabled Networks Matthew Davy Indiana University Matthew Davy Indiana University.
6DEPLOY. IPv6 Deployment and Support
IP Multicast Lecture 4: PIM-SM Carl Harris Communications Network Services Virginia Tech.
Engineering Workshops 96 ASM. Engineering Workshops 97 ASM Allows SPTs and RPTs RP: –Matches senders with receivers –Provides network source discovery.
Connect communicate collaborate Performance Metrics & Basic Tools Robert Stoy, DFN EGI TF, Madrid September 2013.
Lecture#6:Connectivity Verification
DMET 602: Networks and Media Lab
Diagnosing PIM Protocol States PIM Working Group
V4-over-v6 MVPNs.
Stig Venaas ssmping/asmping Stig Venaas
Lecture#7:Connectivity Verification
Internet Control Message Protocol (ICMP)
Lecture#6:Connectivity Verification
Internet Control Message Protocol
Implementing Multicast
TCP/IP Protocol Suite 1 Chapter 9 Upon completion you will be able to: Internet Control Message Protocol Be familiar with the ICMP message format Know.
Presentation transcript:

ssmping/asmping Stig Venaas

What is ssmping? A tool for testing multicast connectivity Behavior is a bit like normal ping A server must run ssmpingd A client can ping a server by sending unicast ssmping query Server replies with both unicast and multicast ssmping replies In this way a client can check that it receives SSM from the server And also parameters like delay, number of router hops etc.

How it works ClientServer User runs ssmping Client joins S,G Clients sends unicast to S Server receives unicast ssmping query Responds with ssmping unicast reply and multicast reply to G Client receives replies and prints RTT and hops from server Client sends a new query every second t t

Example output -bash-3.00$ ssmping -c 5 -6 ssmping.erg.abdn.ac.uk ssmping joined (S,G) = (2001:630:241:204:211:43ff:fee1:9fe0,ff3e::4321:1234) pinging S from 2001:700:1:7:211:d8ff:fe8f:1f9b unicast from 2001:630:241:204:211:43ff:fee1:9fe0, seq=0 dist=15 time= ms unicast from 2001:630:241:204:211:43ff:fee1:9fe0, seq=1 dist=15 time= ms multicast from 2001:630:241:204:211:43ff:fee1:9fe0, seq=1 dist=9 time= ms unicast from 2001:630:241:204:211:43ff:fee1:9fe0, seq=2 dist=15 time= ms multicast from 2001:630:241:204:211:43ff:fee1:9fe0, seq=2 dist=9 time= ms unicast from 2001:630:241:204:211:43ff:fee1:9fe0, seq=3 dist=15 time= ms multicast from 2001:630:241:204:211:43ff:fee1:9fe0, seq=3 dist=9 time= ms unicast from 2001:630:241:204:211:43ff:fee1:9fe0, seq=4 dist=15 time= ms multicast from 2001:630:241:204:211:43ff:fee1:9fe0, seq=4 dist=9 time= ms :630:241:204:211:43ff:fee1:9fe0 ssmping statistics packets transmitted, time 5004 ms unicast: 5 packets received, 0% packet loss rtt min/avg/max/std-dev = /72.467/72.874/0.415 ms multicast: 4 packets received, 20% packet loss 0% loss since first multicast packet received (after 1077 ms) rtt min/avg/max/std-dev = /74.223/76.502/1.335 ms -bash-3.00$

What does output tell us? 15 unicast hops from source, only 9 multicast, so tunneling likely Multicast RTTs are larger and varies more Difference in unicast and multicast RTT shows one way difference for unicast and multicast replies, since they are replies to the same request packet Multicast tree not ready for first multicast reply, ok for 2 nd after 1077ms No unicast loss, no multicast loss after tree established

Is it useful? I believe it complements multicast beacons Useful for “end users” or others that want to perform a “one-shot” test rather than continuously running a beacon Are there other data than RTT and hops it should measure? Hops are measured by always using a ttl/hop count of 64 when sending replies It also gives a rough measure of how quickly the tree is built from receiver to source

History Based on an idea by Pavan Namburi, Kamil Sarac University of Texas and Kevin C. Almeroth UCSB -sarac-mping-00.txt pdf Their idea is to extend IGMP/MLD Not much interest in IETF so far This does some of the same, but doesn’t require network support Only uses UDP But it requires server to run ssmpingd

Summary Tool and further documentation available from / You can deploy your own server, or check that you can receive from the public servers listed at the above URL Supports both IPv4 and IPv6 Currently it works for Linux, Solaris and FreeBSD. Probably also for other BSDs Client with reduced functionality available for Windows XP IPv4 only, no IPv6 SSM available on XP

What is asmping? A tool for testing multicast connectivity Behavior is a bit like normal ping A server must run ssmpingd (latest version supports asmping) asmping is ASM version of ssmping A client can ping a server by sending unicast asmping query Server replies with both unicast and multicast asmping replies In this way a client can check that it receives ASM from the server And also parameters like delay, number of router hops etc.

How it works ClientServer User runs asmping Client joins G Clients sends unicast to S Server receives unicast asmping query Responds with asmping unicast reply and multicast reply to G Client receives replies and prints RTT and hops from server Client sends a new query every second t t

Example output ~]$ asmping -c ssmping.net.switch.ch ssmping joined (S,G) = ( , ) pinging S from unicast from , seq=1 dist=11 time= ms unicast from , seq=2 dist=11 time= ms multicast from , seq=2 dist=11 time= ms unicast from , seq=3 dist=11 time= ms multicast from , seq=3 dist=11 time= ms unicast from , seq=4 dist=11 time= ms multicast from , seq=4 dist=11 time= ms unicast from , seq=5 dist=11 time= ms multicast from , seq=5 dist=11 time= ms ssmping statistics packets transmitted, time 5000 ms unicast: 5 packets received, 0% packet loss rtt min/avg/max/std-dev = /66.296/66.515/0.326 ms multicast: 4 packets received, 0% packet loss since first mc packet (seq 2) recvd rtt min/avg/max/std-dev = /66.572/66.956/0.296 ms

More interesting example /tmp $ asmping ssmping.uninett.no ssmping joined (S,G) = ( , ) pinging S from unicast from , seq=1 dist=23 time= ms unicast from , seq=2 dist=23 time= ms multicast from , seq=2 dist=7 time= ms multicast from , seq=2 dist=7 time= ms (DUP!) unicast from , seq=3 dist=23 time= ms multicast from , seq=3 dist=21 time= ms multicast from , seq=4 dist=21 time= ms unicast from , seq=4 dist=23 time= ms unicast from , seq=5 dist=23 time= ms multicast from , seq=5 dist=21 time= ms

What does output tell us? 23 unicast hops from source For multicast we first have 7, later stays at 21 We also get some info about loss and RTTs Number of hops is perhaps the most interesting In the stable situation with 21 there is probably native forwarding all they way Forwarding is probably on shortest path tree from source to receiver In theory we might also detect switch from RPT to SPT if number of hops are different Number of hops on RPT are then probably larger than number of unicast hops But why only 7 hops initially? Why did we get the packet twice, and why do both have large ttl?

The mystery of the 7 hops So why only 7, and why large RTT and duplicate? The reason is MSDP and PIM registers In this case we know for sure that packets must have been encapsulated in MSDP. We are more than 7 hops away from UNINETT where the RP is. Assuming there are no other listeners, the packet was first encapsulated in PIM register going to the local RP. Then it was encapsulated in MSDP all the way to our local RP Not sure exactly when ttl is decremented with regard to register and MSDP, but in this case the receiver is 4-6 hops from the local RP So that explains the number of hops, but why large RTT and duplicate?

Large RTT and duplicate So why the large RTT and duplicate? The reason is again MSDP At least that’s the theory The register packets are in this case passed with MSDP to the RP, and probably cached there When our (*,G) reaches our RP, we receive the packet from the cache, which by now is 200ms old Next, our last-hop router switches to SPT, and what we think happens, is that the (S,G)-join also reaches the RP (RP is on the SPT path), and the RP again forwards it’s copy when this happens This also gives us a measure of how long the RPT to SPT switch did take, if we are correct in our speculations

Summary It might be used to simply check connectivity, but also gives extra info like RTT and hops Compared to ssmping we might be able to derive some more interesting information due to the complexities of PIM register, MSDP and tree switching It supports both IPv4 and IPv6, and might have some interesting uses for testing IPv6 embedded-RP Both asmping and ssmpingd should work on most systems, no SSM support needed See for more info