Multicast Route

Oct 2017

Multicast routes are a similar concept to IP Routes, but as the name implies they are for Multicast addresses (which are class D), rather than standard IP Addresses (which are class A, B and C). For Unicast I would surmise you still use IP Routes.
There are two main ways to add a Multicast Route.

1. Create a routing file in (CentOS) /etc/sysconfig/network-scripts/
2. Add the route from the command line.

1. Create a routing file

In this example, we will define that all multicast traffic in the range 239.X.Y.Z will be listened on the eth2 interface.
To do this, navigate to the location where all the interface configuration files are held. On CentOS this is /etc/sysconfig/network-scripts

cd /etc/sysconfig/network-scripts