The Internet Protocol (IP) is a communication protocol that is used for relaying datagrams across network boundaries. It has routing function which enables inter-networking, and essentially establishes the Internet.