Page 1 of 1

Multicast routing

Posted: Tue Dec 22, 2020 4:26 pm
by evansnp
Hi Billion_Fan. I think that I know the answer to this question, but here goes!
Is there any way to route multicast traffic across VLANs?

Use case: Application in VLAN1 needs to discover device in VLAN2, and unicast not an option on the device :-(

Re: Multicast routing

Posted: Tue Dec 22, 2020 5:03 pm
by billion_fan
evansnp wrote:
Tue Dec 22, 2020 4:26 pm
Hi Billion_Fan. I think that I know the answer to this question, but here goes!
Is there any way to route multicast traffic across VLANs?

Use case: Application in VLAN1 needs to discover device in VLAN2, and unicast not an option on the device :-(
I am not sure if this is what you are looking for but try the following

Commands belowcan only be done via command line

Example

PC 1 wants to access PC 2 on a different VLAN group

PC 1 = 192.168.1.100 (default group)
PC 2 = 192.168.2.200 (CTTV group)

You following commands will have to entered via telnet/ssh

1. Telnet into the router
2. Type 'sh' and press enter
3. Type 'iptables -t filter -I GRP_FWD -i br0 -o br+ -s 192.168.1.100 -j ACCEPT' and press enter
4. Type 'iptables -t filter -I GRP_FWD -i br1 -o br+ -s 192.168.2.200 -j ACCEPT' and press enter

So two commands, if the router is rebooted the commands will be lost and have to re-entered.

Re: Multicast routing

Posted: Tue Dec 22, 2020 8:37 pm
by evansnp
Thanks Billion_Fan!, I'll give that a try :)