Internet is Mesh topology. read more to understand 😉
Star topology is singe point of failure, which mean all the devices are connected to hub connected as the center of star with single wire. If hub / switch fails network will go down.
Our home wifi works on wireless star topology, where in all cellphone/devices are connected to router as center of star.
In Mesh topology, one devices is connected with several other devices using multiple wires. (wire mesh). That way if one hub fails, network still works.
Mesh topology is opposite of single point of failure and is redundant, which means even if one router fails, data packet can be relayed or routed using different route or path. Imagine a big house with one in modem and router with multiple wifi extenders, that way if range is week for one extenders, data can still travel using other extender device to reach to modem 🙂
Mac address is the unique unchangeable address give to each network address. Technically mac address the real address, ip address is temprary, as you change your address your ip address will change but not your mac address ( when you use airport free wifi your ip is difference)
A media access control address (MAC address) is a unique identifier assigned to network interfaces for communications on the physical network segment. MAC addresses are used as a network address for most IEEE 802 network technologies, including Ethernet. Logically, MAC addresses are used in the media access control protocol sublayer of the OSI reference model.
This is strange but true that all the devices in you home have same public ip address 😉 and that is the public ip of your router provided dynamically by your ISP.
ARP is Address resolution protocol which would help to resolve the public + private ip into a mac address. This get cached as well, so that whenever the communication happens the sender targets it towards mac address
NAT => Network address translation
In my house my router has been assigned dynamically a public ip, all my devices in home have a private ip address. Think of it as phone number for a company with phone extension for each employee. Hence it is responsibility of NAT ( acts like telephone receptionist) to translate private + public ip and establish the connection.
with ipv6, we do not need NAT any more 😉 since ipv4 are only 4 billion hows ipv6 which is 128 bits has delizzions ( more then billion, zillion etc) ip range available. But who knows we might even exhaust that too in future 😉
A firewall is a system that is designed to prevent unauthorized access from entering a private network by filtering the information that comes in from the internet. A firewall blocks unwanted traffic and permits wanted traffic.
It explains the different levels of DNS, such as the resolver, root server, domain server, and authoritative name server.
Http send data in clear text format, hence middle man attacker or sniffer can read and understand data clearly.
Https sends data in encrypted format, which means clear text data is converted in “23423#$%#$2asd&*” encrypted format which only received can understand.
SSL protocol helps establishing the secure connection between client and server. Basically server send the ssl certificate to client, ( so before sending sensitive data client knows host server can be trusted and understand the in encryption details).
TLS 1.2 is successor of SSL which is current being used.
ip v4 is a 32 bit address with 4 octets of 8 digit each separated by dots.
Max number range (0 to 255) of ip v4 is around 4 billion
Since we might need more ip address in future new version called is ip v6 has been implemented, which is 128 bit hexa decimal number.
An IPv6 address is represented as eight groups of four hexadecimal digits, each group representing 16 bits (two octets, a group sometimes also called a hextet). The groups are separated by colons (:). An example of an IPv6 address is: 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
DHCP service assigns the ip address dynamically. Dynamic ip addresses changes pretty often as soon as device gets disconnected. It also reserves the ip address and makes it static for network printers etc. ( maps the ip with device mac address.