5 LMC="../utils/lmc -m $config"
8 SERVERS="ba-ost-1 ba-ost-2"
20 echo $1 | sed 's/[^0-9]*//g'
27 [ -f $config ] && rm $config
30 ${LMC} --node client --net '*' elan || exit 1
32 ${LMC} --router --node $ROUTER --tcpbuf $TCPBUF --net `h2ip $ROUTER` tcp $PORT || exit 1
33 ${LMC} --node $ROUTER --net `h2elan $ROUTER` elan|| exit 1
34 ${LMC} --node $ROUTER --route elan `h2elan $ROUTER` `h2elan $CLIENT_LO` `h2elan $CLIENT_HI` || exit 2
39 ${LMC} --node $s --tcpbuf $TCPBUF --net $s tcp $PORT || exit 1
41 ${LMC} --node $ROUTER --route tcp `h2ip $ROUTER` $s || exit 2
42 # the device on the server
43 ${LMC} --node $s --obdtype=obdecho --ost || exit 3
44 # attach to the device on the client (this would normally be a moun)
45 ${LMC} --node client --osc OSC_$s || exit 4