multicast - is there a test to check ?

Discussion in 'Proxmox VE: Installation and configuration' started by bread-baker, Jan 28, 2012.

  1. bread-baker

    bread-baker Member

    Joined:
    Mar 6, 2010
    Messages:
    432
    Likes Received:
    0
    Hello
    Is there a way to test if multicast is working on a network?
     
  2. e100

    e100 Active Member
    Proxmox Subscriber

    Joined:
    Nov 6, 2010
    Messages:
    1,235
    Likes Received:
    24
    On two nodes on the same network:
    Code:
    #apt-get install ssmping
    One Node A:
    Code:
    #ssmpingd
    One Node B:
    Code:
    #asmping 224.0.2.1 ip_for_other_host_here
    asmping joined (S,G) = (*,224.0.2.234)
    pinging 192.168.8.6 from 192.168.8.5
      unicast from 192.168.8.6, seq=1 dist=0 time=0.221 ms
      unicast from 192.168.8.6, seq=2 dist=0 time=0.229 ms
    multicast from 192.168.8.6, seq=2 dist=0 time=0.261 ms
      unicast from 192.168.8.6, seq=3 dist=0 time=0.198 ms
    multicast from 192.168.8.6, seq=3 dist=0 time=0.213 ms
      unicast from 192.168.8.6, seq=4 dist=0 time=0.234 ms
    multicast from 192.168.8.6, seq=4 dist=0 time=0.248 ms
      unicast from 192.168.8.6, seq=5 dist=0 time=0.249 ms
    multicast from 192.168.8.6, seq=5 dist=0 time=0.263 ms
      unicast from 192.168.8.6, seq=6 dist=0 time=0.250 ms
    multicast from 192.168.8.6, seq=6 dist=0 time=0.264 ms
      unicast from 192.168.8.6, seq=7 dist=0 time=0.245 ms
    multicast from 192.168.8.6, seq=7 dist=0 time=0.260 ms
    
    If you have multiple interfaces you may also need to pass the -I interfacename option to both asmping and ssmpingd.
     
  3. bread-baker

    bread-baker Member

    Joined:
    Mar 6, 2010
    Messages:
    432
    Likes Received:
    0
    Thank you , that was easy to do.

    I think that info should go to wiki, If you want I can put it there, as multicast is needed for clusters.

    From my understanding, making sure multicast works before adding a node to a cluster should be done.
     
    #3 bread-baker, Jan 29, 2012
    Last edited: Jan 29, 2012
  4. e100

    e100 Active Member
    Proxmox Subscriber

    Joined:
    Nov 6, 2010
    Messages:
    1,235
    Likes Received:
    24
    Feel free to add it to the wiki.

    There is quite a bit of info about cman and corosync that likely should be compiled on the wiki.
    As a community we have a knowledge gap when it comes to clustering.
     
  5. bread-baker

    bread-baker Member

    Joined:
    Mar 6, 2010
    Messages:
    432
    Likes Received:
    0
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice