A non-transitory computer-readable recording medium having recorded thereon a program for controlling a control unit of an information transfer device for delay tolerant communication, so that the control unit, to exchange environment information with another information transfer device, and to derive an assigned range that is assigned autonomously to the information transfer device, based on the environment information that is kept by the information transfer device, through a planarization search processing of each other in which a value of equal load balances another information transfer device, the assigned range being one of ranges that are shared between the information transfer device and the other information transfer device.