nsfile.ns 295 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
source tb_compat.tcl

set ns [new Simulator]

set node1 [$ns node]
set node2 [$ns node]

$ns duplex-link $node1 $node2 100Mb 0ms DropTail
$ns duplex-link $node1 $node2 100Mb 0ms DropTail
$ns duplex-link $node1 $node2 100Mb 0ms DropTail
$ns duplex-link $node1 $node2 100Mb 0ms DropTail

$ns run