How is our Home Internet working
-
We have a router which we can connect to using wifi (ethernet cable)
-
Every device connected to a network gets an ip address
- Principle: A device can connect with any other if they are in same network
- When we communicate with any device, a stream of network packets are sent out and generally each packet has three things
- source
- destination
- data
- Router is a device in networking which can forward packets from one network to another, Routers have Route tables which are rules about where the packet has to be forwarded.
- networking is not good with names, it is good with ip addresses, DNS helps in resolving names to ips
- DHCP server is responsible for allocating ip addresses to the devices in a network.
- A Network is considered to be public from the internet i’can connect to this network.
- Private network generally have ips in the following ranges
- 192.168.0.0 to 192.168.255.255
- 10.0.0.0 to 10.255.255.255
- 172.16.0.0 to 172.31.255.255
- NAT allows private networks to connect to internet

