1/9
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Convert the following binary to decimal:
10010110
To convert from binary to decimal, follow the following guide:
128 64 32 16 8 4 2 1
1 0 0 1 0 1 1 0
128 + 0 + 0 + 16 + 0 + 4 + 2 + 0 = 150 decimal (octet)
Convert the following binary octet into decimal form:
10101101.00110100.11010001.00010011
To convert from binary to decimal, follow the following guide:
128 64 32 16 8 4 2 1
1 0 1 0 1 1 0 1
128 + 0 + 32 + 0 + 8 + 4 + 0 + 1 = 173 decimal
128 64 32 16 8 4 2 1
0 0 1 1 0 1 0 0
0 + 0 + 32 + 16 + 0 + 4 + 0 + 0 = 52 decimal
128 64 32 16 8 4 2 1
1 1 0 1 0 0 0 1
128+64+0+16+0+0+0+1 = 209 decimal
128 64 32 16 8 4 2 1
0 0 0 1 0 0 1 1
0+0+0+16+0+0+1+1 = 19 decimal
Final answer: 173.52.209.18
convert the following decimal into binary:
.140
To convert from binary to decimal, you have to work backwards. Start from the 128 bit and work your way to the right until you have the exact number. Ask yourself, does your current number or added numbers make it less than or equal to 140 as a helpful reminder.
128 64 32 16 8 4 2 1
1 0 0 0 1 1 0 0
140 decimal = 10001100
Convert the following IP address into binary format.
172.27.141.66
To convert from binary to decimal, you have to work backwards. Start from the 128 bit and work your way to the right until you have the exact number. Ask yourself, does your current number or added numbers make it less than or equal to 140 as a helpful reminder.
172 Octet:
128 64 32 16 8 4 2 1
1 0 1 0 1 1 0 0
27 Octet:
128 64 32 16 8 4 2 1
0 0 0 1 1 0 1 1
141 Octet:
128 64 32 16 8 4 2 1
1 0 0 0 1 1 0 1
66 Octet:
128 64 32 16 8 4 2 1
0 1 0 0 0 0 1 0
Binary format of 172.27.141.66 = 10101100.00011011.10001101.01000010
What are the 3 Private IP address ranges defined by RFC1918?
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
What is VLSM and how does this work?
VLSM (Variable Length Subnet Mask) is a subnetting technique that allows you to use different subnet masks within the same network.
Example: Network 172.27.140.0 and I have 3 different departments with different amount of hosts (IP Addresses)
Department A: 20 hosts
Department B: 10 hosts
Department C: 50 hosts
Each department could be using a different subnet mask under the 172.27.140.0 network to limit the number of hosts on the network.
Match the Class addresses to their respected octet range and subnet.
Classes:
A
B
C
D
E
First Octet Range/Subnet:
192-223 /24
240-255
1-126 /8
128-191 /16
224-239
Class A: 1-126 /8
Class B: 128-191 /16
Class C: 192-223 /24
Class D: 224-239
Class E: 240-255
Convert the following CIDR to binary: /24
To convert CIDR to binary, remember that there are 32 bits in an IP address. Each Octet has 8 bits which would look like this:
Binary: Decimal:
00000000 0
10000000 128
11000000 192
11100000 224
11110000 240
11111000 248
11111100 252
11111110 254
11111111 255
Answer: Since there are 32 bits in a IP address, we can break this up as 11111111.11111111.11111111.11111111 which would give you the /24 value
Convert the following binary to CIDR: 11111111.11111111.11100000.00000000
To convert binary to CIDR, count the number of one’s you see and add those together, your total will be the slash value it’s using. Refer to the guide below:
Binary: Decimal:
00000000 0
10000000 128
11000000 192
11100000 224
11110000 240
11111000 248
11111100 252
11111110 254
11111111 255
Using the magic number method, what is the subnet mask, action, subnet ID and Broadcast Address using the network information below:
IP Address: 165.245.77.14
Subnet Mask: 255.255.240.0
In order to solve this, there are several helpful rules that you can go by. 1) If the mask if 255, copy the IP address to the subnet ID. 2) If the mask is 0, copy the 0 to the subnet ID. 3) Subtract the interesting octet mask from 256, which gives you the magic number. With that number, you will increase the number by 16 until the number 77 falls into that range and take the first number inside that range. The first number in this case is 64.
Mask: 255.255.240.0
Action: Copy, Copy, 256-240=16, 0
IP: 165.245.77.14
Subnet ID: 165.245.64.0