What happens when an IP packet reaches a router