This never looked easy, and it turned out to be rather difficult. The key to my solution was in discovering the other options to the rtproto command. Static is typical, Manual was introduced in 17.3, but the new on is Session which sets up routing using OSPF. Great! Just what we wanted. Well, not quite because if you run an experiment with this type of routing and ssh to a node, you discover that Emulab uses gated and makes the control network the backbone! No doubt that everything is connected to the backbone, but this is not what we want. It does mark the backbone as passive, however, and that turns out to be the key. Here is a sample gated.conf file which corresponds to making the control network the backbone:
smux off; rip off; ospf on { backbone { interface eth0 { passive; }; }; area 0.0.0.2 { authtype none; interface eth2 { priority 1; }; interface eth4 { priority 1; }; }; };
I tried various schemes but eventually I changed the control
network, the backbone, to area 5 and set up the rest of the
interfaces as presented in Hands-On. Eliminating my
mistakes took some time, but eventually I was merrily pinging
all over the network.
Warning: include(net.bottom.html): Failed to open stream: No such file or directory in /var/www/html/activities/books/networking/labbook/exp/emulab/exp17.4.php on line 62
Warning: include(): Failed opening 'net.bottom.html' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/activities/books/networking/labbook/exp/emulab/exp17.4.php on line 62