Ip routes packets to the appropriate destinations.