Flocking In Fixed And Switching Networks