Multicast to Unicast and Vice Versa

Ever needed to convert some multicast traffic into unicast or vice versa? Well that can be difficult to do.  I did however get a Cisco 6509 Sup2 to do just that in the past with many caveats.

Unicast to Multicast

config-if# ip nat inside <on unicast interface>

config-if# ip nat outside <on multicast interface>

config-if# ip nat inside source static udp 239.5.5.45 12345 192.168.3.2 12345 ext
<where 239.5.5.45 is the multicast address, 12345 is the udp port number,
and 192.168.3.2 is the unicast address>

Mulitcast to Unicast

config-if# ip nat inside <on unicast interface>

config-if# ip nat outside <on multicast interface>

config-if# ip nat inside source static udp 192.168.3.2 12345 239.5.5.45  12345 ext
<where 239.5.5.45 is the multicast address, 12345 is the udp port number,
and 192.168.3.2 is the unicast address>

At least one caveat, it doesn’t seem like more than one of these is supported in the NAT table at a time.  Your mileage may vary.

You also might someday need to convert multicast from one group address to another, Cisco has a nifty new feature called “multicast service reflection” that can do just that. http://www.cisco.com/en/US/docs/ios/12_4t/12_4t4/mcastsrv.html

About these ads
This entry was posted in anything, internet, network, Uncategorized and tagged , , , , , , . Bookmark the permalink.

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