Pages

Monday, August 5, 2013

enable multi cast to IP address

Multi Casting is Very Important in application Servers in transferring Heart Beat messages. We need to make sure whether multi casting is enabled on the Operating System before configuring any Servers

In order to check whether multicast is enabled to a IP address :

[root@vx111a fontconfig]# ifconfig
eth0 Link encap:Ethernet HWaddr 78:AC:C0:B1:7B:BD
inet addr:xxx.xx.xx.xx Bcast:xxx.xx.xx.xx Mask:255.255.254.0
xxxxxxxxxxxxxxxxxxxxxxxxxxx
UP BROADCAST RUNNING MTU:1500 Metric:1
         xxxxxxxxxxxxxxxxxxxxxxxxxxx


In the above Output during the 'UP BROADCAST RUNNING MTU:1500 Metric:1” ,we will see MULTI CAST if that is Enabled. Since it is not available in the above output the multi cast is disabled.

To Enable that use “ifconfig eth0 multicast” command and see

[root@vx111a fontconfig]# ifconfig
eth0 Link encap:Ethernet HWaddr 78:AC:C0:B1:7B:BD
inet addr:xxx.xx.xx.xx Bcast:xxx.xx.xx.xx Mask:255.255.254.0
       xxxxxxxxxxxxxxxxxxxxxxxxxxx
       UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
       xxxxxxxxxxxxxxxxxxxxxxxxxxx

We can see that the MULTI Cast is Now Enabled.

In Order to Disable it use “ifconfig eth0 -multicast”.


More TO Come , Happy learning :-)