[riot-devel] Border-router and multicast

Baptiste Clenet bapclenet at gmail.com
Wed May 11 10:05:42 CEST 2016


Ok Martine,

In the start_network.sh, create_tap(), you route
ip route add ${PREFIX} via fe80::2 dev ${TAP}
Ok so if I want multicast, I should add
ip route add ff04::1/64 via fe80::2 dev ${TAP}
But it does not work

2016-05-10 19:32 GMT+02:00 Martine Lenders <mail at martine-lenders.eu>:
> Sorry, was (and still am) otherwise occupied. Will look into it tonight,
> tomorrow at the latest though.
>
> Regards,
> Martine
>
> 2016-05-10 18:05 GMT+02:00 Baptiste Clenet <bapclenet at gmail.com>:
>>
>> Ok Martine, Have you found any solution yet?
>>
>> 2016-05-10 9:48 GMT+02:00 Martine Lenders <mail at martine-lenders.eu>:
>> > Hi Baptiste,
>> > since IEEE 802.15.4 itself is not a multicast medium (it only supports
>> > broadcast), and we don't have MLD implemented at this point (which
>> > configures routers for multicast), multicast is indeed tricky at the
>> > moment.
>> > Let me try something out and I come back to you.
>> >
>> > Cheers,
>> > Martine
>> >
>> > 2016-05-10 9:03 GMT+02:00 Baptiste Clenet <bapclenet at gmail.com>:
>> >>
>> >> Thanks Alex for your answer.
>> >>
>> >> 2016-05-09 19:07 GMT+02:00 Alexander Aring <alex.aring at gmail.com>:
>> >> > Hi,
>> >> >
>> >> > On Mon, May 09, 2016 at 06:20:48PM +0200, Baptiste Clenet wrote:
>> >> >> 2016-05-09 16:44 GMT+02:00 Alexander Aring <alex.aring at gmail.com>:
>> >> >> > On Mon, May 09, 2016 at 04:24:34PM +0200, Baptiste Clenet wrote:
>> >> >> >> Hi Martine,
>> >> >> >> Thank you for the answer.
>> >> >> >> Ok ff04::1 is also a multicast address so I add it to every board
>> >> >> >> with
>> >> >> >> gnrc_networking and I should be able to ping them with this
>> >> >> >> multicast
>> >> >> >> address.
>> >> >> >> Shouldn't I use:
>> >> >> >> ifconfig 7 add multicast ff04::1
>> >> >> >> ?
>> >> >> >>
>> >> >> >> I'm missing something here, could give me an explanation please:
>> >> >> >> Before, I had a transceiver plugged on my linux so I was able to
>> >> >> >> ping
>> >> >> >> my board directly using fe80::address so I was able to use the
>> >> >> >> local
>> >> >> >> multicast address ff02::1, now that I use border router, I'm
>> >> >> >> using a
>> >> >> >> prefix 2001::db8 (why? and why documentation prefix?) Why can't I
>> >> >> >> use
>> >> >> >> fe80 as before?
>> >> >> >
>> >> >> > because link-local ff80::/10 will not be routed, between lowpan
>> >> >> > and
>> >> >> > ethernet interface, so far I know.
>> >> >>
>> >> >> ff80? You meant fe80? I was able to do ping with fe80 and lowpan0.
>> >> >
>> >> > Sorry, I think I misunderstood here something completely.
>> >> >
>> >> > Your setup what is it?
>> >> >
>> >> > Linux (802.15.4/6LoWPAN) <-> RIOT
>> >> >
>> >> I used this and I was able to ping6 -I lowpan0 fe80:: but now I use
>> >> second
>> >> one
>> >>
>> >> > or
>> >> >
>> >> > Linux -> TAP (ethernet) <-> RIOT BORDER ROUTER <-> RIOT
>> >>
>> >> Now my setup is like this, yes and so what you explain make sense for
>> >> the RIOT border router, they do what you explain but with RIOT instead
>> >> of Linux :)
>> >>
>> >> My last question is how to send multicast information from Linux to my
>> >> local network? What Martine tell me to try did not work
>> >>
>> >> >
>> >> > You say something with lowpan0 then I think it's the first one, but I
>> >> > am
>> >> > not sure now and confused. :-)
>> >> >
>> >> > It's a important information, if it's the second one then better
>> >> > completely ignore what I said before, because I don't know how this
>> >> > works exactly.
>> >> >
>> >> > - Alex
>> >> > _______________________________________________
>> >> > devel mailing list
>> >> > devel at riot-os.org
>> >> > https://lists.riot-os.org/mailman/listinfo/devel
>> >>
>> >>
>> >>
>> >> --
>> >> Baptiste
>> >> _______________________________________________
>> >> devel mailing list
>> >> devel at riot-os.org
>> >> https://lists.riot-os.org/mailman/listinfo/devel
>> >
>> >
>> >
>> > _______________________________________________
>> > devel mailing list
>> > devel at riot-os.org
>> > https://lists.riot-os.org/mailman/listinfo/devel
>> >
>>
>>
>>
>> --
>> Baptiste
>> _______________________________________________
>> devel mailing list
>> devel at riot-os.org
>> https://lists.riot-os.org/mailman/listinfo/devel
>
>
>
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>



-- 
Baptiste


More information about the devel mailing list