How to handle Multicasts with TTL=1?

Started by JasMan, January 06, 2020, 02:07:40 PM

Previous topic - Next topic
Hey,

I've seperated all my IoT devices into a single VLAN.
The associated Android management app of one of the IoT devices uses Multicasts to discover the device. Unfortunately the Multicast packets from the app have an TTL of 1. My mobile phone is in another VLAN and therefore the packets are discarted before PIMD can forward them to the IoT VLAN.

What would be the Best-Practise to handle this? Should I use iptable to mangle the TTL of the packets?

Jas
Duck, Duck, Duck, Duck, Duck, Duck, Duck, Duck, Goose

mangle is a Linux feature, not FreeBSD. See https://forum.opnsense.org/index.php?topic=15385.0
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Quote from: marjohn56 on January 06, 2020, 04:03:37 PM
mangle is a Linux feature, not FreeBSD.

Ahh, good to know. I didn't know that.

Quote from: marjohn56 on January 06, 2020, 04:03:37 PMSee https://forum.opnsense.org/index.php?topic=15385.0

Yep, I already saw this thread but it doesn't work for the affected device. Because the TTL of the Multicast is 1, the packet is discarded before PIMD can handle it. The packets are not transmitted to the IoT VLAN.  :(

In my opinion I need to increase the TTL, or to tell OPNsense to ignore the TTL.
Duck, Duck, Duck, Duck, Duck, Duck, Duck, Duck, Goose

Read the last couple of messages in that thread. We are no longer using pimd.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

I've just finished setting up Monit to start it at boot and restart it should it fail for any reason.


We are using Sky Q and the Sky Go app, the issue is TTL=1, this has sorted it and it's working well.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member