Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Wiki / Kb282

Kb282

Emulab FAQ: Hardware Setup: Can I make a simplex link instead of a duplex link in an experiment?

Emulab FAQ: Hardware Setup: Can I make a simplex link instead of a duplex link in an experiment?

Emulab does not directly support simplex links.

What you can do is create a duplex link in which traffic can only go one direction by setting the loss to 1.0 (100 %) for one direction using the "tb-set-link-simplex-params" or "tb-set-lan-simplex-params" commands. For example, given two nodes node0 and node1 and a link between them:

   tb-set-link-simplex-params $link $node0 0ms 100Mb 1.0

will set the loss to 1.0 for all traffic from node0 to node1, thus only allowing traffic to be sent from node1 to node0.

See Testbed NS Command Extensions for additional info.