HOW TO MASTER SUBNETTING RENE MOLENAAR PDF
René Molenaar. m akes no r epr esent at ion or war rant ies wit h respect t o t he accuracy or com plet eness of t he cont ent s of t his book and specifically. Master Subnetting? The. Ultimate Beginners Crash. Course To Subnetting & RENE. MOLENAAR PDF - 3 Sep. How to Master CCNA covers everything you. René Molenaar. makes no representation or warranties with respect to the from binary to hexadecimal there's a trick you need to master.
|Language:||English, Spanish, German|
|Genre:||Fiction & Literature|
|ePub File Size:||17.88 MB|
|PDF File Size:||17.66 MB|
|Distribution:||Free* [*Regsitration Required]|
capitalized, although René Molenaar cannot attest to the accuracy of this Enjoy reading my book and good luck mastering your binary and subnetting skills!. View Notes - how to master cittadelmonte.info from SECURITY at South Australia. René Molenaar. makes no representation or warranties with respect to the. is versed in subnetting, he won't waste bunch of IP IP address if he has broken that subnet in wrong way into . Rene Molenaar, “How to Master Subnetting”.
The net w ork address has t o be t he sam e for all t he host s, t he host part has t o be unique. At t his m om ent t here ar e 3 classes t hat are im port ant t o us: Mult icast Cla ss E: Resear ch www. When w e t alk about br oadcast s in I P w orld, w e t alk about layer3 br oadcast s. MAC addr esses ar e used t o uniquely ident ify a net w ork device, for exam ple: Lay er 3 is where we t alk about I P addressing, and we can also send a broadcast. For exam ple t ake t he Pret t y neat right?
Som e old applicat ions m ight st ill use t his for m of com m unicat ion. The first bit always has t o be a 0. As y ou can see t he Class A range is bet w een 0. Class B: The second bit has t o be a 0. Class C: Class D and E: Ther e is also a class D for m ult icast t raffic which st art s at We are not going t o use t hese classes for our binary calculat ions. A class A net w ork has 1 byt e r eserv ed for t he net work addr ess which m eans t he ot her 3 byt es ar e left for host s.
This m eans w e hav e a couple of net work s and every net work can have a lot of host s how t o det erm ine how m any host s each net w ork has w e will see lat er! A class B net work has 2 byt es r eserv ed for t he net work address which m eans t he ot her 2 byt es ar e left for host s.
This m eans w e hav e ev en m or e net w or ks but less host s per net w ork com pared t o class A. A class C net work has 3 byt es r eserv ed for t he net work address which m eans t he ot her byt e is left for host s. Now we have a lot of net work s but only a few host s per net work.
The people who invent ed t he I P addr essing schem e decided it would be a good idea t o have a range of net works t hat ar e not r out able on t he int ernet.
I f every device on t he planet would require a unique I P addr ess t hen w e w ould have already run out of addr ess space by now. I nst ead, t her e are som e privat e ranges you can use for your int ernal net works and t hese ar e not accessible from t he int ernet. Now perhaps y ou are wondering why you are able t o access t he int ernet fr om your hom e com put er?
The answ er t o t his quest ion is t hat you have 1 public I P addr ess t hat y ou got fr om y our int ernet provider, and all your hom e com put ers have privat e I P addresses. This way all com put er s can access t he int ernet by using a single privat e I P addr ess!
Cla ss A: Subne t t ing: I s it som e secret rule t hat ev ery one j ust knows about? The answ er is no, we use som et hing called a subnet m ask!
For t his net wor k, it would be t he following subnet m ask: I P addr ess decim al 1 0 I P addr ess binary Subnet m ask decim al 0 Subnet m ask binary The subnet m ask will specify which part of t he I P addr ess is t he net w or k- part and which part is t he host - part. To clarify t his let m e j ust t ake t he binary num bers, t he subnet m ask t ells y ou t he first 24 bit s are t he net work- address and t he 8 bit s t hat are left w e can use for host s.
I P addr ess Subnet m ask www. So now w e know t hat wit h 8 bit s t he highest value we can creat e is , does t his m ean w e can have host s in t his net work? I P addr ess 1 0 2 Broadcast address: The net w ork addr ess has all host s bit s set t o 0! The broadcast address has all host bit s set t o 1! The answ er is st ill no! I m essed wit h your head because t he highest value y ou can cr eat e wit h 8 bit s is not but Does t his m ake y our head spin?
I P addr ess 1 0 Su bn e t m a sk 0 www. The broadcast address has all host bit s set t o 1, so in decim al t his is Gr eat! So now you have seen what a net w ork looks like in binary, what t he subnet m ask does, what t he net w or k and broadcast addresses ar e and t hat w e can fit in host s in t his Class C net w or k.
I s t his possible? I t sure is! Basically what we are doing is t aking a Class C net work and chop it in 2 pieces, and t his is what we call subnet t ing.
I P addr ess 1 0 Su bn e t m a sk 0 I f w e want t o creat e m ore subnet s we need t o bor row bit s fr om t he host - part. For ev er y bit you bor row y ou can double t he num ber of subnet s, by bor rowing 1 bit we cr eat e 2 subnet s out of t his single net wor k. What will t he new subnet m ask be? The subnet m ask will be Because we can use t he 0 t he highest value we can cr eat e wit h 7 bit s is Our original class C net wor k has now been divided in 2 subnet s wit h a size of each.
So what will t he net wor k addresses of t he 2 new subnet s be? Subnet 1: By applying t he new subnet m ask we only have 7 h ost bit s t o play wit h. The net w ork address has all host bit s set t o 0, so t he net work addr ess will be: The first usable host I P address is t he one t hat com es aft er t he net w or k addr ess, so t his will be: The last I P address we can use for a host is t he one befor e t he br oadcast address, so t his will be: The broadcast address has all host bit s set t o 1 so t he broadcast address w e get is: The first subnet ended at Let m e show you anot her one, w e t ak e t he sam e Class C For every host - bit we bor row w e can double t he num ber of subnet s we can creat e, so by borr owing 2 host bit s we can cr eat e 4 subnet s.
Su bn e t m a sk Calculat e it from binary t o decim al: The new subnet m ask w ill be By applying t he new subnet m ask we only have 6 h ost bit s t o play wit h. The second subnet ended at We j ust chopped down our I f you underst and everyt hing up t o t his point …great j ob! Does t his look like a lot of w or k? Honest ly…yes it is!
I pr om ise you t o show you som e t ricks t o calculat e Class C,B and ev en A subnet s wit hout t ouching any binary num bers…. Ex er cise 2: Take t he Writ e down t he following inform at ion: The first 2 subnet s. The net w ork addresses. The broadcast addresses. The usable host I P addr esses. The appendix of t his book will show you t he answers. I P addr ess 16 0 Su bn e t m a sk 0 0 I f w e want t o creat e m ore subnet s we need t o bor row bit s fr om t he host - part.
Su bn e t m a sk 0 As y ou can see t he net subnet m ask will be I f y ou want t o know t o know how m any usable host I P addr esses y ou have, y ou t ake — 2 because of t he net wor k and br oadcast address.
Does t his m ake sense t o y ou? My pr om ise is st ill st anding…I will show you how t o solve t hese subnet t ing quest ions wit hout t ouching any binary, you j ust need t o m ake sur e you underst and t he m at h t hat is going on first. By applying t he new subnet m ask we only have 1 5 h ost b it s t o play wit h.
how to master subnetting.pdf - How to Master...
Now see if y ou can solv e t hese quest ions: The first 3 subnet s. The net w ork addresses c.
The broadcast addresses d. The first 4 subnet s b. I P addr ess 10 0 0 0 Su bn e t m a sk 0 0 0 I f w e want t o creat e m ore subnet s we need t o bor row bit s fr om t he host - part. Su bn e t m a sk 0 0 As y ou can see t he net subnet m ask will be By now y ou should be fam iliar what t he m at h looks like.
By applying t he new subnet m ask we only have 1 9 h ost b it s t o play wit h. The broadcast address of Subnet 1 was The broadcast address of Subnet 2 was We can do subnet t ing j ust by working wit h decim al num bers. By t aking an ext r a bit t he decim al value doubles every t im e: Take t his We know because t he subnet m ask is The 0 is being used so t he highest value you can cr eat e is Visualize t his as a block: When w e chop t his block in 2, t his is what we get: Fr om.
Net w ork: Well we know t hat t he br oadcast address is t he last addr ess wit hin a subnet , so we can j ust writ e t hose down now we know t he net w ork addr esses: One quest ion left ; what are t he usable host I P addresses? We j ust subnet t ed t his Class C net w ork, calculat ed t he net work address, br oadcast addr ess and t he usable host I P addr esses. Once y ou know t he rules doing ev eryt hing in decim al is m uch fast er. Ex er cise 4: Can we apply t his sam e m et hod for Class B net wor ks?
Sur e! The only difference wit h a Class C net w or k is we have m ore space because w e are now playing wit h t he 3 rd oct et. We st ill have t he sam e quest ions t o answer: The 2 subnet s. Can we apply t he sam e t rick for a Class A net w ork? Sam e quest ions, differ ent answers: That will m ake Right now you should have a good underst anding how y ou can cr eat e subnet s wit hout t ouching any binary num ber s and w or k wit h decim al only, t his m et hod is a lot fast er.
Cla ssle ss I nt e r - D om a in Rout ing Once upon a t im e when t he I P addr essing schem e was invent ed, t he people who developed t his t hought it would be enough t o have 3 differ ent classes as w e hav e seen so far, class A,B and C net work s.
Ther e w ere only 3 subnet m asks: Class A Ther e w er e only A class C w ould be t oo sm all because you only have I P addr esses, and t aking a couple of class C net w ork s is no scalable opt ion. The solut ion t o t his problem is Classless I nt er- Dom ain Rout ing, in ot her w ords w e st op wor king wit h t he classful net works and st art w orking wit h classless net wor ks. I believe t he CI DR not at ion is easier t hen w rit ing down t he com plet e subnet m ask , saves som e t im e.
Unfort unat ely on m ost operat ing syst em s and net work equipm ent you st ill have t o configure t he full subnet m ask inst ead of t he CI DR not at ion. Now you m ight t hink why we could care about t his because we ar e using a privat e net w or k address This is t rue, t ry t o t hink about t his on a global scale wit h t he I nt ernet. The net w ork addresses: Block size: Pit fa ll: Subnet 2: This is a block of One subnet wit h a block of Two subnet s wit h a block of One subnet t hat fit s host s.
One subnet t hat fit s 31 host s. I f y ou m ade it t his far and t ackled all t he different subnet t ing quest ions…good j ob! Sum m a r iza t ion When y ou ar e int o net w orking and rout ing in part icular, you ar e probably fam iliar wit h t he concept of sum m arizat ion. I n t he pict ure below we see 2 rout er s, rout er A has t he following net works configured: Rout er B rout ing t able: Once you have mastered the tricks in this book you will wonder why you ever had difficulty solving subnetting questions: Enjoy reading my book and good luck mastering your binary and subnetting skills!
There are 10 types of people in the world: Those that understand binary, and those who don't! Binary Basics Welcome to Subnetting The beginning The Fast Way Classless Inter-Domain Routing Variable length subnet mask VLSM Hexadecimal calculations Tackling miscellaneous subnetting questions Create your own cheat sheet Final Thoughts We are all used to work with decimal numbers where we count from 1 till In the binary system, we only work with 0 or 1.
The bit on the far right side is called the least significant bit LSB because this one has the lowest value. So how do we convert decimal numbers into binary?
Let me show you an example: As you can see, whenever you add a bit, the decimal value doubles. For example: Take a piece of paper and write down the 8 bits for yourself. See if you can solve the following decimal to binary calculations: Bits 64 32 16 8 4 2 1 12 54 44 Now try to do it the other way around and calculate from binary to decimal: Welcome to Subnetting Before we start calculating subnets, the first thing we need to do is take a look at what subnets and IP addresses are.
An IP address is a numeric value that you configure on every device in a network, think about computers, laptops, servers but also networking equipment like routers, firewalls and switches. Devices within the same IP subnet are able to communicate without using a router. IP Terminology: Bit s A bit has 2 possible values, 1 or 0. Octet An octet is just like a byte 8 bits, you often see byte or octet both being used. Network address When we talk about routing, the network address is important.
Routers use the network address to send IP packets to the right destination. Subnet A subnet is a network that you split up in multiple smaller subnetworks. Broadcast address The broadcast address is being used by applications and computers to send information to all devices within a subnet, Hierarchical IP addressing: Every byte has 8 bits. There are many ways to write down an IP address: This has some advantages, you can use a lot of IP addresses with 32 bits the biggest number you can create is 4,3 billion or to be precise 4,,, The advantage of having a hierarchical model is needed for routing, imagine that every router on the planet would need to know every IP address on the planet.
Try to compare this to phone numbers: The complete phone number is IP addresses use a similar hierarchical structure.
We apologize for the inconvenience...
Network addresses: The network address is a unique identification of the network. The IP address will tell you in what subnet they are located. The network address has to be the same for all the hosts, the host part has to be unique. At this moment there are 3 classes that are important to us: Multicast Class E: When we talk about broadcasts in IP world, we talk about layer3 broadcasts. MAC addresses are used to uniquely identify a network device, for example: Layer 3 is where we talk about IP addressing, and we can also send a broadcast.
For example take the Pretty neat right?
Some old applications might still use this form of communication. The first bit always has to be a 0. As you can see the Class A range is between 0. Class B: For a class B network the first bit has to be a 1. The second bit has to be a 0.
Class C: For a class C network the first bit has to be a 1, the second bit a 1 and the third a 0. Class D and E: There is also a class D for multicast traffic which starts at We are not going to use these classes for our binary calculations.
A class A network has 1 byte reserved for the network address which means the other 3 bytes are left for hosts. This means we have a couple of networks and every network can have a lot of hosts how to determine how many hosts each network has we will see later!
A class B network has 2 bytes reserved for the network address which means the other 2 bytes are left for hosts. This means we have even more networks but less hosts per network compared to class A.
A class C network has 3 bytes reserved for the network address which means the other byte is left for hosts. Now we have a lot of networks but only a few hosts per network.
The people who invented the IP addressing scheme decided it would be a good idea to have a range of networks that are not routable on the internet. If every device on the planet would require a unique IP address then we would have already run out of address space by now.
Instead, there are some private ranges you can use for your internal networks and these are not accessible from the internet. Now perhaps you are wondering why you are able to access the internet from your home computer? The answer to this question is that you have 1 public IP address that you got from your internet provider, and all your home computers have private IP addresses.
This way all computers can access the internet by using a single private IP address! Class A: Is it some secret rule that everyone just knows about? The answer is no, we use something called a subnet mask! For this network, it would be the following subnet mask: IP address decimal 1 0 IP address binary Subnet mask decimal 0 Subnet mask binary The subnet mask will specify which part of the IP address is the network-part and which part is the host-part.
To clarify this let me just take the binary numbers, the subnet mask tells you the first 24 bits are the network-address and the 8 bits that are left we can use for hosts. So now we know that with 8 bits the highest value we can create is , does this mean we can have hosts in this network?
IP address 1 0 2 Broadcast address: The network address has all hosts bits set to 0! The broadcast address has all host bits set to 1! Does this mean we can have a maximum of hosts on our network? The answer is still no! I messed with your head because the highest value you can create with 8 bits is not but Does this make your head spin?
The broadcast address has all host bits set to 1, so in decimal this is So now you have seen what a network looks like in binary, what the subnet mask does, what the network and broadcast addresses are and that we can fit in hosts in this Class C network. Is this possible?
It sure is! Basically what we are doing is taking a Class C network and chop it in 2 pieces, and this is what we call subnetting. IP address 1 0 Subnet mask 0 If we want to create more subnets we need to borrow bits from the host-part. For every bit you borrow you can double the number of subnets, by borrowing 1 bit we create 2 subnets out of this single network.
There are 8 host-bits so if we steal one to create more subnets this means we have only 7 bits left for hosts. What will the new subnet mask be? The subnet mask will be Because we can use the 0 the highest value we can create with 7 bits is Our original class C network has now been divided in 2 subnets with a size of each. So what will the network addresses of the 2 new subnets be?
Subnet 1: By applying the new subnet mask we only have 7 host bits to play with. The network address has all host bits set to 0, so the network address will be: The first usable host IP address is the one that comes after the network address, so this will be: The last IP address we can use for a host is the one before the broadcast address, so this will be: The broadcast address has all host bits set to 1 so the broadcast address we get is: The first subnet ended at Let me show you another one, we take the same Class C For every host-bit we borrow we can double the number of subnets we can create, so by borrowing 2 host bits we can create 4 subnets.
Subnet mask Calculate it from binary to decimal: The new subnet mask will be By applying the new subnet mask we only have 6 host bits to play with. The second subnet ended at We just chopped down our If you understand everything up to this point…great job! Does this look like a lot of work? Honestly…yes it is! I promise you to show you some tricks to calculate Class C,B and even A subnets without touching any binary numbers….
Exercise 2: Take the Write down the following information: The first 2 subnets. The network addresses. The broadcast addresses. The usable host IP addresses.
The appendix of this book will show you the answers. IP address 16 0 Subnet mask 0 0 If we want to create more subnets we need to borrow bits from the host-part. Subnet mask 0 As you can see the net subnet mask will be So the highest value you can create with 15 bits is If you want to know to know how many usable host IP addresses you have, you take — 2 because of the network and broadcast address. Does this make sense to you? My promise is still standing…I will show you how to solve these subnetting questions without touching any binary, you just need to make sure you understand the math that is going on first.
By applying the new subnet mask we only have 15 host bits to play with. Now see if you can solve these questions: The first 3 subnets. The network addresses c. The broadcast addresses d. The first 4 subnets b. IP address 10 0 0 0 Subnet mask 0 0 0 If we want to create more subnets we need to borrow bits from the host-part.
Subnet mask 0 0 As you can see the net subnet mask will be By now you should be familiar what the math looks like. By applying the new subnet mask we only have 19 host bits to play with.
The broadcast address of Subnet 1 was The broadcast address of Subnet 2 was We can do subnetting just by working with decimal numbers. By taking an extra bit the decimal value doubles every time: Take this We know because the subnet mask is The 0 is being used so the highest value you can create is Visualize this as a block: