Changes between Version 23 and Version 24 of GENIExperimenter/Tutorials/HelloOmni
- Timestamp:
- 11/15/12 12:38:43 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/HelloOmni
v23 v24 150 150 151 151 152 == 5b. Send IP traffic == 153 The first simple experiment that we will run is to verify the IP connectivity 154 between our hosts. 155 i. Check the interfaces of your nodes. In the terminal type: 156 {{{ 152 2. '''Send IP traffic''' The first simple experiment that we will run is to verify the IP connectivity between our hosts. 153 i. Check the interfaces of your nodes. In the terminal type: 154 {{{ 157 155 /sbin/ifconfig 158 156 }}} 159 You should see at least two interfaces:157 You should see at least two interfaces: 160 158 * The '''control interface'''. This is the interface from where you access 161 159 the node, e.g. ssh into your host. The control interface is mainly used for … … 166 164 of your experiment through GENI. The links between these interfaces are the 167 165 ones that allow you to run non-IP experiments. 168 i. Note the name and the MAC address of the control and of the data interface for each node. The data interface is the one that has an IP that starts with 10. 169 i. From the client ping the server. From the xterm that is logged in to the 170 client type : 171 {{{ 166 i. Note the name and the MAC address of the control and of the data interface for each node. The data interface is the one that has an IP that starts with 10. 167 i. From the client ping the server. From the xterm that is logged in to the client type : 168 {{{ 172 169 ping server -c 5 173 170 }}} 174 '''Note''': You can use the name that is assigned to the host to directly ping171 '''Note''': You can use the name that is assigned to the host to directly ping 175 172 the host, you can also ping using the IP of the data interface of the node. 176 173 An example output should look like : … … 189 186 }}} 190 187 191 == 5c. Send non-IP traffic == 192 GENI provides the capability of running non-IP experiments, since you can 193 connect your hosts at Layer 2. For the purpose of this tutorial we have 194 installed in all the hosts a very simple Layer 2 ping program that sends packets 195 using a custom ethernet type. 196 i. Disable the IP in your nodes. First of all we are going to completely 197 disable IP on our nodes. In each of the terminals type: 198 {{{ 188 3. '''Send non-IP traffic'''. GENI provides the capability of running non-IP experiments, since you can connect your hosts at Layer 2. For the purpose of this tutorial we have installed in all the hosts a very simple Layer 2 ping program that sends packets using a custom ethernet type. 189 i. Disable the IP in your nodes. First of all we are going to completely disable IP on our nodes. In each of the terminals type: 190 {{{ 199 191 sudo /sbin/ifconfig <data i/f name> 0.0.0.0 200 192 }}} 201 '''Note''': Be extra careful to bring down the IP on the data interface,193 '''Note''': Be extra careful to bring down the IP on the data interface, 202 194 bringing down the IP on the control interface means that you will lose 203 195 connectivity to your host. 204 ii. Try again to ping from the client to the server. In the xterm of the 205 client type: 206 {{{ 196 i. Try again to ping from the client to the server. In the xterm of the client type: 197 {{{ 207 198 ping server -c 5 208 199 }}} 209 This time the ping should timeout.210 iii. Start the Layer 2 ping server: In the server xterm, type:211 {{{200 This time the ping should timeout. 201 i. Start the Layer 2 ping server: In the server xterm, type: 202 {{{ 212 203 sudo /usr/local/bin/pingPlusListener 12345 213 204 }}} 214 iii. From the client try to ping the server at layer 2. You will need the mac205 i. From the client try to ping the server at layer 2. You will need the mac 215 206 address of the data interface of the server and the name of the data interface 216 207 of the client. In the xterm of the client, type: 217 {{{208 {{{ 218 209 sudo /usr/local/bin/pingPlus <server data mac addr> <client data i/f name> 12345 219 210 }}} 220 211 221 The result should look like :222 {{{212 The result should look like : 213 {{{ 223 214 [uncusr20@client ~]$ sudo /usr/local/bin/pingPlus 02:00:9B:48:3E:20 mv1.1 12345 224 215 RQ:'5582+2067' to 2:0:9b:48:3e:20. … … 228 219 Congratulations you have run a Layer 2 experiment in GENI! 229 220 230 = 6. Cleanup resources=221 = 4. Cleanup = 231 222 Although all your reservations, have expiration times, you should always release 232 223 your resources once you have completed your experiment to make them available 233 224 to other experimenters. 234 i. In the terminal, where you have been running your omni commands do:225 1. In the terminal, where you have been running your omni commands do: 235 226 {{{ 236 227 omni.py deletesliver -a pg-utah <slicename> 237 228 }}} 238 239 = 7. Wrap up =240 Congratulations, you have finished the tutorial! Now you are ready to design and241 run your own experiments. Don't hesitate to [mailto:help@geni.net email us] with242 any questions you might have.243 244 == 7a. Fill out the tutorial survey ==245 We love to hear what you think so that we can improve the tutorials in the future.246 Please complete the [http://tinyurl.com/8kxm6ys online survey] and get a temporary GENI tatoo!247 248 == 7b. Get Your Own Account ==249 The accounts, that you used in the above steps will be deactivated after the250 tutorial. If you do not already have an account at GPO's ProtoGENI cluster, you251 should can follow [wiki:GEC15Agenda/ExperimenterDropIn/GetAGENIAccount these instructions]252 to get an account and start using GENI.