Vol 1 Part 4: IPv4 Addressing Flashcards

1
Q

How many bits are in an IPv6 address?

A

128 bits, 8 hextets. Each hextet is 16 bits, meaning they are essentially 2 octets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the private IP range for a class A network?

A

10.0.0.0-10.255.255.255

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the private IP range for a class B network?

A

172.16.0.0-172.31.255.255

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Private IP address space is determined by what guideline?

A

RFC 1918

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Class A, Class B, and Class C networks are all examples of what kind of network?

A

Unicast

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How can you derive the number of subnets using the CIDR?

A

Once you have found your interval between subnets (32, 64, 128 etc.) divide 256 by that interval. This gives you your total number of subnets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the range for public IP addresses by network class (classful)? Give the range for A, B, and C class networks.

A

A- 0.0.0.0-126.255.255.255
B- 128.0.0.0-191.255.255.255
C- 192.0.0.0-223.255.255.255

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A subset of public IP networks to each company instead of an entire public IP network is known as what?

A

Used Classless InterDomain Routing (CIDR)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why do we Subnet?

A

To divide hosts of similar needs into sub networks, enabling them to operate on a more efficient network .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Where in the IP range is the Broadcast address?

A

The last IP address in the range

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How many bits are in an IPv4 address?

A

32 bits, 4 octets, 8 bits per octet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How many network bits does a Class A, Class B, and Class C have?

A

A- 8
B- 16
C- 24

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the private IP range for a class C network?

A

192.168.0.0-192.168.255.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the 3 class of networks?

A

A, B, C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How can you derive the subnet ID with a subnet mask?

A

Take the last number in the subnet mask and subtract it from 256. This gives you the interval between subnets in that octet. From here, divide up that octet into intervals starting with .0 until you find the range of your subnet. The first address in the range is your subnet ID.

Ex. /18 CIDR = 11111111.11111111.11000000.00000000
That binary mask converts to 255.255.192.0
256-192=64. Our subnet ranges are .0-.63, .64-.127 etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

An IPv4 address consists of 32 bits. What are the two categories that these bits are divided into?

A

Network bits and Host Bits

17
Q

When looking at an IP range, the /x is the CIDR. What does the CIDR represent?

A

The number of network bits. This means if you see a /24, the first 24 bits are network bits.

18
Q

Where in the IP range is the Subnet ID?

A

The first IP address in the range

19
Q

What is Network Address Translation (NAT)?

A

Allows private networks to traverse public networks by assigning you a public IP address.

20
Q

When looking at a CIDR, how can you convert that value into a binary subnet mask?

A

The CIDR number represents the number of 1s in the binary mask starting from left to right ie. a CIDR of /8 would be a binary mask of 11111111.00000000.0.0

21
Q

How can you derive the number of hosts on the network using the CIDR?

A

Once you have found your subnet ID and your broadcast ID, take the last network octet and subtract it from the first network octet, then add one. Then, multiply this number by 256 for as many octets you have other than the last octet. This gives you total usable IPs, but subtract two to account for the subnet ID and broadcast IP to get the number of host IPs.