Git Product home page Git Product logo

mping's Introduction

Mping - README

Description

A network testing tool to verify multicast connectivity.

This tool is used for checking if multicast packets can cross multiple routers.

Application has to be executed on all of the network leaves used in connectivity testing - tests require a single sender and multiple receivers.

Compiling

make

Usage

mping -l -I <interface address> [-p <udp port>] [-g <multicast group[/source]>] [-q]
mping -s -I <interface address> [-p <udp port>] [-g <multicast group>] [-i <interval in ms>] [-c <count>] [-T TTL ] [-q] [-S payload size]
Defaults: interval - 1 second, multicast group - 226.1.1.1 , udp port - 4322

Any-source multicast mode (ASM) used by default. If you want to use Source-specific multicast (SSM) mode, specify the source IP address of the multicast sender with the group option.

Usage Example

Simple network topology:

Host A ---- Cisco ---- Cisco ---- Host B
                         |
                       Cisco
                         |
                         -------- Host C

Host A IP - 10.0.101.2/24 Host B IP - 10.0.102.2/24 Host C IP - 10.0.103.2/24

Verifying that multicast packets sent from Host A can be heard on Host B and Host C.

Host B:

user@host_b:/tmp$ mping -l -I 10.0.102.2

Host C:

user@host_c:/tmp$ mping -l -I 10.0.103.2

Host A:

user@host_a:/tmp$ mping -s -I 10.0.101.2 -c 10
MPING 226.1.1.1 1024(1052) bytes of data.
1024 bytes from 10.0.102.2: seq=0 ttl=62 time=0.889 ms
1024 bytes from 10.0.103.2: seq=0 ttl=61 time=1.884 ms
1024 bytes from 10.0.102.2: seq=1 ttl=62 time=0.660 ms
1024 bytes from 10.0.103.2: seq=1 ttl=61 time=1.516 ms
1024 bytes from 10.0.102.2: seq=2 ttl=62 time=0.447 ms
1024 bytes from 10.0.103.2: seq=2 ttl=61 time=1.543 ms
1024 bytes from 10.0.102.2: seq=3 ttl=62 time=0.921 ms
1024 bytes from 10.0.103.2: seq=3 ttl=61 time=1.591 ms
1024 bytes from 10.0.102.2: seq=4 ttl=62 time=0.677 ms
1024 bytes from 10.0.103.2: seq=4 ttl=61 time=1.766 ms
1024 bytes from 10.0.102.2: seq=5 ttl=62 time=0.778 ms
1024 bytes from 10.0.103.2: seq=5 ttl=61 time=1.494 ms
1024 bytes from 10.0.102.2: seq=6 ttl=62 time=0.818 ms
1024 bytes from 10.0.103.2: seq=6 ttl=61 time=1.640 ms
1024 bytes from 10.0.102.2: seq=7 ttl=62 time=0.896 ms
1024 bytes from 10.0.103.2: seq=7 ttl=61 time=1.433 ms
1024 bytes from 10.0.102.2: seq=8 ttl=62 time=0.536 ms
1024 bytes from 10.0.103.2: seq=8 ttl=61 time=1.666 ms
1024 bytes from 10.0.102.2: seq=9 ttl=62 time=0.647 ms
1024 bytes from 10.0.103.2: seq=9 ttl=61 time=1.348 ms

10.0.102.2: rtt min/avg/max: 0.447/0.726/0.921 ms, loss: 0% (0 packets)
10.0.103.2: rtt min/avg/max: 1.348/1.588/1.884 ms, loss: 0% (0 packets)

mping's People

Contributors

alexgrin avatar dwapstra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.