Optimization of security communication wired network by means of genetic algorithms