Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-24 Thread Pierre Pfister
Hello again, In order to help everyone to give a try to this new piece of software, I just added an example script which will create a small basic network using linux namespaces, and run pimbd on each namespace such that you can see multicast routing actually happening. The topology is really

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-19 Thread Pierre Pfister
Le 19 août 2015 à 13:53, Juliusz Chroboczek j...@pps.univ-paris-diderot.fr a écrit : The assumption is that the user will want to receive traffic from the ISP. To do so, it needs to subscribe first (e.g. using MLD) on one of the WANs. One problem is that you don’t know which WAN. The

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-19 Thread Juliusz Chroboczek
Could you please explain what problem you're solving with the SSMBIDIR extension? SSBIDIR is not very different than BIDIR. It still uses one single forwarding tree, Thanks for the explanation. So what happens when there are multiple default routes? What problem does the proxying business

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-19 Thread Pierre Pfister
Le 19 août 2015 à 13:31, Juliusz Chroboczek j...@pps.univ-paris-diderot.fr a écrit : Could you please explain what problem you're solving with the SSMBIDIR extension? SSBIDIR is not very different than BIDIR. It still uses one single forwarding tree, Thanks for the explanation.

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-19 Thread Pierre Pfister
Le 19 août 2015 à 12:37, Juliusz Chroboczek j...@pps.univ-paris-diderot.fr a écrit : I am pleased to announce the public release of pimbd, the PIM implementation that was demonstrated during the last Bits and Bites in Prague. I've now looked at it, and it's looking good to me. It's

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-19 Thread Steven Barth
Am 19.08.2015 um 13:31 schrieb Juliusz Chroboczek: What problem does the proxying business attempt to solve? And what does it use TCP for? And what about that? You need to tell the ISPs (via IGMP / MLD joins) which (global) MC groups someone in the net is interested in, so you need to

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-19 Thread Juliusz Chroboczek
The assumption is that the user will want to receive traffic from the ISP. To do so, it needs to subscribe first (e.g. using MLD) on one of the WANs. One problem is that you don’t know which WAN. The solution used here is to subscribe on all WANs. Sorry if I'm being dense -- but does that

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-19 Thread Juliusz Chroboczek
Both of these techniques makes use of a metric in order to decide which one is the ‘best’ router to forward some packet. Perfectly clear. The unicast routing protocol needs to communicate the metric to the PIM daemon, and the kernel priority is a convenient place to put it. Thanks, Pierre.

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-19 Thread Juliusz Chroboczek
I am pleased to announce the public release of pimbd, the PIM implementation that was demonstrated during the last Bits and Bites in Prague. I've now looked at it, and it's looking good to me. It's roughly the size of babeld (10kloc), the code looks reasonably clean, and there appears to be

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-19 Thread Pierre Pfister
So this is to choose between identical routes. Why is this needed? I have no idea. You'll have to ask Pierre. (And I'd appreciate an explanation myself.) *clearing throat* :) Here is my humble understanding as a multicast non-expert. PIM makes an extensive use of RPF (Reverse Path

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-18 Thread Mikael Abrahamsson
On Tue, 18 Aug 2015, Juliusz Chroboczek wrote: (If you test this with Babel, you need to set reflect-kernel-metric true What does that do? [...] So it takes whatever metric it came up with and sets the metric as kernel priority? That's right. So if there is a shorter prefix that has a

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-18 Thread Juliusz Chroboczek
So this is to choose between identical routes. Why is this needed? I have no idea. You'll have to ask Pierre. (And I'd appreciate an explanation myself.) -- Juliusz ___ homenet mailing list homenet@ietf.org

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-18 Thread Mikael Abrahamsson
On Tue, 18 Aug 2015, Juliusz Chroboczek wrote: (If you test this with Babel, you need to set reflect-kernel-metric true in babeld's config file; Pierre tells me that this is done automatically by hnetd. I'll make some refinements to the reflect-kernel-metric code, and make it the default in

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-18 Thread Juliusz Chroboczek
I am pleased to announce the public release of pimbd, the PIM implementation that was demonstrated during the last Bits and Bites in Prague. Excellent news, Pierre, automagic site-local multicast would be a great feature for Homenet. I'll try it out as soon as it migrates into an OpenWRT

Re: [homenet] New Open-Source PIM BIDIR (and more) implementation

2015-08-18 Thread Juliusz Chroboczek
(If you test this with Babel, you need to set reflect-kernel-metric true What does that do? [...] So it takes whatever metric it came up with and sets the metric as kernel priority? That's right. So if there is a shorter prefix that has a lower metric, this will be chosen over a longer