Load Balance Service in Wired Network Author: Weiwei Fang NS Version: 2.31 Installation: Copy the file in the correct directory. edit the Makefile, find the following line: OBJ_CC = \ Add the following lines in the OBJ_CC sub section: ----------------------------------------------- wpan/p802_15_4trace.o wpan/p802_15_4transac.o \ apps/clientapp.o apps/accservapp.o \ $(OBJ_STL) ----------------------------------------------- type: "make clean" "make" to recompile the files. Test Script Explaination: This is a model writen by me for a friend. In the sample tcl script, there are 9 nodes. Node 0 is the Load balance server, Node 1-4 are the access server, Node 5-8 are the clients. 1 ---- -----5 \ / 2 ------ ----- 6 0 3 ------ ----- 7 / \ 4 ----- ---- 8 After the simulation begins, 1.The access servers will regeister themselves to load balance server. 2.A client will request load balance server for an available access server. 3.The client communicates with the selected access server. 4.The access server will reports the load of itself to the load balance server. 5.The load balance server choose the access server with some algorithm. (In the current version, there is only a random selection algorithm implemented in the model). Any Question, Please contact me with email: fangvv at gmail dot com.