Skip to content
GitLab
Menu
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
6f349fd5
Commit
6f349fd5
authored
Mar 20, 2001
by
Mac Newbold
Browse files
Added ns run line to tutorial, sync'd tutorail and basic.ns
parent
880e9ecd
Changes
2
Show whitespace changes
Inline
Side-by-side
www/tutorial/basic.ns
View file @
6f349fd5
# This is a simple ns script. Comments start with #.
set ns [new Simulator]
source tb_compat.tcl
# define the 4 nodes in the topology.
set NodeA [$ns node]
...
...
www/tutorial/tutorial.html
View file @
6f349fd5
...
...
@@ -129,6 +129,12 @@ going to node C:
<code><pre>
tb-set-ip-interface $NodeB $NodeC 192.168.42.42
</code></pre>
<p>
Then make sure to add the NS run command at the end:
<code><pre>
# Go!
$ns run
</code></pre>
<p>
If you would like to try the above example, the completed
<a
href=
"basic.ns"
>
NS file
</a>
can be run as an experiment in your
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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