Re: Multicast routing questions

2015-06-25 Thread Andrey V. Elsukov
On 25.06.2015 19:18, Emeric POUPON wrote: > 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

Re: Multicast routing questions

2015-06-25 Thread Emeric POUPON
prevents "infinite" loops. Is that really how it is meant to be done? Emeric - Mail original - De: "Andrey V. Elsukov" À: "Emeric POUPON" , freebsd-net@freebsd.org Envoyé: Jeudi 25 Juin 2015 07:48:44 Objet: Re: Multicast routing questions On 24.06.2015 18

Re: Multicast routing questions

2015-06-25 Thread Andrey V. Elsukov
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 b

Re: Multicast routing questions

2015-06-24 Thread Emeric POUPON
necessary. Emeric - Mail original - De: "Emeric POUPON" À: freebsd-net@freebsd.org Envoyé: Mercredi 24 Juin 2015 10:22:45 Objet: Multicast routing questions Hello, I'm testing multicast routing on FreeBSD 9.3 and I have a question: In packet reception, it seems the pack

Multicast routing questions

2015-06-24 Thread Emeric POUPON
Hello, I'm testing multicast routing on FreeBSD 9.3 and I have a question: In packet reception, it seems the packet is received locally as many times the packet is rerouted + 1: ip_input -> ip_mforward -> ip_output (as many times there are dst interfaces in the route cache entry) -> ip_mloopbac