The Internet Protocol (IP) is a communications protocol used to connect computers across a network, specifically the internet. IP consists of rules and regulations for transmission of packets across a network including routing and addressing. IP ensures that the packets of data that travel across a network arrive at the correct location.
IP information, such as IP addresses and routing protocols, is attached to each packet to help routers direct the packets to the right destination.