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

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

parent a6c01c16
......@@ -621,7 +621,7 @@
who are using one of our provided FreeBSD or Linux disk images.
Simply adding:
<pre>
tb-set-ip-routing ospf
$ns rtproto Session
</pre>
to your NS file will enable <code>gated</code> running the OSPF
protocol on all nodes in the experiment.
......
......@@ -10,7 +10,6 @@
<li><a href="#ORDER">Ordering issues</a>
<li><a href="#HARD">Hardware 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="#LOSS">Link Characteristic Commands</a>
<li><a href="#VTYPE">Virtual Type Commands</a>
......@@ -267,35 +266,6 @@ tb-set-ip-interface $node2 $node1 142.3.4.6
</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>
<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
provided FreeBSD or Linux disk images.
<p>
You can use the <tt>tb-set-ip-routing</tt> command in your NS file to
enable automatic routing:
You can use the NS <tt>rtproto</tt> syntax in your NS file to enable
automatic routing:
<code><pre>
tb-set-ip-routing <i>protocol</i>
$ns rtproto <i>protocol</i>
</pre></code>
where <i>protocol</i> is either <code>none</code>, the default for no
automatic routing, or <code>ospf</code> to enable <code>gated</code>
running the OSPF protocol on all nodes in the experiment.
In the future we may add support for automatic pre-computation of static
routes as well as the ability for users to specify per-node routing
information in the NS file.
where <i>protocol</i> is currently limited to <code>Session</code>.
The implementation of <code>Session</code> routing is to enable
<code>gated</code> running the OSPF protocol on all nodes in the
experiment. The default is no automatic routing (or routing of any
kind). In the future we may add support for automatic pre-computation
of static routes as well as the ability for users to specify per-node
routing information in the NS file.
<p>
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