0% found this document useful (0 votes)
45 views93 pages

Chapter 8

The document discusses IP addressing and subnetting. It provides information on IPv4 and IPv6 addressing including address types and structures. It also covers topics like private IPs, subnetting practice problems, and converting between binary and decimal.

Uploaded by

Hisham Mohamed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views93 pages

Chapter 8

The document discusses IP addressing and subnetting. It provides information on IPv4 and IPv6 addressing including address types and structures. It also covers topics like private IPs, subnetting practice problems, and converting between binary and decimal.

Uploaded by

Hisham Mohamed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 93

CompTIA N +

Exam: N10-007

Walid Mahmoud Dahbour

King Saud University


Certified Professional Trainer (CPT)-(TTT)-(TOT) Chapter- 8
CISCO Academy Instructor IP Addressing
Microsoft Academy Instructor
Cyber Security Trainer
MTA- MOS Trainer
CompTIA Network+ Trainer

fac.ksu.edu.sa/wdahbour 1
IPv4 Addressing : 8 -1

fac.ksu.edu.sa/wdahbour 2
Internet Protocol Version 4 (IPv4) Addressing:

fac.ksu.edu.sa/wdahbour 3
IPv4 Addressing:

fac.ksu.edu.sa/wdahbour 4
Classes of IP Addresses:

fac.ksu.edu.sa/wdahbour 5
Routable IPs:

fac.ksu.edu.sa/wdahbour 6
Private IPs:

fac.ksu.edu.sa/wdahbour 7
Specialized IPs:

fac.ksu.edu.sa/wdahbour 8
Identifying Networks and Hosts in IPv4 :

fac.ksu.edu.sa/wdahbour 9
IPv4 Data Flows : 8 - 2

fac.ksu.edu.sa/wdahbour 10
Data Flows Types:

Multicast
223- 239
Range:

fac.ksu.edu.sa/wdahbour 11
Unicast Data Flow:

Data travels from a single source device to a single destination device

fac.ksu.edu.sa/wdahbour 12
Multicast Data Flow:
Data travels from a single source device to a Multiple (but specific)
destination devices

fac.ksu.edu.sa/wdahbour 13
Broadcast Data Flow:
Data travels from a single source device to all devices on a
destination network

fac.ksu.edu.sa/wdahbour 14
Assigning IP Addresses: 8 - 3

fac.ksu.edu.sa/wdahbour 15
Assigning IP Addresses::

fac.ksu.edu.sa/wdahbour 16
Components on an IP Address:

fac.ksu.edu.sa/wdahbour 17
Dynamic Host Configuration Protocol (DHCP) Configuration:

fac.ksu.edu.sa/wdahbour 18
Dynamic Host Configuration Protocol (DHCP) Configuration:

fac.ksu.edu.sa/wdahbour 19
Automatic Private IP Address (APIPA):

fac.ksu.edu.sa/wdahbour 20
Zero Configuration (Zeroconf):

fac.ksu.edu.sa/wdahbour 21
Computer Mathematics : 8 - 4

fac.ksu.edu.sa/wdahbour 22
Computer Mathematics:

fac.ksu.edu.sa/wdahbour 23
Converting Binary to Decimal:

fac.ksu.edu.sa/wdahbour 24
Converting Binary to Decimal:

fac.ksu.edu.sa/wdahbour 25
Converting Binary to Decimal:

fac.ksu.edu.sa/wdahbour 26
Converting Decimal to Binary :

fac.ksu.edu.sa/wdahbour 27
Computer Mathematics Practice: 8 - 5

fac.ksu.edu.sa/wdahbour 28
Converting Binary to Decimal:

fac.ksu.edu.sa/wdahbour 29
Converting Binary to Decimal:

fac.ksu.edu.sa/wdahbour 30
Converting Binary to Decimal:

fac.ksu.edu.sa/wdahbour 31
Converting Binary to Decimal:

fac.ksu.edu.sa/wdahbour 32
Converting Decimal to Binary :

fac.ksu.edu.sa/wdahbour 33
Converting Decimal to Binary :

fac.ksu.edu.sa/wdahbour 34
Subnetting: 8 - 6

fac.ksu.edu.sa/wdahbour 35
Subnetting:

fac.ksu.edu.sa/wdahbour 36
Purpose of Subnets:

fac.ksu.edu.sa/wdahbour 37
Subnet Masks:

Classful
Subnets

fac.ksu.edu.sa/wdahbour 38
Subnetting Formulas:

fac.ksu.edu.sa/wdahbour 39
Classful VS Subnetted Networks:

fac.ksu.edu.sa/wdahbour 40
Calculating Number of Subnets:

fac.ksu.edu.sa/wdahbour 41
Calculating Number of IPs:

fac.ksu.edu.sa/wdahbour 42
Listing Subnets:

fac.ksu.edu.sa/wdahbour 43
Subnetting Tip:

fac.ksu.edu.sa/wdahbour 44
Subnetting Practice: 8 - 7

fac.ksu.edu.sa/wdahbour 45
Subnetting Practice – 1:
- How many assignable IP addresses
exist in a network 172.16.1.0/27?

1. 30
2. 32
3. 14
4. 64

fac.ksu.edu.sa/wdahbour 46
Subnetting Practice – 2:
- How many assignable IP addresses
exist in a network 192.168.1.0/28?

1. 30
2. 16
3. 14
4. 64

fac.ksu.edu.sa/wdahbour 47
You are a network administrator for a company, The company decided to open a
Subnetting Practice – 3:
new departments in its new branch, You will need to subnet the private IP address
range given to you into several smaller networks to serve each department.
The new office location has been assigned the range of 10.10.10.0/24
When you setup the network, You need to configure separate subnets for each
department in the new offices. You should allocate the addressing using CIDR
notation and prove each department the minimum number of IP addresses that
will meet their needs.
The new departments have the following number of users shown in the table

Department name Number of users


IT 54
Instructors 32
Sales 5
Administrative 3
Unused ------

fac.ksu.edu.sa/wdahbour 48
Subnetting Practice – 3: Since you have a CIDR of (10.10.10.0/24), Which means you have 256 IP to
work with.
- First, We round up our department number to the next highest multiple of 2.
Remember, the numbers provided are for the users (computers), we still need to add 2
IPs (one for the Network and the other for the broadcast).
- IT: 54+2 = 56  Now, Round (56) to the nearest multiple of (2)  (64)
- Instructors: 32+2 = 34  Now, Round (34) to the nearest multiple of (2)  (64)
- Sales: 5+2 = 7  Now, Round (7) to the nearest multiple of (2)  (8)
- Administrative: 3+2 = 5  Now, Round (5) to the nearest multiple of (2)  (8)
- Unused: 256-64-64-8-8 = 112  Now, Round down (112) because it is Unused to the
nearest multiple of (2)  (64) Unused IPs.
- The New Subnets CIDR are:
Department Number of - IT= / 26
name users - Instructors= / 26
IT 54 - Sales= / 29
Instructors 32 - Administrative= /29
- Unused= / 26
Sales 5
Administrative 3
Unused ------
fac.ksu.edu.sa/wdahbour 49
IPv6 Addresses: 8 - 8

fac.ksu.edu.sa/wdahbour 50
Internet Protocol version 6 (IPV 6):

fac.ksu.edu.sa/wdahbour 51
IPv 6 Benefits:

fac.ksu.edu.sa/wdahbour 52
Headers (IPv 4 and IPv 6):

Headers IPV 6
Headers IPV 4

fac.ksu.edu.sa/wdahbour 53
IPv 6 Address Structure:

201b:5c86:11d1:456e:3456:abc0:ddea:12ab
2018:0:0:0000:0:000:4815:54ae
Consecutive groups
of 0’s can be
summarized as ::

2018::4815:54ae
fac.ksu.edu.sa/wdahbour 54
IPv 6 Address Types:

fac.ksu.edu.sa/wdahbour 55
Do we need DHCP for IPv6?

fac.ksu.edu.sa/wdahbour 56
Chapter 8- Questions:

fac.ksu.edu.sa/wdahbour 57
Question#1:

A networked host with unknown address can be reached via:

A. Unicast

B. Multicast

C. Broadcast

fac.ksu.edu.sa/wdahbour 58
Question#2:
A type of network traffic intended for a particular group of hosts is called:

A. Unicast

B. Multicast

C. Broadcast

fac.ksu.edu.sa/wdahbour 59
Question#3:
A type of network traffic intended for a single host identified by a unique IP
address is referred to as:

A. Unicast

B. Multicast

C. Broadcast

fac.ksu.edu.sa/wdahbour 60
Question#4:
An IPv4 address consists of:

A. 32 bits

B. 48 bits

C. 64 bits

D. 128 bits

fac.ksu.edu.sa/wdahbour 61
Question#5:

Which of the answers listed below refers to a binary representation of the decimal
number 192?
A. 10101100

B. 11000000

C. 01100010

D. 10101010

fac.ksu.edu.sa/wdahbour 62
Question#6:
IPv4 addresses are expressed with the use of:

A. Octagonal numbers

B. Binary numbers

C. Hexadecimal numbers

D. Decimal numbers

fac.ksu.edu.sa/wdahbour 63
Question#7:

Which of the following answers lists a decimal notation of the binary number
10101100?
A. 168

B. 172

C. 192

D. 224

fac.ksu.edu.sa/wdahbour 64
Question#8:

Which of the answers listed below refer to an IPv4 loopback address?

A. ::1

B. FE80::/10

C. 0:0:0:0:0:0:0:1

D. 169.254/16

E. 127.0.0.1

fac.ksu.edu.sa/wdahbour 65
Question#9:

An IPv6 address consists of:

A. 32 bits

B. 48 bits

C. 64 bits

D. 128 bits

fac.ksu.edu.sa/wdahbour 66
Question#10:

IPv6 addresses are expressed with the use of:

A. Octagonal numbers

B. Binary numbers

C. Hexadecimal numbers

D. Decimal numbers

fac.ksu.edu.sa/wdahbour 67
Question#11:

A double colon in an IPv6 address indicates that part of the address containing
only zeros has been compressed to make the address shorter.
A. True

B. False

fac.ksu.edu.sa/wdahbour 68
Question#12:

Which of the following answers refer to IPv6 loopback addresses? (Select 2


answers)
A. 127.0.0.1

B. 0:0:0:0:0:0:0:1

C. 169.254/16

D. ::1

E. FE80::/10

fac.ksu.edu.sa/wdahbour 69
Question#13:

Which of the answers listed below refers to an IPv6 link-local address?

A. 2002::/16

B. FE80::/10

C. 2001::/32

D. ::1/128

fac.ksu.edu.sa/wdahbour 70
Question#14:

Which of the following answers lists a valid address of


FE80:00A7:0000:0000:02AA:0000:4C00:FE9A after compression?
A. FE80:00A7::2AA:0:4C:FE9A

B. FE80:A7::2AA::4C00:FE9A

C. FE80:00A7::2AA:0:4C00:FE9A

D. FE80:A7::2AA:0:4C00:FE9A

fac.ksu.edu.sa/wdahbour 71
Question#15:

A limited IPv4-to-IPv6 transition mechanism that allows for encapsulation of IPv6 packets in
IPv4 packets transmitted over IPv4 networks is referred to as:
A. 6to4

B. 802.3af

C. eDiscovery

D. Miredo

fac.ksu.edu.sa/wdahbour 72
Question#16:

The term "Dual-stack IP" refers to a solution that relies on implementing both IPv4 and IPv6
protocol stacks on various network devices to facilitate seamless migration from IPv4 to IPv6.
A. True

B. False

fac.ksu.edu.sa/wdahbour 73
Question#17:

An IPv6 protocol performing the function of IPv4's Address Resolution Protocol (ARP) is called:

A. NCP

B. NDP

C. NTP

D. NDR

fac.ksu.edu.sa/wdahbour 74
Question#18:

Which IPv6 protocol is used by networked hosts to determine the link layer address of
adjacent nodes?
A. NCP

B. NDP

C. NTP

D. NDR

fac.ksu.edu.sa/wdahbour 75
Question#19:

An IPv6 protocol used by routers to advertise their presence on a network is known as:

A. NCP

B. NDP

C. NTP

D. NDR

fac.ksu.edu.sa/wdahbour 76
Question#20:

Which of the following answers refer to the characteristic features of the 10.0.0.0 -
10.255.255.255 (10.0.0.0/8) IPv4 address space? (Select 2 answers)
A. Class A range

B. Public IP address range

C. Class B range

D. Non-routable (private) IP address range

E. Class C range

fac.ksu.edu.sa/wdahbour 77
Question#21:

Which of the answers listed below refer to the 172.16.0.0 - 172.31.255.255 (172.16.0.0/12)
IPv4 address space? (Select 2 answers)
A. Class A range

B. Public IP address range

C. Class B range

D. Non-routable (private) IP address range

E. Class C range

fac.ksu.edu.sa/wdahbour 78
Question#22:

What are the characteristic features of the 192.168.0.0 - 192.168.255.255 (192.0.0.0/24) IPv4
address space? (Select 2 answers)
A. Class A range

B. Public IP address range

C. Class B range

D. Non-routable (private) IP address range

E. Class C range

fac.ksu.edu.sa/wdahbour 79
Question#23:
Which of the following answers refers to an IPv4 address range used for loopback addresses?

A. 0.0.0.0 – 0.255.255.255 (0.0.0.0/8)

B. 127.0.0.0 – 127.255.255.255 (127.0.0.0/8)

C. 169.254.0.0 – 169.254.255.255 (169.254.0.0/16)

D. 240.0.0.0 – 255.255.255.254 (240.0.0.0/4)

fac.ksu.edu.sa/wdahbour 80
Question#24:
Which of the answers listed below refers to an IPv4 address range reserved for future use?

A. 10.0.0.0 - 10.255.255.255 (10.0.0.0/8)

B. 172.16.0.0 - 172.31.255.255 (172.16.0.0/12)

C. 192.168.0.0 - 192.168.255.255 (192.0.0.0/24)

D. 240.0.0.0 – 255.255.255.254 (240.0.0.0/4)

fac.ksu.edu.sa/wdahbour 81
Question#25:

In a network using subnets, the term "Default gateway" refers to a network device (e.g.
router) that enables exchange of data between hosts residing in different subnets.
A. True

B. False

fac.ksu.edu.sa/wdahbour 82
Question#26:

An IP address that doesn't correspond to any actual physical network interface is called a
virtual IP address (VIP/VIPA).
A. True

B. False

fac.ksu.edu.sa/wdahbour 83
Question#27:

Which of the following allows to determine which network segment an IP address belongs to?

A. Physical address

B. Dynamic Host Configuration Protocol (DHCP)

C. Address Resolution Protocol (ARP)

D. Subnet mask

fac.ksu.edu.sa/wdahbour 84
Question#28:

In IPv4 addressing, the leading octet of an IP address with a value of 1 through 126 denotes
that the IP address within that range belongs to the:
A. Class A address space

B. Class B address space

C. Class C address space

D. Class D address space

fac.ksu.edu.sa/wdahbour 85
Question#29:

Which of the answers listed below refers to an example of a valid subnet mask?

A. 255.255.225.0

B. 255.255.191.0

C. 255.255.127.0

D. 255.255.64.0

E. None of the above is a valid subnet mask

fac.ksu.edu.sa/wdahbour 86
Question#30:

Which of the following answers lists the default (classful) subnet mask for a class A network?

A. 255.0.0.0

B. 255.128.0.0

C. 224.0.0.0

D. 255.224.0.0

fac.ksu.edu.sa/wdahbour 87
Question#31:

What is the leading octet value range for an IPv4 address belonging to a class B network?

A. 128 - 191

B. 1 – 126

C. 192 – 223

D. 224 - 239

fac.ksu.edu.sa/wdahbour 88
Question#32:

Which of the following answers refer to the IPv4 multicast address block? (Select 2 answers)

A. 128 – 191

B. Class B range

C. 192 – 223

D. Class C range

E. 224 – 239

F. Class D range

fac.ksu.edu.sa/wdahbour 89
Question#33:

Which of the answers listed below refers to a solution that replaces the classful network
design?
A. VLAN

B. RSTP

C. SNAT

D. CIDR

fac.ksu.edu.sa/wdahbour 90
Question#34:

Which of the following answers lists the CIDR notation of the 255.255.255.224 subnet mask?

A. /25

B. /26

C. /27

D. /28

fac.ksu.edu.sa/wdahbour 91
Question#35:
Which of the answers listed below refers to a permanent assignment of an IP address?

A. Static IP address

B. Private IP address

C. Dynamic IP address

D. Public IP address

fac.ksu.edu.sa/wdahbour 92
End of Chapter (8)

For more training, Practicing and online Exams, log on to


https://www.comptia.org

fac.ksu.edu.sa/wdahbour 93

You might also like