Static and Dynamic Routing Protocols in Network Security Attacks