thanks for the responsive reply! that does help to my confusion.
plus, I’m wondering if we just want to deploy a test network in lab, and we just want to verify features of the public branch code of IPFS, is that possible? Say by modifying the code to use different port/protocol the node communicate with each other. Sure it can, but is there any easiest work to do; after all, we just want to test the ipfs network in an isolate way.
thanks in advance.
If you mean just using IPFS in a physically or logically isolated network, that should work fine. IPFS nodes will automatically try to find and connect to nodes on the same LAN. If you’d like to set up your own bootstrap nodes you can also do that by just choosing one node to act as the bootstrap node and specifying it in the config of the other nodes – thought that might not be necessary if they’re on the same LAN.
You could also try to remove all of the default bootstrap nodes from all of your nodes and only specify your own bootstrap nodes, but it’s not guaranteed they won’t find a way to connect to nodes outside of your test network if they can connect to the internet. I’m not sure how they’d be able to, but without using the private network functionality there aren’t any hard stops.