Internet Protocol v4 Flashcards

1
Q

What is IPv4?

A

The 4th generation of the internet protocol

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

How many bits in an IPv4 address?

A

32

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

Into how many octets is an IPv4 divided?

A

4

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

how many bits per octet?

A

8

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

Why is an IPv4 address divided into 4 octets?

A

To make it more human readable. Similar to why phone numbers are divided using parenthesis or dashes, etc.

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

How many IP addresses can an IPv4 address provide?

A

2^32, or 4,294,967,296

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

how does the network layer determine if an IP address exists on the same network as it does?

A

Using the netmask.

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

An IPv4 address contains two elements, what are they?

A

network, and host

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

in a CIDR address, what does the number after the / represent?

A

Total available number of bits that belong to the network

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

How is a netmask of 255.255.255.0 represented in CIDR notation?

A

/24

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

How is a netmask of 255.255.0.0 represented in CIDR notation?

A

/16

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

In binary (the language of IP addresses) what does the following translate to?

00001010

A

10

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

What does each bit in an octet represtent?

A

128 64 32 16 8 4 2 1

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

Using the binary reference, to what does the following translate?

128 64 32 16 8 4 2 1
0 1 0 0 0 1 0 0

A

68

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

Networks are divided into the types? What are they?

A

Class A
Class B
Class C

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

What is a Class A network?

A

255.0.0.0, or /8

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

What is a Claass B network?

A

255.255.0.0, or /16

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

What is a Claass C network?

A

255.255.255.0, or /24

19
Q

What is a classless IP address?

A

One where the network does not not delineate on /8, /16, or /24.

20
Q

What type of IP address is this?

  1. 168.1.2
  2. 255.255.0
A

Class C, or CIDR /24

21
Q

what type of IP address is this?

  1. 145.2.1
  2. 255.0.0
A

Class B, or CIDR /16

22
Q

What type of IP address is this?

  1. 0.0.1
  2. 0.0.0
A

Class A, or CIDR /8

23
Q

What type of IP address is this?

  1. 15.23.3
  2. 255.254.0
A

Classless, CIDR /9

24
Q

What is the broadcast address in any IPv4 address?

A

all ones in the hosts segment of the IP address

25
Q

What is the network address in any IPv4 address?

A

all zeros in the host segment of the IP address

26
Q

How many IP addresses does a /25 CIDR provide?

A

128

27
Q

How many IP addresses does a /24 CIDR provide?

A

256

28
Q

How many IP addresses does a /23 CIDR provide?

A

512

29
Q

How many IP addresses does a /22 CIDR provide?

A

1024

30
Q

In CIDR notation, how many IP addresses more does each iteration of 1 provide?

A

half if iterating up, double if down.
/24 = 256
/23 = 512
/22 = 1024

31
Q

What does BGP stand for?

A

Border gateway protocol

32
Q

Basically, what does BGP do?

A

A system of peered routers across the internet to find available routing paths. (this is very basic, make sure to do some more research).

33
Q

Can you split one network into multiple networks?

A

Yes. For example, One /22 can be split into two /22 networks.

34
Q

From a networking perspective (a route table), can multiple networks be merged into one network?

A

Yes

35
Q

What is it called to merge multiple networks into one on a routing table?

A
There are 4 terms:
supernetting
Supervise
Route summarize
Aggregate
36
Q

If you wanted to merge four /24 networks into one network on the route table, how would that look?
10.0.32.0/24

A

10.0.32.0/21, or 255.255.252

37
Q

What is the largest IP Class?

A

Class A

38
Q

How many IP addresses available in Class A

A

16,777,214 (probably don’t need to know this)

39
Q

in CIDR notation, how would you represent a Class A address?

A

x.x.x.x/8

40
Q

Why are Class D addresses unavailable?

A

They are reserved for multicasting

41
Q

Why are Class E addresses unavailable?

A

They are reserved for research

42
Q

What are the common private address spaces?

A
  1. 0.0.0 / 255.0.0.0
  2. 16.0.0 - 172.31.0.0 / 255.240.0.0
  3. 168.0.0 / 255.255.0.0
43
Q

How would an organization who deploys private IP addresses onto their devices allows those devices to speak with devices over the internet?

A

Using Network Address Translation (NAT).

44
Q

Roughly, how does NAT work?

A

It replaces the source IP on your request packet with that of the public IP address