SlideShare a Scribd company logo
Topic 2.3 network addressing for tcpip
Learning Outcomes
1. Explain the addressing scheme of
TCP/IP
2. Identify Public and Private IP address.
3. Types of IP address
4. Methods of obtaining IP addresses
Recap!!
1. Can you list the 7 Layer in OSI?
2. What is protocol?
3. Did you still remember TCP/IP
Model. List all the 4 Layer in
TCP/IP?
IP Addresses and Subnet Mask
• IP address
IP address is a 32-bit binary number that
divided into 4 groups of 8 bits, known as
octets.
Allow to communicate with other
computers.
IP address is the number assigned to your
computer by the network device.
IP Addresses and Subnet Mask
• Subnet Mask
Determines how many IP addresses you
can use for your network.
Example, 255.255.255.0 would allow you
to use 254 IP addresses for your network.
Subnet mask defines how large of a
network you want to talk to by default.
IP Addresses and Subnet Mask
Addressing Scheme: Structure of IP Address
Purpose of IP Address
1. First part identifies the
network (N)
2. Second part identifies
the host (H)
Where is
192.168.5.22?
192.168.5.99
192.168.5.0
192.168.5.23
192.168.5.22
Here is
NETWORK
192.168.5.22
in PTSS
1
2
I’m HOST
192.168.5.22
Purpose of IP Address
The logical 32-bit IP address is
hierarchical and is made up of
two parts. The first part identifies
the network and the second part
identifies a host on that network
First part identifies the network
Second part identifies the host
Binary and Dotted Decimal Notation
• Different format of IP address, binary,
dotted decimal and hexadecimal.
1. Binary.
Example: 11000000 10101000 00000001
00001010
2. Dotted Decimal.
Example: 192.168.1.10
3. Hexadecimal.
Example: C0.A8.1.A
Binary to
Hexadecimal
Binary= 0, 1
Decimal= 0–9
Hexadecimal= 0–9, A-F
Decimal Binary Hexadecimal
0 0000 0
1 0001 1
2 0010 2
3 0011 3
4 0100 4
5 0101 5
6 0110 6
7 0111 7
8 1000 8
9 1001 9
10 1010 A
11 1011 B
12 1100 C
13 1101 D
14 1110 E
15 1111 F
Types of IP/Network Address
CLASS RANGE
OF 1st
OCTET
RANGE OF
1st OCTET
(BINARY)
Network(N) and
Host(H) Part in
Address
DEFAULT SUBNET
MASK
PURPOSE
A 1-126 00000000 -
01111111
N.H.H.H
Host: 16.7
millions
255.0.0.0 Large network
B 128-191 10000000 -
10111111
N.N.H.H
Host: 65k
255.255.0.0 Medium
network
C 192-223 11000000 -
11011111
N.N.N.H
Host: 254
255.255.255.0 Small network
D 224-239 11100000 -
11101111
Not for
commercial use
as a host
255.255.255.255 Multicasting
E 240-254 11110000 -
11111111
- Reserved - for
experimental
use
The class of an address can be determined by the value of the
first octet
Extra!!!
• IP Addressing Rules
1. All Host portions cannot be ZERO
(0=network ID/00000000)
2. All Host portions cannot be 255 as 255 is a
broadcast address in any network
(255=1=broadcast ID/11111111)
3. No computing device can be assigned an IP
of 127.0.0.1 as it is a LOOPBACK IP address
(localhost)
4. All Host portion should be unique in any given
network.
Private and Public IP Addresses
• All hosts that connect directly to the Internet require a
unique public IP address. An IP address is
considered public if the IP number is valid.
• Some private addresses are reserved for use
exclusively inside an organization.
• Public IP addresses are used by servers (including
those for Web sites and DNS servers), network
routers or any computer connected directly to the
Internet via a modem.
Private and Public IP Addresses (cont…)
• Private addresses can be used internally by hosts
in an organization as long as the hosts do not
connect directly to the Internet.
• Private addresses are not routed on the Internet and
will be quickly blocked by an ISP router.
• The use of private addresses can provide a measure
of security since they are only visible on the local
network.
How to set Private IP?
Static – Our own host, Automatic - DHCP
Private and Public IP Addresses (cont…)
Private IP Address
• Private IP addresses are used only within your
network.
• Private IP addresses always start with:
• CLASS A – 10.x.x.x
Valid IP addresses:10.0.0.1 to 10.255.255.254
• CLASS B - 172.16.x.x
Valid IP addresses:172.16.0.1 to 172.31.255.254
• CLASS C - 192.168.x.x
Valid IP addresses:192.168.0.1 to 192.168.255.254
Types of Addressing
• IP addresses also categorized as unicast,
broadcast or multicast.
• Hosts can use IP addresses to communicate
- one-to-one (unicast),
- one-to-many (multicast) or
- one-to-all (broadcast).
Unicast Addressing
• To describe communication where a piece
of information is sent from one point to
another point. In this case there is just
one sender, and one receiver.
• One-to-One
• Example: The standard unicast
applications (http, smtp, ftp and telnet)
which employ the TCP transport protocol.
Unicast Addressing (cont…)
Multicast Addressing
• To describe communication where a piece
of information is sent from one or more
points to a set of other points. In this case
there is may be one or more senders.
• One-to-Many
• Example of an application which may use
multicast is a video server sending out
networked TV channels / Group email.
Multicast Addressing (cont…)
Broadcast Addressing
• To describe communication where a piece
of information is sent from one point to all
other points. In this case there is just one
sender, but the information is sent to all
connected receivers.
• One-to-All
• Example: The standard application
(address resolution protocol (ARP))
Broadcast Addressing (cont…)
Addressing Method
• Static / Manual Addressing
• Dynamic / Automatic Addressing
Addressing Method (cont…)
• Static/Manual
– Setting up IP configuration at network manually
• Dynamic/automatic
– Automatically received IP address from DHCP
server
Static Addressing
Advantages Disadvantages
If you run servers, you will
always know where in the
world it is and or login
remotely
You can't move your
machine to a different subnet
and expect it to work. You
need to reconfigure it
Useful for printer setting
Dynamic Addressing
Advantages Disadvantages
IP configuration information
gets automatically configured
for client machine by the
DHCP server.
You can't move your
machine to a different subnet
and expect it to work. You
need to reconfigure it
Less security risk as the
computer is assigned a new
IP address whenever you log
on.
Dynamic Addressing (cont…)
• DHCP Server
Set of rules for dynamically
assigning IP addresses to
devices on a network.
It assigns the IP addresses
and ensures that all IP
addresses are unique.
Domain Name Service (DNS)
• Domain Name Service (DNS) is the service
used to convert human readable names of
hosts to IP addresses.
• Example:
- PC10  192.168.2.12
- www.google.com 
74.125.135.105
74.125.135.104
74.125.135.106
74.125.135.147
74.125.135.99
74.125.135.103
How DNS Server Works???
http://www.youtube.com/wat
ch?v=p7UR7Nipqcs
http://www.youtube.com/wat
ch?v=e5DEVa9eSN0
I don’t stop when I’m tired.
I only stop when I’m done…

More Related Content

PPTX
Topic 2.2 network protocol
PPTX
Topic 2.1 network communication using osi model part1
PPTX
Topic 2.4 network services
PPTX
Topic 1.1 basic concepts of computer network
PPTX
A presentation on networking and ccna
PPTX
Chapter 6 - Networking
PPTX
98 366 mva slides lesson 7
Topic 2.2 network protocol
Topic 2.1 network communication using osi model part1
Topic 2.4 network services
Topic 1.1 basic concepts of computer network
A presentation on networking and ccna
Chapter 6 - Networking
98 366 mva slides lesson 7

What's hot (20)

PPT
Basic networking course
PPTX
PPTX
PPTX
98 366 mva slides lesson 6
PPTX
Computer networks
PPTX
Network Fundamentals: Ch6 - Addressing the Network IP v4
PPTX
PPTX
PPTX
Ip v4 & ip v6
PPTX
PPTX
Internet protocol (ip)
PPTX
Ccna PPT
PPTX
0 lecture 5 wp wireless protocol
PDF
Basic ip and networking ver 3 kl
PPT
CCNA IP Addressing
PPTX
98 366 mva slides lesson 8
PPTX
98 366 mva slides lesson 5
PDF
Network layer logical addressing
PDF
Computer network (12)
PPT
Networking Essentials Lesson 01 - Eric Vanderburg
Basic networking course
98 366 mva slides lesson 6
Computer networks
Network Fundamentals: Ch6 - Addressing the Network IP v4
Ip v4 & ip v6
Internet protocol (ip)
Ccna PPT
0 lecture 5 wp wireless protocol
Basic ip and networking ver 3 kl
CCNA IP Addressing
98 366 mva slides lesson 8
98 366 mva slides lesson 5
Network layer logical addressing
Computer network (12)
Networking Essentials Lesson 01 - Eric Vanderburg
Ad

Similar to Topic 2.3 network addressing for tcpip (20)

PPT
chsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
PDF
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
PPT
Addressing
PPTX
Internet Protocol Address or IP Address complete guide
PDF
Networking Brush Up for Amazon AWS Administrators
PPTX
NDC Chapter 1.pptx for all this is veriy importan pwor point for all students
PPTX
NDC Chapter 1.pptx for all this is veriy importan pwor point for all students
PPS
Lesson1: Introduction To Networking Concepts
PPTX
5 configuring TCP/IP
PPTX
Microsoft Offical Course 20410C_05
PPTX
PPT
Ip Addressing Basics
PPTX
network Fundaa.pptx
PPTX
IP_ADDRESSING_AND_SUBNETTIN networkG.pptx
PDF
Basics of IP address ,IP-address classes, Subnet mask
PPT
Networking Chapter 7
PPTX
Ip addressing
PPTX
IP Addressing & subnetting strategy
PPTX
Computer network coe351- part3-final
PPTX
16.) layer 3 (basic tcp ip routing)
chsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Addressing
Internet Protocol Address or IP Address complete guide
Networking Brush Up for Amazon AWS Administrators
NDC Chapter 1.pptx for all this is veriy importan pwor point for all students
NDC Chapter 1.pptx for all this is veriy importan pwor point for all students
Lesson1: Introduction To Networking Concepts
5 configuring TCP/IP
Microsoft Offical Course 20410C_05
Ip Addressing Basics
network Fundaa.pptx
IP_ADDRESSING_AND_SUBNETTIN networkG.pptx
Basics of IP address ,IP-address classes, Subnet mask
Networking Chapter 7
Ip addressing
IP Addressing & subnetting strategy
Computer network coe351- part3-final
16.) layer 3 (basic tcp ip routing)
Ad

More from Atika Zaimi (6)

PPTX
Topic 5.0 basic security part 1
PPTX
Topic 4.0 wireless technology
PPTX
Topic 3.2 internet service provider
PPTX
Topic 3.1 data transmission and networking media
PPTX
Topic 1.3 create lan using networking devices
PPTX
Topic 1.2 principle of communication in networking
Topic 5.0 basic security part 1
Topic 4.0 wireless technology
Topic 3.2 internet service provider
Topic 3.1 data transmission and networking media
Topic 1.3 create lan using networking devices
Topic 1.2 principle of communication in networking

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
cuic standard and advanced reporting.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Electronic commerce courselecture one. Pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPT
Teaching material agriculture food technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Approach and Philosophy of On baking technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
20250228 LYD VKU AI Blended-Learning.pptx
Review of recent advances in non-invasive hemoglobin estimation
Programs and apps: productivity, graphics, security and other tools
cuic standard and advanced reporting.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
NewMind AI Weekly Chronicles - August'25 Week I
Network Security Unit 5.pdf for BCA BBA.
Chapter 3 Spatial Domain Image Processing.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Electronic commerce courselecture one. Pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Reach Out and Touch Someone: Haptics and Empathic Computing
Mobile App Security Testing_ A Comprehensive Guide.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Teaching material agriculture food technology
“AI and Expert System Decision Support & Business Intelligence Systems”
The Rise and Fall of 3GPP – Time for a Sabbatical?

Topic 2.3 network addressing for tcpip

  • 2. Learning Outcomes 1. Explain the addressing scheme of TCP/IP 2. Identify Public and Private IP address. 3. Types of IP address 4. Methods of obtaining IP addresses
  • 3. Recap!! 1. Can you list the 7 Layer in OSI? 2. What is protocol? 3. Did you still remember TCP/IP Model. List all the 4 Layer in TCP/IP?
  • 4. IP Addresses and Subnet Mask • IP address IP address is a 32-bit binary number that divided into 4 groups of 8 bits, known as octets. Allow to communicate with other computers. IP address is the number assigned to your computer by the network device.
  • 5. IP Addresses and Subnet Mask • Subnet Mask Determines how many IP addresses you can use for your network. Example, 255.255.255.0 would allow you to use 254 IP addresses for your network. Subnet mask defines how large of a network you want to talk to by default.
  • 6. IP Addresses and Subnet Mask
  • 8. Purpose of IP Address 1. First part identifies the network (N) 2. Second part identifies the host (H) Where is 192.168.5.22? 192.168.5.99 192.168.5.0 192.168.5.23 192.168.5.22 Here is NETWORK 192.168.5.22 in PTSS 1 2 I’m HOST 192.168.5.22
  • 9. Purpose of IP Address The logical 32-bit IP address is hierarchical and is made up of two parts. The first part identifies the network and the second part identifies a host on that network First part identifies the network Second part identifies the host
  • 10. Binary and Dotted Decimal Notation • Different format of IP address, binary, dotted decimal and hexadecimal. 1. Binary. Example: 11000000 10101000 00000001 00001010 2. Dotted Decimal. Example: 192.168.1.10 3. Hexadecimal. Example: C0.A8.1.A
  • 11. Binary to Hexadecimal Binary= 0, 1 Decimal= 0–9 Hexadecimal= 0–9, A-F Decimal Binary Hexadecimal 0 0000 0 1 0001 1 2 0010 2 3 0011 3 4 0100 4 5 0101 5 6 0110 6 7 0111 7 8 1000 8 9 1001 9 10 1010 A 11 1011 B 12 1100 C 13 1101 D 14 1110 E 15 1111 F
  • 12. Types of IP/Network Address CLASS RANGE OF 1st OCTET RANGE OF 1st OCTET (BINARY) Network(N) and Host(H) Part in Address DEFAULT SUBNET MASK PURPOSE A 1-126 00000000 - 01111111 N.H.H.H Host: 16.7 millions 255.0.0.0 Large network B 128-191 10000000 - 10111111 N.N.H.H Host: 65k 255.255.0.0 Medium network C 192-223 11000000 - 11011111 N.N.N.H Host: 254 255.255.255.0 Small network D 224-239 11100000 - 11101111 Not for commercial use as a host 255.255.255.255 Multicasting E 240-254 11110000 - 11111111 - Reserved - for experimental use The class of an address can be determined by the value of the first octet
  • 13. Extra!!! • IP Addressing Rules 1. All Host portions cannot be ZERO (0=network ID/00000000) 2. All Host portions cannot be 255 as 255 is a broadcast address in any network (255=1=broadcast ID/11111111) 3. No computing device can be assigned an IP of 127.0.0.1 as it is a LOOPBACK IP address (localhost) 4. All Host portion should be unique in any given network.
  • 14. Private and Public IP Addresses • All hosts that connect directly to the Internet require a unique public IP address. An IP address is considered public if the IP number is valid. • Some private addresses are reserved for use exclusively inside an organization. • Public IP addresses are used by servers (including those for Web sites and DNS servers), network routers or any computer connected directly to the Internet via a modem.
  • 15. Private and Public IP Addresses (cont…) • Private addresses can be used internally by hosts in an organization as long as the hosts do not connect directly to the Internet. • Private addresses are not routed on the Internet and will be quickly blocked by an ISP router. • The use of private addresses can provide a measure of security since they are only visible on the local network. How to set Private IP? Static – Our own host, Automatic - DHCP
  • 16. Private and Public IP Addresses (cont…)
  • 17. Private IP Address • Private IP addresses are used only within your network. • Private IP addresses always start with: • CLASS A – 10.x.x.x Valid IP addresses:10.0.0.1 to 10.255.255.254 • CLASS B - 172.16.x.x Valid IP addresses:172.16.0.1 to 172.31.255.254 • CLASS C - 192.168.x.x Valid IP addresses:192.168.0.1 to 192.168.255.254
  • 18. Types of Addressing • IP addresses also categorized as unicast, broadcast or multicast. • Hosts can use IP addresses to communicate - one-to-one (unicast), - one-to-many (multicast) or - one-to-all (broadcast).
  • 19. Unicast Addressing • To describe communication where a piece of information is sent from one point to another point. In this case there is just one sender, and one receiver. • One-to-One • Example: The standard unicast applications (http, smtp, ftp and telnet) which employ the TCP transport protocol.
  • 21. Multicast Addressing • To describe communication where a piece of information is sent from one or more points to a set of other points. In this case there is may be one or more senders. • One-to-Many • Example of an application which may use multicast is a video server sending out networked TV channels / Group email.
  • 23. Broadcast Addressing • To describe communication where a piece of information is sent from one point to all other points. In this case there is just one sender, but the information is sent to all connected receivers. • One-to-All • Example: The standard application (address resolution protocol (ARP))
  • 25. Addressing Method • Static / Manual Addressing • Dynamic / Automatic Addressing
  • 26. Addressing Method (cont…) • Static/Manual – Setting up IP configuration at network manually • Dynamic/automatic – Automatically received IP address from DHCP server
  • 27. Static Addressing Advantages Disadvantages If you run servers, you will always know where in the world it is and or login remotely You can't move your machine to a different subnet and expect it to work. You need to reconfigure it Useful for printer setting
  • 28. Dynamic Addressing Advantages Disadvantages IP configuration information gets automatically configured for client machine by the DHCP server. You can't move your machine to a different subnet and expect it to work. You need to reconfigure it Less security risk as the computer is assigned a new IP address whenever you log on.
  • 29. Dynamic Addressing (cont…) • DHCP Server Set of rules for dynamically assigning IP addresses to devices on a network. It assigns the IP addresses and ensures that all IP addresses are unique.
  • 30. Domain Name Service (DNS) • Domain Name Service (DNS) is the service used to convert human readable names of hosts to IP addresses. • Example: - PC10  192.168.2.12 - www.google.com  74.125.135.105 74.125.135.104 74.125.135.106 74.125.135.147 74.125.135.99 74.125.135.103
  • 31. How DNS Server Works???
  • 33. I don’t stop when I’m tired. I only stop when I’m done…