Public, private, and internet explained for non-techies.
Networks are things connected, you and your friends, family members, computers, and mobile devices in one way or another are all connections.
In a private network (which we’ll define later on) computers are connected, and to prove such a connection computers usually share similar IPs where only certain numbers vary from others. This is because an IP is divided into two parts the Network ID and the Host ID, furthermore because each computer should have its unique identifying number.
if the above IP address was the unique IP of your computer device other devices in the same network would have similar IPs but each with its own unique identifying number for example 22.214.171.124, 126.96.36.199, 188.8.131.52, and 184.108.40.206 where 0 is reserved for your networkID. The numbers in bold help you distinguish one device from another. No devices in a network should have the same IP address that would make communication a pain in the … so, that sort of thing in networking is not acceptable.
More on networking …
A network can be formed from as little as two devices to as many as necessary. So, connected devices form a network. You don’t need expensive equipment to make yourself a network. Sharing my mobile device connection using tethering/hotspot with two or more devices is an example of a network diagram.
Should you decide to do this look up the IP addresses attributed to each connected device at home and you’ll realize each of those IPs lead back to the device sharing the connection acting as a modem (Network ID).
The internet is a network, not a simple public network but a giant network with many private networks within its domain. I doubt you’ll find a network bigger than the internet Good luck!
Private and Public Networks
The internet is made of small networks these are what we call private Networks. This can be your home setup, school, or work. Networks connecting these private networks are called public networks. We can consider a private network as any network to which access is restricted public networks are the exact opposite. The best example of a public network is the internet.
Identifying devices on a network
Humans have names and individual fingerprints, one can use a fake ID here and there but, (and I don’t condone this of course) the same doesn’t apply to fingerprints. We can compare IP addresses to names and Mac Addresses to Fingerprints since these don’t change.
So, within a network to find who is connected and where just like you’d need a name and fingerprints to prove that I am, who I say I am a valid IP and Mac address will work on computers.
Public and Private IP addresses
Let us forget the comparison for a while because we don’t have private and public names, not officially anyway. Public IP addresses are used to identify devices on the internet whereas private IP addresses are used to identify devices amongst other devices.
Find yours, lookup on Google, and write “what is my IP address” note that down, close your browser and use your terminal this time and use the command “IP config on Windows/ifconfig or Mac and Linux ” and hit enter. For what it’s worth those won’t match.
Ping is very easy to use but very important and available on most Operating Systems by default like “IP/If config depending on your Operating System. Easy or not we won’t go deep into using the tool but only the basic command to help us with our networking journey.
Ping uses Internet Control Message Protocol (ICMP) which can help us detect whether a connection is reliable or if it even exists in the first place.
Here’s an example;
ping -c 4 220.127.116.11
PING 18.104.22.168 (22.214.171.124) 56(84) bytes of data
64 bytes from 126.96.36.199: icmp_seq=1 ttl=56 time=8.21 ms
64 bytes from 188.8.131.52: icmp_seq=1 ttl=56 time=9.90 ms
64 bytes from 184.108.40.206: icmp_seq=1 ttl=56 time=9.88 ms
64 bytes from 220.127.116.11: icmp_seq=1 ttl=56 time=8.43 ms
— — 18.104.22.168 ping statistics — –
4 packets transmitted, 4 received, 0% packet loss, time 4006ms
This is a good result it means whatever site behind that IP is alive and well (online). by the way, you should know that (22.214.171.124) is Google’s DNS server.
You can find that out yourself by using whois
who is 126.96.36.199
Parent: LVLT-ORG-8–8 (NET-8–0–0–0–1)
Organization: Google LLC (GOGL)
OrgName: Google LLC
Address: 1600 Amphitheatre Parkway
City: Mountain View
Comment: Please note that the recommended way to file abuse complaints are located in the following links.
Comment: To report abuse and illegal activity: https://www.google.com/contact/
Comment: For legal requests: http://support.google.com/legal
Comment: The Google Team
OrgTechName: Google LLC
# Copyright 1997–2022, American Registry for Internet Numbers, Ltd.
Just in case you’re lost;
IP= Internet Protocol
Mac= Media Access Control (unique single mac for every device)
Using the ping comand= #ping IP/website
Note: Since the ping command doesn’t stop ever on Mac type Command + C and on Windows type Ctrl + C. Alternatively you can add the letter (C ) and the number of counts to stop pinging after a count the same way I did.
Address Resolution Protocol is the technology that makes it possible for devices to identify themselves on a network using a Mac and IP address.
The devices within a network store information and have the help of cache which helps identify each other and match mac addresses to the correct IP addresses.
To match a Mac Address to an IP address a broadcast is sent by a device and is read by every device on the network and this is called an ARP request. The device to which the IP in question matches sends back a message and this is called an ARP reply. Device (A) sends a request and device (B) the match sends a reply.
Leave a comment let me know what your thoughts are, and make every day a Cyber Security awareness day!