T1T2: unparsable.ns

File unparsable.ns, 266 bytes (added by sunshine, 5 years ago)
Line 
1set ns [new Simulator]
2source tb_compat.tcl
3
4foreach node {n1 n2 n3} {
5        set $node [$ns node]
6        tb-set-node-os $node Ubuntu-STD
7}
8
9set link1 [$ns duplex-link $n1 $n2 1000Mb 0ms DropTail]
10set link2 [$ns duplex-link $n2 $n3 1000Mb 0ms DropTail]
11
12$ns rtproto Static
13$ns run