The goal of fifth-generation (5G) communication technol-ogy is to provide increased data throughput, excellent user exposure, reduced power consumption, and exceptionally low latency. To provide clients with the quality of service they desire, these cellular networks will employ a diverse multi-layer approach that includes device-to-device networks, macrocells, and several types of small cells (QoS). With the extensive need for these cellular technologies for increased data transfer and advanced analytics, appropriate resource allocation and management is essential. Since 5G networks operate on high bandwidth, high frequency, and short-range transmission, multiple devices can enjoy the service within the stipulated range. Hence a versatile and efficient resource allocation schema is required. Still, researches are in progress to instantly handle the resource allocation and management in 5G networks. Keeping this problem as a primary goal, this research has proposed a versatile software-defined network (SDN) based resource allocation and management model for 5G networks. Adequate experiments are performed using NetSim simulator, to prove the efficiency of the proposed models.