Networking Basics
- Goals:
- In the Azure Cloud (Or any cloud), we are responsible for virtual network and Physical network with in Azure Hardware is managed by Microsoft
- Create Virtual Network for your archictecture so, creating networks for applications, exposing necessary servers to internet. Deny all the other access
- Understand and implementing Virtual Private Networks
- Enabling DNS (Public and Private)
IP Address
- Unique address given to a system in a network to communicate.
- There are currently two main versions of IP Address
- IPv4
- IPv6
- IPv4:
- IPv4 is made up of 32 bits, Because of this , there are 2^32 (4294967296) possible IP Addresses
- Each IPv4 address is broken down into four sections
- Lets look at decimal reprsenation and binary representation of some ip addresses
192.168.0.10 => decimal representation 11000000.10101000.00000000.00001010 => binary represenation 20.25.34.7 => decimal 00010100.00011001.00100010.00000111 => binary representation 10.0.0.2 => decimal 00001010.00000000.00000000.00000010- Execute ipconfig on your laptop
- Observations about IP Addresses
- What is purpose of Default Gateway and subnet mask?
- Why are most of our ip addresses starting with 192.168.x.x or 10.x.x.x in our office network
- IP Address holds
- network id
- host id
- But to determine the network id and host id we need a subnet mask
192.168.0.198 255.255.255.0 network id 192.168.0 host id 198 192.168.0.11 255.255.0.0 network 192.168 host id 0.11 10.0.0.7 255.255.255.0 network id (3 octets) 10.0.0 host id (1 octet) => 2^8 ~= 256 7 172.16.0.8 255.255.0.0 network id 172.16 host id (2 octets => 2^16 ~= 65536) 0.8
