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