Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
6a0fb842
Commit
6a0fb842
authored
Apr 05, 2002
by
Leigh B. Stoller
Browse files
Add "$ns rtproto Session" and change tge FAQ and tutorial as needed.
parent
a6c01c16
Changes
3
Hide whitespace changes
Inline
Side-by-side
www/faq.html
View file @
6a0fb842
...
...
@@ -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.
...
...
www/tutorial/nscommands.html
View file @
6a0fb842
...
...
@@ -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>
...
...
www/tutorial/tutorial.html
View file @
6a0fb842
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment