Professional Documents
Culture Documents
O Objectives
Part 1: Co onvert IPv4 Addresses A fr rom Dotted Decimal D to B Binary Part 2: Us se Bitwise ANDing A Opera ation to Dete ermine Netwo ork Address ses Part 3: Ap pply Network k Address Calculations
P Part 1: Convert C IP Pv4 Addr resses fro om Dotte ed Decima al to Bina ary
In Part 1, you will conv vert decimal numbers to the eir binary equ uivalent. After r you have ma astered this a activity, you will co onvert IPv4 addresses and d subnet masks from dotte ed decimal to their binary fo orm.
11010001
00001010
11111111
00000010
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
Page 1 of 4
11010001.10100101.11001000.11100101
10101100.00010000.00010010.10110111
00001010.01010110.11111100.00010001
11111111.11111111.11111111.10000000
11111111.11111111.11000000.00000000
Step 1: Determine the number of bits to use to calculate the network address.
Description IP Address Subnet Mask Network Address Decimal 192.168.10.131 255.255.255.192 192.168.10.128 Binary 11000000.10101000.00001010.10000011 11111111.11111111.11111111.11000000 11000000.10101000.00001010.10000000
How do you determine what bits to use to calculate the network address?
AND result between the ip address and subnet mask
In the example above, how many bits are used to calculate the network address?
25 bits
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 2 of 4
10101100.00010000.10010001.00011101
11111111.11111111.00000000.00000000
10101100.00010000.00000000.00000000
172.16.0.0
b. Enter the missing information into the table below: Description IP Address Subnet Mask Network Address c. Decimal 192.168.10.10 255.255.255.0 Binary
11000000.10101000.00001010.00001010
11111111.11111111.11111111.00000000
192.168.10.0
11000000.10101000.00001010.00000000
Enter the missing information into the table below: Description IP Address Subnet Mask Network Address Decimal 192.168.68.210 255.255.255.128 Binary
11000000.10101000.1000100.11010010
11111111.11111111.11111111.10000000
192.168.68.128
11000000.10101000.1000100.10000000
d. Enter the missing information into the table below: Description IP Address Subnet Mask Network Address Decimal 172.16.188.15 255.255.240.0 Binary
10101100.00010000.10111100.00001111
11111111.11111111.11110000.00000000
10101100.00010000.10110000.00000000
172.16.176.0
e. Enter the missing information into the table below: Description IP Address Subnet Mask Network Address Decimal 10.172.2.8 255.224.0.0 Binary
00000101.10101100.00000001.00000100
11111111.11100000.00000000.00000000
10.160.0.0
00000101.10100000.00000000.00000000
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 3 of 4
b. Your company has a policy to use the first IP address in a network as the default gateway address. You have been instructed to configure a new server with an IP address of 192.168.184.227 and a subnet mask of 255.255.255.248. What is the network address for this network?
192.168.184.224
Reflection
Why is the subnet mask important in determining the network address?
Because it is used to AND with the IP address and the result of those two is the network address.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 4 of 4