Changes between Version 11 and Version 12 of P2pnsInstall
- Timestamp:
- Sep 29, 2008, 3:25:39 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
P2pnsInstall
v11 v12 51 51 Congratulations - now you should have a running P2PNS installation. With this setup you could connect a second SIP UA to the same local proxy and start a call between the two UAs. 52 52 53 Of course a peer-to-peer network with a single node is not very interesting ;-) You have t o alternatives to add additional overlay nodes:53 Of course a peer-to-peer network with a single node is not very interesting ;-) You have two alternatives to add additional overlay nodes: 54 54 55 55 === Emulation of additional nodes by using the tun interface (needs root privileges) === 56 56 57 5a. Adapt !OverSim-20080919/Simulations/realworld/setup-realdht to your environment (username and LD_LIBRARY_PATH). If you removed the bootstrapIP paramter from realdhtapp.ini in step 5 restore the old "10.6.0.1" setting.57 5a. Adapt !OverSim-20080919/Simulations/realworld/setup-realdht to your environment (username and LD_LIBRARY_PATH). If you removed the bootstrapIP paramter from realdhtapp.ini earlier in step 5 restore the old "10.6.0.1" setting. 58 58 59 6a. Start !OverSim, enter your password and click on the "FAST" button forboth !OverSim processes:59 6a. Start !OverSim, enter your password and click on the "FAST" button on both !OverSim processes: 60 60 {{{ 61 61 cd ~/sim/OverSim/Simulations/realworld … … 63 63 }}} 64 64 65 Inthis configuration there is a second !OverSim process emulating 10 additional overlay nodes.65 With this configuration there is a second !OverSim process emulating 10 additional overlay nodes. 66 66 67 67 === Adding additional overlay nodes (you need multiple machines for this) === 68 68 69 9. Install !OverSim and OpenSER on a second machine. If you simply want to copy the !OverSim binary, you should make a static binary with compiled in NED files ( butyou can't make a static OpenSER binary):69 9. Install !OverSim and OpenSER on a second machine. If you simply want to copy the !OverSim binary, you should make a static binary with compiled in NED files (unfortunately you can't make a static OpenSER binary): 70 70 {{{ 71 71 - Set build_shared_libs=no in omnetpp-3.4b2/configure.user … … 74 74 }}} 75 75 76 10. Now changerealdhtapp.ini on the second machine:76 10. Now adapt realdhtapp.ini on the second machine: 77 77 {{{ 78 78 - Replace the run number (''Run'' and ''default-run'') by a unique number for each node 79 79 (Otherwise all nodes will have the same nodeID!) 80 - Set bootstrapIP to the IP of the first overlay node80 - Set bootstrapIP to the IP of the first machine 81 81 }}} 82 82