Commit 6f349fd5 authored by Mac Newbold's avatar Mac Newbold
Browse files

Added ns run line to tutorial, sync'd tutorail and basic.ns

parent 880e9ecd
# 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]
......
......@@ -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
......
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