Hi Philip, thanks 1) ok, I’ll take it into account for my configurations
2) adding the route for 224.0.0.0/4 to the specific interface works Thanks again Luca Il giorno mer 1 mar 2023 alle 22:47 Philip Guenther <guent...@gmail.com> ha scritto: > 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 > > >