IP
IP (InternetWorking Protocol)
The Internet is the Network of Networks. It is a design philosophy and architecture expressed in a set of protocols
A Protocol is a well-known set of rules and standards used to communicate between machines.
- All devices in the internet have unique addresses
IP Address
To get ip address on Mac
ipconfig getifaddr en0
IPv4
Provides for 4Billion unique addresses
- IPv4 has 4 parts consisting of 8 bits each ~ 0 to 255 in decimals.
- The first part represents the country/network
- The second part is the region/network
- The third is the subnetwork
- The fourth is the device
IPv6
- 128 bits per address composed of 8 parts
- provides 340 undecillion unique addresses
Tools
- ifconfig website - you can also
curl https://ifconfig.co/
and will return your public ip address