Heterogeneous networks is the basis for 5G mobile communication networks evolution, one of the major challenges is the interaction between the devices in Het-Nets without the base station. This article discusses perspectives, challenges and services 5G networks, as well as direct device-to-device communication - technology, which can provide low power, high data rate and low latency services between end-users. In this paper, we consider only the interaction process of a network node with a mobile node. Data delivering process over the network is the subject of further research.The simulation results showed that the interaction process of ad hoc network nodes in the presence of mobile nodes is random, and data transfer probability from fixed to mobile nodes depends on the mobile node moving speed. © 2019 IEEE.