Validating the results of a route choice simulator
The message has now changed to 'Client connected: /127.0.0.1' You can verify that the address of the border router has been set by using the ping command.
In order to demonstrate the functionality of the border router we will create a network of nodes with the border router as the root.
For creating such a network we will user the udp-server.c code.
tunslip6.c can be found in /contiki-2.7/tools Compile the tunslip6 code.
slip connected to ``127.0.0.001'' opened tun device ``/dev/tun0'' ifconfig tun0 inet `hostname` up ifconfig tun0 add aaaa::1/64 ifconfig tun0 add fe80::0:0:0:1/64 ifconfig tun0 tun0 Link encap: UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:127.0.1.1 P-t-P:127.0.1.1 Mask:255.255.255.255 inet6 addr: fe80::1/64 Scope: Link inet6 addr: aaaa::1/64 Scope: Global UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Rime started with address 0.18.116.1.0.1.1.1 MAC :: Contiki 2.7 started. CSMA Contiki MAC, channel check rate 8 Hz, radio channel 26 Tentative link-local IPv6 address fe01 Starting 'Border router process' 'Web server' *** Address:aaaa::1 = Go back to the Cooja simulator GUI and look at the dialogue box.
This file will be used to program one of the motes as the border router on Cooja.
For the purpose of this tutorial we will select TMote Sky as our target.This file will be used to program the remaining nodes in Cooja simulator. This can be done by right clicking on the mote which is programmed as the border router.These nodes will form a DAG with the rpl border router as the root. From the drop down menu select 'Add New Motes' followed by 'Create new motes' and select the mote type as 'Sky'. Browse to the location '/contiki-2.7/examples/ipv6/rpl-border-router' and select the file Select 'More tools for border router' and then select 'Serial Socket (SERVER)'.Border routers are routers that can be found at the edge of a network.Their function is to connect one network to another.In this tutorial we will learn how to run a simulation using the border router in Contiki 2.7.Tags: Adult Dating, affair dating, sex dating