Azure Vnet The network which we create in Azure is referred as Azure virtual network (vnet). The resources which we create in Azure will be part of subnet not virtual network Every Azure Vnet will have a default azure route table which allows communication between all the systems in vnet communication to the internet Azure […]

User Shell Setting up the user shell PS1 In the home directory we have file called as .bashrc .bashrc is a configuration file in Linux that contains commands and setings specific to the bash shell. This is executed every time a new bash shell is launched. This can be used to set environmental variables, aliases […]

Networking Design a network with 3 subnets of 130 devices each 5 subnets of 100 devices each 3 subnets of 130 devices each subnet variable = 8 fixed = 24 SM: 11111111.11111111.11111111.00000000 11111111.11111111.111111yy.00000000 subnets: 192.168.0.0/24, 192.168.1.0/24, 192.168.2.0/24 network: 192.168.0.0/22 5 subnets of 100 devices each subnet variable = 7 fixed = 25 SM: 11111111.11111111.11111111.10000000 11111111.11111111.111111yy.y0000000 […]

YAML YAML is a data representation format. YAML is collection of name/value pairs In YAML to represent name/value <name>: <value> For reprsenting value we have to deal with types Scalar/simple types text: <name>: <string-value> or <name>: “<string-value>” number: count: 10 boolean: yes/no/True/False isOnline: yes Complex: array/list: map/object Sample Yaml’s — name: Hyderabad state: Telangana metropolitan: […]

Azure Global Infrastructure Azure Has Regions where the infrastructure is available for usage Regions are of two types in Azure Regions Regions with Zones (3) Paired Regions exist for enabling disaster recovery and quick data sync between regions Azure Global/Backbone network: This is a backbone network which connects all the Azure regions and edge locations […]

Azure Global Infrastructure Azure Has Regions where the infrastructure is available for usage Regions are of two types in Azure Regions Regions with Zones (3) Paired Regions exist for enabling disaster recovery and quick data sync between regions Azure Global/Backbone network: This is a backbone network which connects all the Azure regions and edge locations […]

Design a Network with 6 subnets of size 300 each Solution: subnets = 6 each subnet = 300 ~= 512 6 * 512 = 3000 2^v ~=300 = 512 v= 9 f = 32-9 = 23 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 Subnet SM: 11111111.11111111.11111110.00000000 Network SM: 11111111.11111111.1111yyy0.00000000 ip: 10.0.0000yyy0.0/23 s1: 10.0.00000000.0/23 = 10.0.0.0/23 ip: 10.0.00000010.0/23 = 10.0.2.0/23 […]

Azure Repos Create a Repository in Azure Repos Now for https url generate git credentials Lets use ssh Azure Pipelines This is service where we create CI/CD Pipelines Basic CD pipeline Azure Pipelines can be created in two ways Classic Editior: This is a visual way to create Pipelines History is not maintained YAML (azure-pipelines.yaml): […]

Exercises Create a network with 8 subnets of size 500 each network 192.168.0.0/20 subnets: 192.168.0.0/23 192.168.2.0/23 192.168.4.0/23 192.168.6.0/23 192.168.8.0/23 192.168.10.0/23 192.168.12.0/23 192.168.14.0/23 6 subnets of size 300 each network: 10.10.0.0/20 subnets: 10.10.0.0/23 10.10.2.0/23 10.10.4.0/23 10.10.6.0/23 10.10.8.0/23 10.10.10.0/23 4 subnets of size 2 lakh devices each “` 2 ^ v ~ = 2 lakh fixed = […]

CIDR Expansions Expand the following CIDR 192.168.224.0/19 fixed = 19 variable = 13 192.168.111xxxxx.xxxxxxxx SM: 11111111.11111111.11100000.00000000 start: 192.168.224.0 end: 192.168.255.255 10.128.0.0/10 10.128.0.0/10 fixed = 10 variable= 22 10.10xxxxxx.xxxxxxxx.xxxxxxxx SM: 11111111.11000000.00000000.00000000 start: 10xxxxxx => 10000000 10.128.0.0 end: 10xxxxxx=> 10111111 10.191.255.255 172.16.240.0/22 fixed = 22 variable = 10 172.16.111100xx.xxxxxxxx SM: 11111111.11111111.11111100.00000000 start = 172.16.11110000.0 => 172.16.240.0 end […]