10-22-2007 01:38 AM - edited 03-03-2019 07:16 PM
Hi
Does anyone know if it is possible to translate a unicast destination address to a multicast destination address using NAT or perhaps "Multicast Service Reflection". Thanks.
10-22-2007 02:51 AM
Translating broadcast to multicast and reverse is possible. Would that help?
10-22-2007 04:05 AM
I believe you can translate unicast to multicast. I know you can do it the other way, because it was included in one of the scenarios in the CiscoPress CCIE lab book. Try it, and let us know if it works.
Kevin Dorrell
Luxembourg
10-22-2007 04:09 AM
Kevin,
Could you please let us know how you could possibly do the conversion ?
cheers
arav
10-22-2007 05:04 AM
I'm not sure, but you could try something like this:
interface
 desc The one where you want the multicast
 ip nat inside
!
interface
 desc The one where you want the unicast.
! The unicast address should be on this subnet
 ip nat outside
!
ip nat inside source
Kevin Dorrell
Luxembourg
10-22-2007 05:44 AM
Hi and thanks for your comments. I'll hopefully be able to test this soon and will confirm the results.
In the mean time if anyone can confirm whether it is possible and the best way of doing it I'd appreciate it.
10-22-2007 12:21 PM
OK, I labbed it up, and it works. There's a couple of things you need to add though.
I forgot a keyword in the ip nat command. It should be ip nat inside source static
Put ip nat outside on the interface that you want to receive the unicast, and ip nat inside on the interface you want to transmit the multicast, as I said before.
But the biggest thing I had to add was multicast routing to enable the multicast to go out the inside interface. So:
ip multicast-routing
!
interface e0/0.20
desc Interface that receives the unicast
ip address 141.11.20.1 255.255.255.0
ip nat outside
ip pim dense-mode
!
interface e0/0.60
desc Interface that transmits the multicast
ip nat inside
ip pim dense-mode
!
ip nat inside source static 239.42.42.42 141.11.20.11
If I send a ping to 141.11.20.11 on e0/0.20, I get a ping to 239.42.42.42 out of e0/0.60.
Kevin Dorrell
Luxembourg
10-22-2007 12:55 PM
Hi Kevin
Thank you for the response. It's certainly useful to know that this works using NAT. I'll hopefully be testing it myself too in the near future.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide