IPv4/Subnet Masks and IPv4 Classes Flashcards
How many bits in an IPv4 Address?
32 bits /4 bytes of data
How many bits in an IPv6 Address?
128 Bits / 16 bytes of data
IP Addresses are expressed with the use what types of numbers?
- IPv4
- IPv6
- Decimal Numbers
- Hexadecimal Numbers
An IPv4 IP Address can be divided into 2 parts. What are those parts?
Example: 192.168.1.10
Part 1 = 192.168.1
Part 2 = 10
- Network
- Host
What is the purpose of the Subnet mask?
It tells the machine which part of the IP address is the Network and Host portion
What would the Subnet mask be for IP 192.168.1.4?
255.255.255.0 (/24)
A subnet of 255.255.255.0 is also called a /24 subnet. Why?
/24 comes from the number of consecutive 1’s in the binary format.
Example: 255.255.255.0 in binary is 111111.111111.111111.00000000
How many IPv4 Classes exist and what are they?
5 Classes
A, B, C, D, E
What determines an IPv4 Class?
The first octet of the IP
How does one determine the number of Hosts per Network ID?
Use the subnet Mask and convert to binary.
* 255.0.0.0 = 11111111.00000000.00000000.00000000
- 24 zeros as x
Then apply the formula:
* hosts = 2^(x) - 2
Class A Starting and Ending address?
0 to 127
Class B Starting and Ending address?
128 to 191
Class C Starting and Ending address?
192 to 223
Class D Starting and Ending address?
224 to 239
Class E Starting and Ending address?
240 to 255