iRule to convert Multicast destination IP to unicast IP

Hi,

I am pretty new to F5 and iRule stuff. I need your help in resolving an issue that i face. We have two private networks 172.16.x.x and 192.168.x.x. F5 does load balancing messages that originate from 172 network to 192 network.

Every message has 239.192.1.1 as destination IP. Right now, F5 is able to forward the message to the device in 192 network. But the destination IP (in network header) of the forwarded message is still 239.192.1.1. I want the F5 device to change the destination IP to unicast IP - to be chosen from a list of IPs - (192.168.x.x IP) before forwarding to the 192.168.x.x device.

Is iRule the right option for doing this? If so, please help me with a sample iRule.

Thanks in advance.

-- Navaneeth

Hi Navaneeth,

May I ask what is your virtual server configuration look like. (use command “b virtual list”)

I believe if pool with valid member address is assigned to virtual server and translate address option is enabled, BIG-IP should change the destination IP to unicast IP (pool member IP)

Nat

This is the output of the command you suggested:

b virtual test1 list

virtual test1 {

pool SDS_Pool

destination any:11112

mask none

ip protocol udp

profiles udp-packet-by-packet

translate address enable

}

Nat,

You were correct. I enabled the Address Translation and then the multicast packet got converted to unicast packet. Thanks a bunch!!

-- Navaneeth