If you wish to start multiple peers on one machine, you probably need to adjust 
the configuration more. 

• If things are still the same as when I last worked with this (and IIRC), some 
things are _outside_ GNUNET_HOME. There are some sockets … somewhere (I think 
under /tmp? Not sure where.). So, GNUnet might be getting confused from this.
• Maybe wait a few seconds after doing ‘gnunet-arm […] -s’, instead of the &&. 
Maybe the TCP or UDP transports haven’t choosen a port yet? I’m not sure this 
is how it works though – not familiar with this, this is speculation.
• I’m not sure if UDP ports are choosen automatically. If they aren’t, then 
there might be some kind of port conflic. In case of UDP (unidirectional), then 
the peers would be unable to verify each others existence.
• Even if they are choosen automatically, this automation probably had 
NAT-punching in mind, not this.
• For an isolated network, I think you also need to tell GNUnet to bind to 
‘localhost’ instead of everything.

It would be nice to have official documentation on setting up this kind 
isolated one-machine, multiple peers network. It seems quite convenient for 
safely testing things out. (Though for full isolation, a ‘unix’ transport would 
be needed.)

Best regards,
Maxime Devos

Reply via email to