IPv4/Subnet Masks and IPv4 Classes Flashcards

1
Q

How many bits in an IPv4 Address?

A

32 bits /4 bytes of data

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

How many bits in an IPv6 Address?

A

128 Bits / 16 bytes of data

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

IP Addresses are expressed with the use what types of numbers?

  • IPv4
  • IPv6
A
  • Decimal Numbers
  • Hexadecimal Numbers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

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

What is the purpose of the Subnet mask?

A

It tells the machine which part of the IP address is the Network and Host portion

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

What would the Subnet mask be for IP 192.168.1.4?

A

255.255.255.0 (/24)

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

A subnet of 255.255.255.0 is also called a /24 subnet. Why?

A

/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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How many IPv4 Classes exist and what are they?

A

5 Classes

A, B, C, D, E

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

What determines an IPv4 Class?

A

The first octet of the IP

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

How does one determine the number of Hosts per Network ID?

A

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

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

Class A Starting and Ending address?

A

0 to 127

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

Class B Starting and Ending address?

A

128 to 191

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

Class C Starting and Ending address?

A

192 to 223

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

Class D Starting and Ending address?

A

224 to 239

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

Class E Starting and Ending address?

A

240 to 255

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

What IPv4 Classes can be used for Host Addresses?

A

Class A, B, C

17
Q

What IPv4 Classes can be used for Multicast?

A

Class D

18
Q

What IPv4 Classes can be used for Experimental purposes?

A

Class E

19
Q

In an IPv4 Class A address…
* How many bits are reserved for Network Address?
* How many bits are reserved for the Host Address?
* What is the Subnet Mask?

A
  • 8 bits for Network
  • 24 bits for Hosts
  • 255.0.0.0
20
Q

In an IPv4 Class B address…

  • How many bits are reserved for Network Address?
  • How many bits are reserved for the Host Address?
  • What is the Subnet Mask?
A
  • 16 bits for Network
  • 16 bits for Host
  • 255.255.0.0
21
Q

In an IPv4 Class C address…

  • How many bits are reserved for Network Address
  • How many bits are reserved for the Host Address?
  • What is the Subnet Mask?
A
  • 24 bits for Network
  • 8 bits for Host
  • 255.255.255.0
22
Q

Class A was created for what type of networks?

A

Small number of Networks, Large number of hosts

23
Q

Class C was created for what type of networks?

A

Large number of Networks, Small number of hosts

24
Q

Explain Public IP vs Private IP Address

A

**Public IPs **

  • Unique
  • Registered and Assigned by ISP
  • Assigned to Modems

**Private IPs **

  • Used inside a private network
  • Not unique and can be reused in different private networks.
25
Q

How do devices with private IPs access the internet?

A

Via the Router/Modem. Using NAT (Network Address Translation)

26
Q

IPIPA Addresses begin with

A

192.254.xxx.xxx

27
Q

What are the rules to compressing IPv6 addresses?

A
  1. Leading 0’s can be ommitted
  2. 2 Continuous sets of 0’s can be replaced with ::
  3. 1 Set of 0’s can be replaced with a single 0
28
Q

What are 2 ways to write an IPv6 Loopback address?

A
  • ::1
  • 0:0:0:0:0:0:0:1