Commit 6a0fb842 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add "$ns rtproto Session" and change tge FAQ and tutorial as needed.

parent a6c01c16
...@@ -621,7 +621,7 @@ ...@@ -621,7 +621,7 @@
who are using one of our provided FreeBSD or Linux disk images. who are using one of our provided FreeBSD or Linux disk images.
Simply adding: Simply adding:
<pre> <pre>
tb-set-ip-routing ospf $ns rtproto Session
</pre> </pre>
to your NS file will enable <code>gated</code> running the OSPF to your NS file will enable <code>gated</code> running the OSPF
protocol on all nodes in the experiment. protocol on all nodes in the experiment.
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
<li><a href="#ORDER">Ordering issues</a> <li><a href="#ORDER">Ordering issues</a>
<li><a href="#HARD">Hardware Commands</a> <li><a href="#HARD">Hardware Commands</a>
<li><a href="#IP">IP Address Commands</a> <li><a href="#IP">IP Address Commands</a>
<li><a href="#ROUTE">IP Routing Commands</a>
<li><a href="#OS">OS Commands</a> <li><a href="#OS">OS Commands</a>
<li><a href="#LOSS">Link Characteristic Commands</a> <li><a href="#LOSS">Link Characteristic Commands</a>
<li><a href="#VTYPE">Virtual Type Commands</a> <li><a href="#VTYPE">Virtual Type Commands</a>
...@@ -267,35 +266,6 @@ tb-set-ip-interface $node2 $node1 142.3.4.6 ...@@ -267,35 +266,6 @@ tb-set-ip-interface $node2 $node1 142.3.4.6
</ul> </ul>
<hr>
<a name="ROUTE"></a><h3>IP Routing Commands</h3>
We currently provide a simple mechanism for setting up default IP routes
between nodes in an experiment.
<h4>tb-set-ip-routing</h4>
<pre>
tb-set-ip-routing <i>protocol</i>.
tb-set-ip-routing none
tb-set-ip-routing ospf
</pre>
<dl>
<dt><i>protocol</i> - The routing protocol to use.
</dl>
<p>Notes:
<ul>
<li><code>none</code> is the default protocol;
i.e., no default routing is setup.
<li><code>ospf</code> is implemented by running <tt>gated</tt>
on all nodes in the experiment.
</ul>
<hr> <hr>
<a name="OS"></a><h3>OS Commands</h3> <a name="OS"></a><h3>OS Commands</h3>
......
...@@ -707,17 +707,18 @@ an option to automatically set up routes on nodes which run one of our ...@@ -707,17 +707,18 @@ an option to automatically set up routes on nodes which run one of our
provided FreeBSD or Linux disk images. provided FreeBSD or Linux disk images.
<p> <p>
You can use the <tt>tb-set-ip-routing</tt> command in your NS file to You can use the NS <tt>rtproto</tt> syntax in your NS file to enable
enable automatic routing: automatic routing:
<code><pre> <code><pre>
tb-set-ip-routing <i>protocol</i> $ns rtproto <i>protocol</i>
</pre></code> </pre></code>
where <i>protocol</i> is either <code>none</code>, the default for no where <i>protocol</i> is currently limited to <code>Session</code>.
automatic routing, or <code>ospf</code> to enable <code>gated</code> The implementation of <code>Session</code> routing is to enable
running the OSPF protocol on all nodes in the experiment. <code>gated</code> running the OSPF protocol on all nodes in the
In the future we may add support for automatic pre-computation of static experiment. The default is no automatic routing (or routing of any
routes as well as the ability for users to specify per-node routing kind). In the future we may add support for automatic pre-computation
information in the NS file. of static routes as well as the ability for users to specify per-node
routing information in the NS file.
<p> <p>
If you do want to setup and manage routing yourself, you can use the If you do want to setup and manage routing yourself, you can use the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment