What is a protocol?
A protocol is a pattern set of rules for formatting and processing information. The protocol enables computers to communicate with each other.
What is IP?
What is an Ip address?
An IP address is a set of numbers with many instances of random numbers. The Ip address looks like a random number, like 184.108.40.206. The website requires a server to host online that transfers the information from the server to the user. When buying a hosting, it will give an Ip address and when buying a shared hosting it will not give because in one server there are hosted multiple websites.
IP is a numerical sequence allotted to each device connected to an internet network. The Ip address uses for communication to the network. Ip act as an identifier on a particular network.
Each device that is connected to the internet has its own address, like an IP address as a string. For eg every person in the world has a unique mobile number, same as the computer and other devices has an IP unique address.
With an increasing demand for the internet, a new protocol version (Ipv6) has been created that increases the IP address.
Ipv4 is the first version of IP and Ipv4 can generate four billion addresses.
Ipv6 is an internet protocol version 6 that is more advanced and could generate an infinite number of addresses.
IPV4 vs IPV6
Ipv4 is 32 bit and Ipv6 is a 128 Bit IP address.
Ipv4 is a numeric address, while ipv6 is an alphanumeric address.
Ipv4 allows a 12 number, whereas Ipv6 does not support it.
Ipv4 supports virtual length subnet mask where Ipv6 does not support.
Ipv4 uses ARP (Address resolution protocol) to map mac address, whereas Ipv6 used NDP (Neighbor discover protocol) to map to mac address.
Ipv4 is capable of 4.3 billion addresses while Ipv6 capable of unlimited.
In principle, they are the same, but some features with different work.