-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connecting two devices with 6lbr #153
Comments
Sorry, I'm a bit late to respond here... It's possible to use two BR as a 6LoWPAN link, however it requires some configuration to do so as by default, 6LBR is meant to manage sensors and not networks.
Also, in each BR you need to have a static route for the opposite subnet, i.e, on BR 1 you need a route towards cccc::/64 via BR-2 and on BR-2 you need a route towards aaaa::/64 via BR-1 If that's more or less what you're looking for, I will document better how to make the configuration. |
Hello, I want to try 6lbr with two BRs, and I'm looking forward to your configuration document. Thank you very much. BTW,what about the 6LR mode. Shall we use the NDP Router mode or 6LR mode(on your paper it seems that 6LR mode should be used?) |
@limotkl Theoretically 6LR mode should be able to do that, however the node should send DAO message on behalf of all the hosts on the subnet routed by the 6LR or having DAO messages for whole subnet, which would need modification in the code and testing. |
@laurentderu That's exactly what I was trying to set up, yes, so definitely the documentation updates would be hugely helpful. Based on what you provided, though, I was able to get my configuration working as I needed, so thanks for that too. |
@joeythesaint Did you successfully with above configuration for connect between two BRs? Can you share me the sample configuration? Thanks for that. |
Hi, I have configured both the 6lbr daemons as a NDP-ROUTER, here the 6lbr.conf file:
I set the WSN/Ethernet addresses to
I added the routing on nvm.conf files: on PC2 the nvm file is:
and this is the route setting on PC2 (PC1 has mirrored settings):
from the 6lbr.log I see the boot works OK and I can browse the webserver on both PCs But still, as you can imagine, I am not able to ping6 cccc::100 from PC1/bbbb::100 from PC2! Have you any suggestions? |
I'm still using the configuration I detailed in #149 and I'm having issues with my CC2650STK SensorTag, so I thought I would try another approach and apply the successful configuration from #149 to both my BeagleBone Black and an i.mx6 board I had sitting around. So the current configuration is my BBB has a CC2531EMK on the USB port and wired ethernet connected on the other side just as described in #149. My i.mx6 has a CC2531EMK connected to one of the USB ports and I'm able to bring up 6lbr on it in the same way with wired ethernet connected.
I can ping6 between the two machines using their respective
bbbb::
addresses, but if I disconnect the ethernet from one and assignbr0
anaaaa::
address, I cannot ping6 that address from the other machine. What I'm wondering, though, is if this even makes sense to try, I was approaching this thinking it would be very similar to the procedure described here but I was hoping to not have to bring inwpan-tools
since it seems to rely on a newer kernel than what I currently have for my setup (4.1 on the BBB and 3.14 on the i.mx6) and 6lbr seems to be working quite well so far. Obviously I'm rather new to a lot of this, though, so it may be I'm just asking a nonsense question, if so I apologize.The text was updated successfully, but these errors were encountered: