Internet Protocol address Logical addressing with numerical values IP gives you access to Internet and unique number so others can identify you.
On internet we need to communicate using packets . So where should we send one? That’s why to identify you as one on billions computers we need IP. Also Internet Protocol addressing gives to access to internet
We get IP address based on router , subnetting and many more things. DHCP protocol gives us IP address. In home network router is your DHCP server.
Public IP is IP which is displayed to all other devices on Internet but as IPv4 is limited so some devices share same public IP. Private IP is IP given in Internal network and using Subnetting we can get many devices to share same public IP.
Classful Routing does not import subnet mask. And in this also subnet mask is provided after the route update. In classful routing, subnet mask is same throughout, does not vary for all devices.
Classless Routing imports subnet mask and in this, triggered updates are used. In classless routing, VLMS (Variable Length Subnet Mask) is supported and also CIDR (Classless Inter-Domain Routing).
## Two types of IP address
Difference between IPv4 and IPv6