4 Replies Latest reply on Nov 25, 2013 9:38 AM by rhusar

    Question about  multicast.address

    jeryma

      I use  two virtual hosts which is created on vmware sphere . two vitual hosts ip can ping each other and firewall are all disabled.

      But I set cluster infinispan on this two virtual hosts. but these two infinispan server can't connect each other by multicast.address.

      what sholud I do with my virtual hosts or vmware sphere?

        • 1. Re: Question about  multicast.address
          wdfink

          I'm not sure whether such vm blocks mcast addresses, if you use different sub-network the mcasts might be supressed.

          You can use a JGroups test TestingJBoss to check the multicast between vm and host system and the two vm's

          • 2. Re: Question about  multicast.address
            rhusar

            +1

             

            I think you need to refer to the VM manual to see how to enable multicast forwarding (and set routing and add filewall rule, etc). I also use tool called iptraf to quickly see if any multicast traffic is coming in.

            1 of 1 people found this helpful
            • 3. Re: Question about  multicast.address
              jeryma

              Hi,I still confuse about my multicast which it doesn't work .

              netstat -gn:

              IPv6/IPv4 Group Memberships

              Interface       RefCnt Group

              --------------- ------ ---------------------

              lo              1      224.0.0.1

              eth0            1      224.0.0.251

              eth0            1      224.0.0.1

              lo              1      ff02::1

              eth0            1      ff02::fb

              eth0            1      ff02::1:ff92:f58

              eth0            1      ff02::1

               

              ifconfig:

              eth0      Link encap:Ethernet  HWaddr 00:50:56:92:0F:58

                        inet addr:10.19.222.51  Bcast:10.19.222.255  Mask:255.255.255.0

                        inet6 addr: fe80::250:56ff:fe92:f58/64 Scope:Link

                        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

                        RX packets:60940441 errors:0 dropped:0 overruns:0 frame:0

                        TX packets:50339425 errors:0 dropped:0 overruns:0 carrier:0

                        collisions:0 txqueuelen:1000

                        RX bytes:4473947703 (4.1 GiB)  TX bytes:3143536495 (2.9 GiB)

               

               

              lo        Link encap:Local Loopback

                        inet addr:127.0.0.1  Mask:255.0.0.0

                        inet6 addr: ::1/128 Scope:Host

                        UP LOOPBACK RUNNING  MTU:16436  Metric:1

                        RX packets:42419 errors:0 dropped:0 overruns:0 frame:0

                        TX packets:42419 errors:0 dropped:0 overruns:0 carrier:0

                        collisions:0 txqueuelen:0

                        RX bytes:2121000 (2.0 MiB)  TX bytes:2121000 (2.0 MiB)

               

              ----------------------------------------------------------------------------------------

              ----------------------------------------------------------------------------------------

               

               

              another machine netstat -gn:

              lo              1      224.0.75.75

              lo              1      224.0.0.1

              eth0            1      224.0.75.75

              eth0            1      228.8.8.8

              eth0            1      224.0.0.251

              eth0            1      224.0.0.1

              lo              1      ff02::1

              eth0            1      ff02::fb

              eth0            1      ff02::1:ff92:f57

              eth0            1      ff02::1

               

              ifconfig:

               

              eth0      Link encap:Ethernet  HWaddr 00:50:56:92:0F:57

                        inet addr:10.19.222.50  Bcast:10.19.222.255  Mask:255.255.255.0

                        inet6 addr: fe80::250:56ff:fe92:f57/64 Scope:Link

                        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

                        RX packets:266661390 errors:0 dropped:0 overruns:0 frame:0

                        TX packets:216892654 errors:0 dropped:0 overruns:0 carrier:0

                        collisions:0 txqueuelen:1000

                        RX bytes:204846907912 (190.7 GiB)  TX bytes:156641566435 (145.8 GiB)

               

               

              lo        Link encap:Local Loopback

                        inet addr:127.0.0.1  Mask:255.0.0.0

                        inet6 addr: ::1/128 Scope:Host

                        UP LOOPBACK RUNNING  MTU:16436  Metric:1

                        RX packets:54211 errors:0 dropped:0 overruns:0 frame:0

                        TX packets:54211 errors:0 dropped:0 overruns:0 carrier:0

                        collisions:0 txqueuelen:0

                        RX bytes:6290806 (5.9 MiB)  TX bytes:6290806 (5.9 MiB)

               

              firewall are all disabled.

              what should I do?

              • 4. Re: Re: Question about  multicast.address
                rhusar

                Are you binding to IPv6? The loopback doesn't forward multicast.

                 

                Try this:

                sudo route -A inet6 add FF01::1 dev lo  
                

                 

                Also double check you run:

                sudo service ip6tables stop  
                

                 

                (maybe Non-definitive guide to Clustering AS7 over IPv6 might help a bit)