| 231 | [[Image(ExoGENI.png)]] |
| 232 | |
| 233 | Node0 is running the fedd and will be accessible as before at hostname "b". In addition we will make Node1 accessible throughout the DETER topology by its IP address. |
| 234 | |
| 235 | When we create the ExoGENI topology we use the AutoIP feature of [https://geni-orca.renci.org/trac/wiki/flukes Flukes] to assign addresses. By default Flukes puts the addresses on the 172.16.0.0/30 subnet. We move those addresses to the 10.16.0.0/24 subnet by editing the nodes' properties. DETER uses the 10.0.0.0/8 network block for experiment interfaces. It uses the 172.16.0.0/30 net for addressing [http://containers.deterlab.net containers] management interfaces. |
| 236 | |
| 237 | When the slice is ready, log in to Node0 and run the {{{init_fedd}}} utility as before. In addition, add the following lines to {{{/usr/local/etc/fedd/desktop.config}}}: |
| 238 | |
| 239 | {{{ |
| 240 | # Export Interfaces (interfaces to run OSPF on/export to DETER). |
| 241 | # Comma-separated list of interface names |
| 242 | export_interfaces: eth1 |
| 243 | |
| 244 | # Export Networks (networks to export to OSPF - these usually correspond |
| 245 | # to export_interfaces). Comma separated |
| 246 | export_networks: 10.16.0.0/24 |
| 247 | }}} |
| 248 | |
| 249 | With those settings, {{{fedd.py}}} will export any routes discovered on {{{eth1}}} and network 10.16.0.0/24 to the ospfd running in DETER. |
| 250 | |
| 251 | The simplest way to export a complex ExoGENI topology is to just run ospfd inside the ExoGENI topology. With these settings, the combined experiment will be able to route throughout the experiment as soon as routing converges. For this simple topology to work, we log in to Noed1 in exoGENI and add a route to all the DETER nodes through Node0: |
| 252 | |
| 253 | {{{ |
| 254 | # ip route add 10.0.0.0/16 via 10.16.0.1 |
| 255 | }}} |
| 256 | |
| 257 | Start up fedd.py on Node0 as before and run the same {{{fedd_create.py}}} command on DETER. |
| 258 | |