I am trying to pass through multicast traffic through WANem. Here is my configuration
three PC's:
src: 192.168.1.12 (multicast source)
dst: 192.168.1.13 (multicast receiver)
wanem: eth0 192.168.1.95 (255.255.255.0, no gateway), eth1 192.168.1.96 (255.255.255.0, no gateway)
src connected directly to eth0, dst connected directly to eth1 (no switch, just three pc and two network cables)
Additional configuration made on WANem:
assign 192.168.1.12 eth1
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth1
I can ping eth0 and eth1 IPs from src and dst, src and dst IPs from wanem, but mutlicast traffic is not passing from src to dst. When I connect src and dst directly (without wanem in the middle) mutlicast traffic appears on dst.
What I am doing wrong?
Thanks in advance for any help,
Mariusz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Wanem does not forward multicast packets. If you badly need to do this then you have to write a program which will run on wanem, which will sniff incoming multicast packets and re-send them using raw sockets.
Another way to go about it is to
Define an additional multicast group - call it B. The original multicast group let it be A.
Your application by default uses multicast group id A.
Have the sender send to B.
Write an app running on WANem receving data on B and forwarding to A.
That way you can get emulated multicast traffic.
Hope this helps.
Regards,
M.K.Nambiar
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I am trying to pass through multicast traffic through WANem. Here is my configuration
three PC's:
src: 192.168.1.12 (multicast source)
dst: 192.168.1.13 (multicast receiver)
wanem: eth0 192.168.1.95 (255.255.255.0, no gateway), eth1 192.168.1.96 (255.255.255.0, no gateway)
src connected directly to eth0, dst connected directly to eth1 (no switch, just three pc and two network cables)
Additional configuration made on WANem:
assign 192.168.1.12 eth1
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth1
I can ping eth0 and eth1 IPs from src and dst, src and dst IPs from wanem, but mutlicast traffic is not passing from src to dst. When I connect src and dst directly (without wanem in the middle) mutlicast traffic appears on dst.
What I am doing wrong?
Thanks in advance for any help,
Mariusz
Wanem does not forward multicast packets. If you badly need to do this then you have to write a program which will run on wanem, which will sniff incoming multicast packets and re-send them using raw sockets.
Another way to go about it is to
Define an additional multicast group - call it B. The original multicast group let it be A.
Your application by default uses multicast group id A.
Have the sender send to B.
Write an app running on WANem receving data on B and forwarding to A.
That way you can get emulated multicast traffic.
Hope this helps.
Regards,
M.K.Nambiar