# Aws Real Time Training | Aws Architect RoadMap 2023 | Aws Full Live Course | Online Jobs | JOYATES

Show Video

255.255 Dot 255 dot 255 so in every block in every digit we do have four let me show you something uh so this is what I'm talking about if you go with this documentation IP and cidr block if I am taking 10.0.0 16 here you need to remember before this slide you need to understand this part when I'm saying 10.0.0.0 there are four digit in an IP address represent a set of 8 binary digit when I am writing 10 10 means zero one zero one double zero double zero so this will become 10 in total it would become 10 if you go with this number copy this number and they go in reverse order like like let me just copy it starting from 0 it will be zero right it will be one it will be 2 it will be 4 like this so 1 2 4 8 right here it is eight here it is 2 it becomes ten for you right similarly if I go with this calculation you will understand 10.0.0.0 meaning right guys then I am taking another ring 10.0 to 55 to 55 just to explain you

here I am taking all one why because I want to take 255 and that number you need to keep increasing that number you will keep increasing and if I am saying this 10.0.0.0 16 that means I want to block two side lowest possible IP this is highest possible IP and if I go I am going with 10.0.0 16 that means to 16 bits are logged here and this is free to choose these are logged here so let me show you one example then you will understand much better let me go to 10.0.0 16. first let me go to Excel and explain

you what range I am going to take it I am taking cidr block AS 10.0.0.0 Slash 26 I am seeking 26 what does it mean it means that you are you can have this range from 16 to 32 as in maximum range this is a networking fundamentals that you need to read about before coming to AWS so here what I am doing is I'm just telling you one plain formula that you have to use it you have to use equal and 32 this would be fixed minus whatever number you have adding here like in my case adding 26 right 26 it would become 6 then you need to add 2 power that number that number is how much that number is 6. so how much it would become 64 machines 64 IPS if I am going to create a network of this range I will get 64 machines I will get the 64 machine in total right guys then I create subnetting subnetting means I am going to create my shorter Network now now right now I have created a bigger Network 10.0.0.0. one questions I have here so when you said like taking in the last okay okay let me explain you first 10.0.0 26

4 IPS I will get then I will be working with subnet subnetting means I want to distribute this network into multiple parts now for example range I am taking for subnet is 10.0.0 Slash 28 what does it mean 28 so you have to again apply the same formula that out of 32 for example here I am calculating 32 minus 28 is equal to 4 right so 4 power 2 or you can say 2 power to 16 IP you will get and starting rate is 10.0.0 10.0.0 so this range it will go up to 16 machine like this total 15 machines IP you will get this is subnet one just imagine this is subnet one similarly I am creating another subnet here I am writing subnet 2 and the range 4 that I'm giving 10.0.0 slash this time

I am instead of 0 I am giving 16. slash 28 so this means same in subnet also I will get 16 IP but this time it would be starting from 10.0 16 to 31 total 16 IP you will get similarly I am creating subnet 3 subnet 3 subnet 3 means 10.0.0 slash here I am taking range is 32 10.0.0 32 object 28 starting from 32 to 47 similarly subnet 4. subnet 4 starting line would be 10.0

40 8 2 28 I would get 16 IP here also n dot 0.0 48 to 63 [Music] sorry so in total you will get 64 machines if you see the count it is showing you 64 right there is 64 IPS you will get but one thing I am telling you because this is very important from the interview perspective of the certification perspective every subnet you are going to create AWS will block four to five IPS that is fixed five IPS AWS will keep five five why you file IPS they are not going to give you first I think 4 and then this one we are going to reserve it for some internal purpose one is for research purpose one is for networking purpose they are going to block these IPS they will never give you this IPS so in short if you are going to create the phone number of subnet you will get minus 20 every subnet AWS will extract five IPS because you are going to create four subnet here 20 IPS AWS will not give to you in short you will get 44 IB now please ask your question who was asking the question who was that any questions guys so far so these these IP ranges will be inside this particular VPC or or maybe if I create another VPC that also will take the same IP address ranges so it will be different no this is this is my ip1 all right similarly I will be creating another IP block for you because somebody has requested connection pairing right today I will show you how to do connection pairing I will create two different cidr block one this one created right similarly I will create another one using this range so here also I will be picking for example 28 I am picking or 27 I am picking in case of 27 how much machines I will get in total 32 machines right so that 32 machines I will be dividing to subnet let's divide in subnet to subnet 1 and subnet 2. here I am going to use 198 168 0.0 slash pradeep you can switch off your camera it is not a good practice file shaping your single sessions so starting from this 192 168 0.0-27 what does it mean that I am going to create 168.0.0 and I need 16 machines right so 16 for 16 you need to do here 28 so starting from 0 starting from 0 to 15 you will get it here and second submit I am going to create this 0 Dot 16 slash 28 that means I am going to create 192 168 0 dot uh 16 to 31.