Abstract:The traditional honeynet has many drawbacks such as inconvenient deployment, difficult flow control, and complex dynamic adjustment. This study proposes to use SDN, ODL, and Mininet technology to deploy lightweight virtual honeypots, build virtual honeynet topology, and use deep learning technology to optimize route selection. The experimental results show that the proposed SDN routing optimization mechanism has sound convergence and effectiveness, and can turn the attack to honeynet when the network is attacked, so as to reduce the damage caused by the attack and thus reduce the network attack threat.