How to enable multicast to IP address?
Environment
- Red Hat Enterprise Linux All
Issue
- How to enable multicast to IP address?
Resolution
- In order to check whether multicast is enabled to a IP address :
$ ifconfig ethX |grep -i multi
Note : Please replace ethX with appropriate Ethernet. If multicast is enabled, a flag will be displaying.
To disable it :
$ ifconfig ethX -multicast
To enable it :
$ ifconfig ethX multicast
In order to look at the IP address which has subscribed the multicast group, one can take a look at in the content of following file :
/proc/net/igmp
Example :
cat /proc/net/igmp
Idx Device : Count Querier Group Users Timer Reporter
1 lo : 0 V3
010000E0 1 0:00000000 0
2 eth1 : 3 V2
010000E0 1 0:00000000 0
3 eth0 : 3 V2
010000E0 1 0:00000000 0
- Based on multicast application, IP will be receiving or transferring packets.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
