An SDN network IP address hopping method based on a randomization algorithm relates to the technical field of computers, and comprises a first host, a second host, a random IP address generator, a switch, a controller and a virtual IP address configuration manager; the first host and the second host are connected through the controller; and the controller is connected with the virtual IP address configuration manager through the switch. Through cooperation of the first host, the second host, the random IP address generator, the switch, the controller and the virtual IP address configuration manager, the randomization algorithm model hops a real IP address and a virtual IP address through a flow rule, and honeypot embedding, anti-tracking setting and monitoring setting are performed in the hopped IP address; therefore, not only is the security of network communication improved, but also the aggressiveness of the system is improved, and combination of active defense and passive defense is realized.