Comments (6)
Hi,
Have you read the tutorial on interfacing 6LBR with COOJA?
https://github.com/cetic/6lbr/wiki/COOJA-Interface
In all cases, we don't run any RPL Root in COOJA, the RPL root is either integrated in 6LBR (and 6LBR runs in Linux), or it is external to the 6LBR, somewhere on the Ethernet backbone or Linux bridge.
The tutorial shows the simpler case, where 6LBR is also the root of the RPL network, and we run it in Router mode. Router, in this context, means that the 6LBR seperates two subnets with different prefixes (bbbb::/64 on IPv6 side, and aaaa::/64 on 6LoWPAN side, in the example). The 6LBR connects to a slip-radio mote in COOJA, using a serial socket server
in COOJA. Thus, we don't expect you to add 'rpl-udp-server` nodes in addition to a 6LBR.
If you haven't tried yet, the tutorial is a good first step,
If you have any issues in performing the tutorial or still have questions after that, please don't hesitate to ask here. Also, pasting the contents of your .CSC and 6LBR configuration will be helpful for us.
Kind regards,
Sébastien
from 6lbr.
Thanks Sebastien ,
That tutorial really helped.
But now the problem is how to ping nodes of aaaa network from my linux environment.
These aaaa network nodes are purple nodes of cooja example in the link.
Configuration of my linux box:
root@instant-contiki:~/6lbr/examples/6lbr# ifconfig br0
br0 Link encap:Ethernet HWaddr 00:0c:29:70:98:6a
inet6 addr: bbbb::101/64 Scope:Global
inet6 addr: bbbb::e40d:a903:6734:a7c1/64 Scope:Global
inet6 addr: bbbb::20c:29ff:fe70:986a/64 Scope:Global
inet6 addr: fe80::20c:29ff:fe70:986a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3326 errors:0 dropped:0 overruns:0 frame:0
TX packets:3436 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:339120 (339.1 KB) TX bytes:274258 (274.2 KB)
root@instant-contiki:~/6lbr/examples/6lbr# ping6 aaaa::212:7404:4:404
PING aaaa::212:7404:4:404(aaaa::212:7404:4:404) 56 data bytes
From bbbb::e40d:a903:6734:a7c1 icmp_seq=1 Destination unreachable: Address unreachable
From bbbb::e40d:a903:6734:a7c1 icmp_seq=2 Destination unreachable: Address unreachable
From bbbb::e40d:a903:6734:a7c1 icmp_seq=3 Destination unreachable: Address unreachable
Webserver of 6lbr :
Neighbors
[del] fe80::212:7408:8:808 0:12:74:8:0:8:8:8 STALE
[del] fe80::212:7406:6:606 0:12:74:6:0:6:6:6 STALE
[del] fe80::212:7409:9:909 0:12:74:9:0:9:9:9 STALE
[del] bbbb::e40d:a903:6734:a7c1 0:c:29:ff:ff:70:98:6a DELAY
Routes
[del] aaaa::212:7404:4:404/128 (via fe80::212:7409:9:909) 6214 s
[del] aaaa::212:7408:8:808/128 (via fe80::212:7408:8:808) 6227 s
[del] aaaa::212:7406:6:606/128 (via fe80::212:7406:6:606) 6224 s
[del] aaaa::212:7403:3:303/128 (via fe80::212:7409:9:909) 6214 s
[del] aaaa::212:7407:7:707/128 (via fe80::212:7406:6:606) 6213 s
[del] aaaa::212:740a
[del] aaaa::212:7402:2:202/128 (via fe80::212:7409:9:909) 6211 s
[del] aaaa::212:7405:5:505/128 (via fe80::212:7406:6:606) 6227 s
[del] aaaa::212:7409:9:909/128 (via fe80::212:7409:9:909) 6226 s
Thanks
Abhishek bathla
from 6lbr.
Hi,
I believe the problem is in the routes configuration, 6LBR is properly started and running, but Linux does not known the route for aaaa:: addresses. 6LBR in Router mode sends RA with that route inside but by default Linux ignore them (for security reasons I think)
You should either allow RA processing by using the two following commands :
sysctl -w net.ipv6.conf.br0.accept_ra=1 sysctl -w net.ipv6.conf.br0.accept_ra_rt_info_max_plen=64
or manually add the route :
route -A inet6 add aaaa::/64 gw bbbb::100
I believe that's missing from Cooja mode documentation
from 6lbr.
yep, I have it documented at a couple places in the wiki but we ought to make a generic section giving info on that.
from 6lbr.
Documentation is now updated
from 6lbr.
yep .. i can separates that for relay devices or for a nodes of simulator cooja
from 6lbr.
Related Issues (20)
- How to implement bidirectional communication in 6lbr
- only 210 nodes get found
- Issue "corrupted size vs. prev_size" on Debian with libc6 2.24-11+deb9u4
- Could not ping6 to nodes
- contiki timer
- Web Interface crashes
- Native configuration file: nvm.conf
- Accessing cc1310 nodes from ipv4 public internet
- CC2530 UART module with 6lbr
- Connecting CC2530 to 6LBR HOT 2
- Unable to detect sensor nodes in 6lbr webpage with only BR in Node Tree
- webserver-node-info-export.c doesn't handle 'path' parameter
- Routing mode
- webserver buffer overflow when processing requested url HOT 10
- Setting up 6lbr on Raspberry Pi 4, nvm_tool missing
- Setting up 6lbr on Raspberry Pi 4, nvm_tool missing
- CC2650 SensorTag running cc26xx-web-demo does not connect to 6lbr network!
- 6lbr Raspberry Pi Configuration Bug
- How to build 6lbr-demo with CoAP-DTLS on cc2650 Sensortag
- Native compilation for nRF52840 platform
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 6lbr.