Dynamic routing in packet switching multilayer communication networks