Enabling Multicast routing on a specific interface – Solaris 11

I had a customer with an application running on a Solaris 11 zone that was failing to connect to a multicast group.

You can check your multicast group memberships by running the command

Zone#netstat -g
Group Memberships: IPv4
Interface Group RefCnt
--------- -------------------- ------
lo0 all-systems.mcast.net 1
sc_ipmp0 all-systems.mcast.net 1

Group Memberships: IPv6
If Group RefCnt
----- --------------------------- ------
lo0 ff02::202 1
lo0 ff02::1:ff00:1 1
lo0 ff02::1 1

You cannot add a multicast route at the zone level..

Zone# route add -interface 224.0/4 -gateway 168.4.9.88
add net 224.0/4: gateway 168.4.9.88: insufficient privileges

You need to add it at the global zone interface (164.4.10.29 is the IP address for my interface sc_ipmp0 in the global zone)

GZ# route -p add -interface 224.0/4 -gateway 168.4.10.29

Once the application in the zone tries to use multicast on the sc_ipmp0 interface we should see a new group membership

Zone# netstat -g
Group Memberships: IPv4
Interface Group RefCnt
--------- -------------------- ------
lo0 all-systems.mcast.net 1
sc_ipmp0 239.255.255.250 1
sc_ipmp0 all-systems.mcast.net 1

Group Memberships: IPv6
If Group RefCnt
----- --------------------------- ------
lo0 ff02::202 1
lo0 ff02::1:ff00:1 1
lo0 ff02::1 1

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s