Added instructions for running MultiRouter.

This commit is contained in:
dev
2013-07-04 06:31:16 +00:00
parent 62590171ba
commit 95ea1e763d

View File

@@ -15,6 +15,11 @@ I2P can be run as a separate test network by controlling the locations that a ne
The standard mode of operation is to have one JVM per router instance; hence running multiple copies of I2P on a single machine is inadvisable, both due to the potential resource drain and the certain port conflicts. To better facilitate setting up small test networks, I2P has a multirouter mode which enables multiple distinct routers to be run in the same JVM.
{%- endtrans %}</p>
<p>{% trans -%}
MultiRouter can be started from the i2p base directory by running the below command.
{%- endtrans %}</p>
<pre>env CLASSPATH=$(find lib/ -name *.jar | paste -s -d ':') java net.i2p.router.MultiRouter 25</pre>
<p>{% trans -%}
Additionally, I2P can be started in a virtual network mode. This mode disables all transports, allowing the router to be tested in isolation without network traffic. To enable this mode, add <code>i2p.vmCommSystem=true</code> to the router.config before starting.
{%- endtrans %}</p>