Networking in Cloud
- Terms:
- Ip address
- Network interface Cards
- Network
- Subnets
- Routing
- Subnetting
- Firewalls
- Public networks
- Private Networks
- Virtual Private Networks
- Hub spoke
- Leased connections
- DNS (Domain Naming Servers)
- OSI Model
- Reverse Proxy
- Load Balancing
Networking Basics
- Home internet connection:

- Ip Address: A number to uniquely identify a device in a network
- Ip Address is combination of network id and device id
- We have executed
ipconfig and we got ip, subnet mask and default gateway

- IPv4 is an approach where ip address is a 32 bit number with 4 octets (8bits)
X.X.X.X
- How to find network id and host id
ip: 192.168.0.118
sm: 255.255.255.0
---------------------
network id : 192.168.0
host id : 118
ip: 192.168.0.64
sm: 255.255.0.0
--------------------
network id: 192.168
host id : 0.64
- Basic rule of networking:
- A device can communicate directly with other device in the same network
- Router transfers packets from one network to another
- Network sizes: Number of devices that can be connected in this network
ip: 192.168.0.118
sm: 255.255.255.0
dg: 192.168.0.1
----------------------
nid: 192.168.0
hid: 118
hid => number of octects => 1 (8 bits) => 2^8 - 2 => 256 - 2 => 254
ip: 192.168.0.64
sm: 255.255.0.0
--------------------
network id: 192.168
host id : 0.64
hid (number of octects) => 2 * 8 => 16 => 2^16-2 => 65536-2
2 ips: => 192.168.0.0 (network id) , 192.168.255.255 (broadcast id)