Changes between Version 8 and Version 9 of tutorials/mf-exp1
- Timestamp:
- May 5, 2020, 3:50:35 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
tutorials/mf-exp1
v8 v9 1 Tutorials on running simple mfping application using mobilityfirst routers, host stack and GNRS. 1 === Description === 2 The MobilityFirst project was started in 2010 with funding from the National Science Foundation's Future Internet Architecture (FIA) program as one of the four clean-slate architectures.The major design goals of the architecture are: 3 * Mobility as a norm with dynamic host and network mobility at scale 4 * Robustness with respect to intrinsic properties of wireless medium 5 * Trustworthiness in the form of enhanced security and privacy for both mobile networks and wired infrastructure 6 * Support for context-aware pervasive mobile services, evolvable network services, manageability and economic viability 7 8 This tutorials describes running simple mfping application using mobilityfirst routers, host stack and GNRS with ethernet, WiFi and OAI interfaces. 9 10 === Requirements === 11 Five nodes are required to run this experiment (currently ORBIT SB4 is used as described below). 2 12 3 13 === Set up === 4 14 1. In order to access the test bed, create a reservation and have it approved by the reservation service. 5 15 2. Access to the resources are granted after the reservation is confirmed. 6 3. Please follow the process shown on the COSMOS workflow page to get started (currently ORBIT sb4 is used for the experiments described below).16 3. Please follow the process shown on the COSMOS/ORBIT workflow page to get started . 7 17 8 18 = Experiment 1 (Ethernet Interfaces) = … … 23 33 }}} 24 34 25 3. Open separate terminals for each of the nodes either using mobaxterm or putty 35 3. Open separate terminals for each of the nodes either using mobaxterm or putty. Also, in our above topology {{{eth1}}} represents core interface and {{{eth0}}} represents edge interface. 26 36 27 4. Configuration of GNRS 37 4. Download the bash script into your console environment 38 {{{ 39 console:~$ git clone https://gitlab.orbit-lab.org/pnetalkar/cosmos-mf-tutorial.git 40 }}} 41 42 5. Configuration of GNRS 28 43 * Login into the GNRS node (node1-8 in this case) {{{console:~$ ssh root@node1-8}}} 29 44 * Change the ipv4 address in {{{vim ~/mf/gnrs/jserver/sample-configs/single-server/net-ipv4.xml}}} file to X.X.X.X (eth1 address – 10.14.1.8) 30 45 * Change the ipv4 address and the binding port in {{{vim ~/mf/gnrs/jserver/sample-configs/single-server/as-binding.ipv4}}} file to X.X.X.X (eth1 address-10.14.1.8) 31 32 5. Download the bash script into your console environment33 {{{34 console:~$ git clone https://gitlab.orbit-lab.org/pnetalkar/cosmos-mf-tutorial.git35 }}}36 46 37 47 6. Run/Execute the scripts present in {{{exp1}}} folder from the console (see below for more instruction) … … 78 88 }}} 79 89 90 {{{ 91 console:~/cosmos_tutorial/exp1$./copy_hostconf.sh 92 }}} 93 80 94 11. Run ./start_gnrs.sh to start the GNRS at node1-8 81 95 {{{ … … 83 97 }}} 84 98 85 Verify the status of the GNRS using command: {{{root@node1-8:~# tail -f /var/log/mfgnrs.log}}} at node1-899 Verify the status of the GNRS using command: {{{root@node1-8:~# tail -f /var/log/mfgnrs.log}}} at node1-8 86 100 87 101 12. Run ./start_routers.sh to start the routers on node1-4 and node1-7. … … 90 104 }}} 91 105 92 Verify the status of the routers using command: {{{root@node1-4:~# tail -f /var/log/mfrouter2.log}}} to read the logs of router with id 2 and {{{root@node1-7:~# tail -f /var/log/mfrouter3.log}}} to read the logs of router with id 3.106 Verify the status of the routers using command: {{{root@node1-4:~# tail -f /var/log/mfrouter2.log}}} to read the logs of router with id 2 and {{{root@node1-7:~# tail -f /var/log/mfrouter3.log}}} to read the logs of router with id 3. 93 107 94 108 13. Run ./start_hosts.sh to start the host on node1-3, node1-6 respectively. … … 96 110 console:~/cosmos_tutorial/exp1$./start_hosts.sh 97 111 }}} 98 Use the command {{{root@node1-3:~# tail -f /var/log/mfhost1.log}}} and {{{root@node1-6:~# tail -f /var/log/mfhost4.log}}} to read the logs/status of host with id 1 and id 4 respectively.112 Use the command {{{root@node1-3:~# tail -f /var/log/mfhost1.log}}} and {{{root@node1-6:~# tail -f /var/log/mfhost4.log}}} to read the logs/status of host with id 1 and id 4 respectively. 99 113 100 114 === Running MFPING === 101 1. At Host 4: Server (Start the server first)115 1. At Host 4: Server (Start the server first) 102 116 {{{ 103 117 root@node1-6:~# mfping -m 4 -o 1 -s -d … … 109 123 }}} 110 124 111 3. Use the stop scriptto stop the respective host, routers and GNRS125 3. Stop scripts can be used to stop the respective host, routers and GNRS 112 126 {{{ 113 127 console:~/cosmos_tutorial/exp1$./stop_gnrs.sh