Software Defined Networking (SDN) is a revolutionary networking design that isolates forwarding hardware from control decisions. The separation of the control plane from the data plane creates a number of issues, including security, dependability, load balancing, and traffic engineering. Dreadful security concerns in SDNs include denial of service (DoS) and distributed denial of service (DDoS) attacks. In SDNs, for example, DoS/DDoS attacks might overwhelm the control plane, data plane, or communication channel. In this study The SDN setup and installation approach used is a Mininet emulator with a controller Ryu with switching hub component, OpenFlow switches, and nodes. In SDN, we will use several Dos and DDos attack methods such as (simple ping, force ping, and aggressive ping) to generate traffic in various topology such as (single, linear, and tree). We will discuss the intensity of effect in all distinct ping topology. Furthermore, we examine the various methodologies and tools used to execute the improved solutions. Finally, we discuss potential future research approaches for dealing with DoS/DDoS assaults in SDNs.