IP Addressing Flashcards

1
Q

What is an IP address?

A

A numerical label assigned to a device on a network for identification and communication.

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

At which OSI layer do IP addresses function?

A

Layer 3 (Network Layer).

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

How do IP addresses differ from MAC addresses?

A

IP addresses connect different networks (Layer 3), while MAC addresses are used for internal LAN communication (Layer 2).

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

How is an IP address similar to a mailing address?

A

Like a mailing address identifies a house, an IP address uniquely identifies a device for sending/receiving data.

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

What happens if a laptop does not have an IP address?

A

It is like a house without an address—cannot send or receive data.

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

What is the format of an IPv4 address?

A

32-bit address written in dotted decimal notation (e.g., 192.168.1.1).

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

How many total IPv4 addresses exist?

A

Approximately 4.3 billion (2³² addresses).

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

What are the five IPv4 address classes?

A

Class A, B, C (for normal use), Class D (Multicast), Class E (Experimental).

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

What are the first octet ranges for IPv4 address classes?

A

Class A: 1-126, Class B: 128-191, Class C: 192-223, Class D: 224-239, Class E: 240-255.

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

What is a loopback IP address?

A

127.0.0.1 (used for internal testing).

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

What is APIPA?

A

169.254.x.x address assigned when a DHCP server is unavailable.

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

What are private IPv4 address ranges?

A

Class A: 10.0.0.0 – 10.255.255.255, Class B: 172.16.0.0 – 172.31.255.255, Class C: 192.168.0.0 – 192.168.255.255.

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

What is the purpose of a subnet mask?

A

To divide an IP address into network and host portions.

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

What is the default subnet mask for a Class C network?

A

255.255.255.0 (/24).

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

What are the two ways devices can obtain an IP address?

A

Static assignment (manual) and Dynamic assignment (via DHCP).

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

What protocol assigns dynamic IP addresses?

A

DHCP (Dynamic Host Configuration Protocol).

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

What happens when a device’s DHCP lease expires?

A

It must request a new IP address.

18
Q

What is subnetting?

A

Dividing a network into smaller subnetworks for efficiency and security.

19
Q

What does CIDR stand for?

A

Classless Inter-Domain Routing (allows flexible subnet masks).

20
Q

What is the formula for calculating usable IPs in a subnet?

A

2^h - 2, where h is the number of host bits.

21
Q

How many usable hosts does a /26 subnet provide?

A

62 usable addresses (64 total, subtracting 2 for network/broadcast).

22
Q

Why was IPv6 created?

A

IPv4 address exhaustion.

23
Q

How many bits are in an IPv6 address?

A

128 bits (compared to IPv4’s 32 bits).

24
Q

What is the IPv6 loopback address?

25
Q

What does an IPv6 address use instead of dots?

A

Colons (:)

26
Q

What are the three types of IPv6 addresses?

A

Unicast, Multicast, Anycast.

27
Q

How is an IPv6 address shortened?

A

Remove leading zeros and replace consecutive zero segments with ::.

28
Q

What are IPv6 link-local addresses used for?

A

Communication within a local network (FE80::/10 range).

29
Q

What is the IPv6 multicast prefix?

30
Q

What is Dual Stack?

A

Running both IPv4 and IPv6 simultaneously on a device.

31
Q

What is 6to4 tunneling?

A

Encapsulating IPv6 packets inside IPv4 for transmission.

32
Q

What is NAT64?

A

Translating IPv6 addresses to IPv4 for compatibility.

33
Q

What are the three data flow types in IPv4?

A

Unicast, Multicast, Broadcast.

34
Q

What are the three data flow types in IPv6?

A

Unicast, Multicast, Anycast (IPv6 has no broadcast).

35
Q

What is the difference between multicast and broadcast?

A

Multicast sends to a specific group, Broadcast sends to all devices in a network.

36
Q

What is anycast?

A

A packet is sent to the nearest available recipient.

37
Q

What is the fastest way to identify an IPv6 address?

A

It contains colons (:) and hexadecimal numbers (0-9, A-F).

38
Q

What is a common exam trick related to private IPs?

A

Be careful with 172.x.x.x—only 172.16.0.0 – 172.31.255.255 is private.

39
Q

What does a /30 subnet provide?

A

4 total addresses (2 usable, 1 network, 1 broadcast).

40
Q

What are the key benefits of IPv6 over IPv4?

A

Larger address space, built-in security (IPsec), and no NAT required.