how packet travels in network