On Wed, Mar 1, 2023 at 9:58 AM Luca Di Gregorio <luc...@gmail.com> wrote:
> 1) does anyone know if there is a way to disable MULTICAST on a single > interface? > I don't see any option in ifconfig to do this. > There is not. > 2) Can outgoing multicast traffic be routed to a specific interface? I > don't see any option in route. It seems that the first interface, by id, is > chosen. > Unless you enable a multicast routing daemon, it just follows normal IP routing rules and will follow the default route if there's no better match. If you want to force it to a specific interface, just add a route for 224.0.0.0/4 pointing to that interface. (Of course, if you haven't set multicast=YES in /etc/rc.conf.local then /etc/netstart will create one of those routes itself with the 'reject' flag set to block all multicast, but presumably you've already set that correctly.) Philip Guenther