Multicast routing questions

Emeric POUPON emeric.poupon at stormshield.eu
Thu Jun 25 16:18:44 UTC 2015


Ok thanks, I understand this case.
But the problem is that we perform a lot of unnecessary mforward calls from ip_input.

The mrt route cache lookup is performed thanks to the src/dst addresse couple.
The interface of the cached route does not match the current interface and that is what prevents "infinite" loops.

Is that really how it is meant to be done?

Emeric

----- Mail original -----
De: "Andrey V. Elsukov" <bu7cher at yandex.ru>
À: "Emeric POUPON" <emeric.poupon at stormshield.eu>, freebsd-net at freebsd.org
Envoyé: Jeudi 25 Juin 2015 07:48:44
Objet: Re: Multicast routing questions

On 24.06.2015 18:13, Emeric POUPON wrote:
> Hi,
> 
> Actually, I don't really understand why imo.imo_multicast_loop is set
> to 1 in send_packet, ip_mroute.c
> 
> It seems we don't need to loop the packet once it is mrouted? 

I think this can be used for the case, when on the router some app has
been joined to multicast group on the specific interface used as
outgoing in send_packet.

-- 
WBR, Andrey V. Elsukov


More information about the freebsd-net mailing list