IPv4 Addressing -...
Transcript of IPv4 Addressing -...
![Page 2: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/2.jpg)
https://en.wikipedia.org/wiki/Internet
ClientA
ClientB
Server10.10.1.103
192.168.0.5
192.0.2.10
IPAddress
2
![Page 3: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/3.jpg)
IPv432Bit=4.2BillionIPAddresses!!!
Seemsenough? ButnoL
InternetofThings(IoT)3
![Page 4: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/4.jpg)
GlobalInternet
CampusNetwork
PublicIPAddress
PrivateIPAddress
4
![Page 5: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/5.jpg)
GlobalInternet
CampusNetwork
Home(Public/PrivateIP)
LabServer(PrivateIP)
5
![Page 6: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/6.jpg)
IPv6128Bit=2128AddressYourdeviceswouldbeaccessibleinInternet
6
![Page 7: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/7.jpg)
Internet
IPv4 IPv6+=
7
![Page 8: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/8.jpg)
IPv4Address
8
![Page 9: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/9.jpg)
PositionalNotation
9
![Page 10: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/10.jpg)
Decimal– BinaryConversion
10
![Page 11: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/11.jpg)
NetworkandHostBits
• AnIPv4addressiscomposedofaNetworkportionandHostportion.• Alldevicesonthesamenetworkmusthavetheidenticalnetworkportion.• TheSubnetMaskhelpsdevicesidentifythenetworkportionandhostportion.
• SubnetMask• TheIPv4addressiscomparedtothesubnetmaskbitbybit,fromlefttoright.• A1inthesubnetmaskindicatesthatthecorrespondingbitintheIPv4addressisanetworkbit.
11
![Page 12: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/12.jpg)
NetworkAddress
• AlogicalANDisoneofthreebasicbinaryoperationsusedindigitallogic.• UsedtodeterminetheNetworkAddress• TheLogicalANDoftwobitsyieldsthefollowingresults:
12
![Page 13: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/13.jpg)
PrefixLength
• Shorthandmethodofexpressingthesubnetmask.• Equalsthenumberofbitsinthesubnetmasksetto1.• Writteninslashnotation,/followedbythenumberofnetworkbits.
13
Octet DecimalCalculation Summation PrefixLength
1 0 0 0 0 0 0 0 128 128 /17
1 1 0 0 0 0 0 0 128+64 192 /18
1 1 1 0 0 0 0 0 128+64+32 224 /19
1 1 1 1 0 0 0 0 128+64+32+16 240 /20
1 1 1 1 1 0 0 0 128+64+32+16+8 248 /21
1 1 1 1 1 1 0 0 128+64+32+16+8+4 252 /22
1 1 1 1 1 1 1 0 128+64+32+16+8+4+2 254 /23
1 1 1 1 1 1 1 1 128+64+32+16+8+4+2+1 255 /24
![Page 14: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/14.jpg)
AddressTypes
• NetworkAddress• Theaddressbywhichwerefertothenetwork• FirstIPoftheNetwork(allhostbitsare‘0’)
• BroadcastAddress• Aspecialaddressusedtosenddatatoallhostsinthenetwork• LastIPoftheNetwork(allhostbitis‘1’)
• HostAddress• Theaddressesassigned totheenddevicesinthenetwork• AllIPsexceptthenetworkandbroadcastaddress
14
![Page 15: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/15.jpg)
PrivateIPv4Address
• PublicIPAddress:• Registered/MaintainedbyIANA/RIR• Routablethroughpublic internet
• PrivateIPAddress• Onlyusedininternalnetwork• Notvisibleinglobalroutingtable• Mustbetranslatedtoapublic IPv4toberoutable.• DefinedbyRFC1918
15
Class Network AddressRange
Class A 10.0.0.0/8 10.0.0.0 – 10.255.255.255
ClassB 172.16.0.0/12 172.16.0.0– 172.31.255.255
ClassC 192.168.0.0/16 192.168.0.0– 192.168.255.255
![Page 16: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/16.jpg)
Quiz:PrivateandPublicIPAddress
16
Public
Private
64.104.0.22
192.168.3.5
192.169.2.15
172.32.35.2
172.16.30.30
192.168.11.5
10.55.3.168
209.165.201.30
![Page 17: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/17.jpg)
SpecialIPv4Addresses
• Loopbackaddresses(127.0.0.0/8or127.0.0.1)• UsedonahosttotestiftheTCP/IPconfigurationisoperational.
• Link-Localaddresses(169.254.0.0/16or169.254.0.1)• CommonlyknownasAutomaticPrivateIPAddressing(APIPA)addresses.• UsedbyWindowsclienttoselfconfigureifnoDHCPserveravailable.
• TEST-NETaddresses(192.0.2.0/24or192.0.2.0to192.0.2.255)• Usedforteachingandlearning.
17
![Page 18: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/18.jpg)
Legacy“Classful”AddressingConcept
18
![Page 19: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/19.jpg)
ClasslessIPAddressing
• Classful AddressingwastedaddressesandexhaustedtheavailabilityofIPv4addresses.• ClasslessAddressingIntroducedinthe1990s• ClasslessInter-DomainRouting(CIDR,pronounced“cider”)• AllowedserviceproviderstoallocateIPv4addressesonanyaddressbitboundary(prefixlength)insteadofonlybyaclassA,B,orC.
19
![Page 20: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/20.jpg)
RegionalInternetRegistry(RIR)
20
![Page 21: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/21.jpg)
InternetResourcesAllocation
21
![Page 22: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/22.jpg)
Subnetting IPv4Networks
![Page 23: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/23.jpg)
ReasonsForSubnetting
• Reducesoverallnetworktrafficandimprovesnetworkperformance.• Enablesanadministratortoimplementsecuritypoliciessuchaswhichsubnetsareallowedornotallowedtocommunicatetogether.
23
Subnetting byLocation
Subnetting byDeviceType
Subnetting byUserType
![Page 24: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/24.jpg)
Example1:SubnetinOctetBoundary
172.16.0.0/16
24
InterestingOctet
16 24BinaryBitCount 8
Task:Create/24Subnetsfrom172.16.0.0/16.
NetworkPortion HostPortion
![Page 25: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/25.jpg)
Example1:SubnetinOctetBoundary
172.16.0.0/16
25
00000000Subnetting Boundary
16 24
![Page 26: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/26.jpg)
Example1:SubnetinOctetBoundary
172.16.0.0/16
26
00000000000000010000001000000011
11111111........
24
BinaryRepresentation
16
1st Subnet2nd Subnet3rd Subnet4th Subnet
256th Subnet
........
![Page 27: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/27.jpg)
Example1:SubnetinOctetBoundary
172.16.0.0/16
27
0123
255........
24
DecimalRepresentation
16
1st Subnet2nd Subnet3rd Subnet4th Subnet
256th Subnet
........
![Page 28: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/28.jpg)
Example1:SubnetinOctetBoundary
28
1st Subnet2nd Subnet3rd Subnet4th Subnet
256th Subnet
........
172.16.0.0/24172.16.1.0/24172.16.2.0/24172.16.3.0/24
172.16.255.0/24
........
![Page 29: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/29.jpg)
Example1:SubnetinOctetBoundary
172.16.2.0/24
29
00000000
11111111
........
24
BinaryRepresentation
16
1st IP/NetworkAddress
LastIP/BroadcastAddress
........
Task:Calculatenetworkaddress,broadcastaddressandusableIPsof3rd subnet.
000000011st useableIPAddress
11111110LastuseableIPAddress
![Page 30: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/30.jpg)
Example1:SubnetinOctetBoundary
172.16.2.0/24
30
0
255
........
24
DecimalRepresentation
16
1st IP/NetworkAddress
LastIP/BroadcastAddress
........
Task:Calculatenetworkaddress,broadcastaddressandusableIPsof3rd subnet.
11st useableIPAddress
254LastuseableIPAddress
![Page 31: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/31.jpg)
Example1:SubnetinOctetBoundary
SubnetNo.
NetworkAddress SubnetMask Broadcast
Address 1st UsableIP LastUsable IP
0 172.16.0.0/24 255.255.255.0 172.16.0.255 172.16.0.1 172.16.0.254
1 172.16.1.0/24 255.255.255.0 172.16.1.255 172.16.1.1 172.16.1.254
2 172.16.2.0/24 255.255.255.0 172.16.2.255 172.16.2.1 172.16.2.254
… … … … … …
… … … … … …
254 172.16.254.0/24 255.255.255.0 172.16.254.255 172.16.254.1 172.16.254.254
255 172.16.255.0/24 255.255.255.0 172.16.255.255 172.16.255.1 172.16.255.254
31
![Page 32: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/32.jpg)
Example2:SubnetwithinOctetBoundary
172.16.0.0/24
32
InterestingOctet
16 24BinaryBitCount 8
Task:Createfourequal-sized/26subnetsfrom172.16.0.0/24.
32
![Page 33: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/33.jpg)
Example2:SubnetwithinOctetBoundary
172.16.0.0/24
33
00000000
SubnettingBoundary
24 3226
![Page 34: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/34.jpg)
Example2:SubnetwithinOctetBoundary
172.16.0.0/24
34
00000000010000001000000011000000
32
BinaryRepresentation
24
1st Subnet2nd Subnet3rd Subnet4th Subnet
26
![Page 35: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/35.jpg)
Example2:SubnetwithinOctetBoundary
172.16.0.0/24
35
064128192
32
DecimalRepresentation
24
1st Subnet2nd Subnet3rd Subnet4th Subnet
![Page 36: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/36.jpg)
Example2:SubnetwithinOctetBoundary
36
1st Subnet2nd Subnet3rd Subnet4th Subnet
172.16.0.0/26172.16.0.64/26172.16.0.128/26172.16.0.192/26
![Page 37: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/37.jpg)
Example2:SubnetwithinOctetBoundary
SubnetNo.
NetworkAddress SubnetMask Broadcast
Address 1st UsableIP LastUsable IP
0 172.16.0.0/26 255.255.255.192 172.16.0.63 172.16.0.1 172.16.0.62
1 172.16.0.64/26 255.255.255.192 172.16.0.127 172.16.0.65 172.16.0.126
2 172.16.0.128/26 255.255.255.192 172.16.0.191 172.16.0.129 172.16.0.190
3 172.16.0.192/26 255.255.255.192 172.16.0.255 172.16.0.193 172.16.0.254
37
![Page 38: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/38.jpg)
Example3:SubnetwithMultipleOctet
172.16.0.0/22
38
InterestingOctets
Task:Createsubnetsfrom172.16.0.0/22tosupport100hostsineachsubnetwithminimumIPwastage.
16 24BinaryBitCount 8 32
![Page 39: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/39.jpg)
Example3:SubnetwithMultipleOctet
172.16.0.0/22
39
00000000.00000000SubnettingBoundary
22 3224 2516
![Page 40: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/40.jpg)
Example3:SubnetwithMultipleOctet
172.16.0.0/22
40
00000000.000000003224 25
00000000.1 000000000000001.0 0000000
00000011.10000000
BinaryRepresentation
00000001.1000000000000010.00000000
221st Subnet2nd Subnet3rd Subnet
6th Subnet
8th Subnet
4th Subnet5th Subnet
00000010.10000000
16
00000011.0 00000007th Subnet
![Page 41: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/41.jpg)
Example3:SubnetwithMultipleOctet
172.16.0.0/22
41
0.03224
0.1281.0
3.128
DecimalRepresentation
1.1282.0
1st Subnet2nd Subnet3rd Subnet
6th Subnet
8th Subnet
4th Subnet5th Subnet
2.128
16
3.07th Subnet
![Page 42: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/42.jpg)
Example3:SubnetwithMultipleOctet
42
1st Subnet2nd Subnet3rd Subnet
6th Subnet7th Subnet
172.16.0.0/25172.16.0.128/25172.16.1.0/25
172.16.2.128/25172.16.3.0/25
4th Subnet5th Subnet
172.16.1.128/25172.16.2.0/25
8th Subnet 172.16.3.128/25
![Page 43: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/43.jpg)
Example3:SubnetwithMultipleOctet
43
SubnetNo.
NetworkAddress SubnetMask Broadcast
Address 1st UsableIP LastUsable IP
0 172.16.0.0/25 255.255.255.128 172.16.0.127 172.16.0.1 172.16.0.126
1 172.16.0.128/25 255.255.255.128 172.16.0.255 172.16.0.129 172.16.0.254
2 172.16.1.0/25 255.255.255.128 172.16.1.127 172.16.1.1 172.16.1.126
3 172.16.1.128/25 255.255.255.128 172.16.1.255 172.16.1.129 172.16.1.254
4 172.16.2.0/25 255.255.255.128 172.16.2.127 172.16.2.1 172.16.2.126
5 172.16.2.128/25 255.255.255.128 172.16.2.255 172.16.2.129 172.16.2.254
6 172.16.3.0/25 255.255.255.128 172.16.3.127 172.16.3.1 172.16.3.126
7 172.16.3.128/25 255.255.255.128 172.16.3.255 172.16.3.129 172.16.3.254
![Page 44: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/44.jpg)
PracticeTest1
• Create8Equal-sizedSubnetsfrom192.168.1.0/25• Createsubnetsfrom10.0.0.0/22tosupport200hostsineachsubnetwithminimumIPwastage.• Createsubnetsfrom172.16.0.0/23tosupport50hostsineachsubnetwithminimumIPwastage.
44
![Page 45: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/45.jpg)
PracticeTest2
• Findanswersforaddress192.168.1.34• IsitanetworkaddressorbroadcastaddressorhostIP?• Networkandhostbits:• Subnetmask:• NumberofusableIP:• Networkaddress:• Broadcastaddress:• HostIPrange:
• Dothesamefor172.16.5.0/18.
45
![Page 46: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/46.jpg)
VariableLengthSubnetMasks
![Page 47: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/47.jpg)
TraditionalSubnetting:IPWastage
47
![Page 48: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/48.jpg)
VLSMBenefits
48
![Page 49: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/49.jpg)
PracticeVLSM
• Giventhenetwork172.16.0.0/23createssubnets:• Network-Afor200hosts• Network-Bfor50hosts• Network-Cfor10hosts• 4point-to-pointnetworksfor2hostseach
49
![Page 50: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/50.jpg)
50
172.16.0.0/23
172.16.0.0/24Net-A(200Hosts)
172.16.1.0/24
172.16.1.0/26Net-B(50Hosts)
172.16.1.64/26 172.16.1.128/26 172.16.1.192/26
172.16.1.64/28Net-C(10Hosts)
172.16.1.80/28 172.16.1.96/28 172.16.1.112/28
172.16.1.80/30P2P-1
172.16.1.84/30P2P-2
172.16.1.88/30P2P-3
172.16.1.92/30P2P-4
![Page 51: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/51.jpg)
PracticeTest3
• Giventhenetwork172.16.0.0/22• createssubnets,calculatesubnetmask,broadcastaddress,firstIPandlastIP:• UserLANfor500hosts• ServerLANfor25hosts• 2 point-to-pointnetworks
51
![Page 52: IPv4 Addressing - wiki.bdnog.orgwiki.bdnog.org/lib/exe/fetch.php/btrc2018/ipv4_addressing-subnetting.pdf · Octet Decimal Calculation Summation Prefix Length 10000000 128 128 /17](https://reader030.fdocuments.net/reader030/viewer/2022040801/5e38f644856f2a6d853435a8/html5/thumbnails/52.jpg)
Questions?
52