SlideShare une entreprise Scribd logo
1  sur  27
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Network Fundamentals
Abdelkhalik Elsaid Mosa
abdu.elsaid@yahoo.com
http://abdelkhalik.staff.scuegypt.edu.eg/
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
IP v4
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
IP v4
32 Bits
255 255 255 255
Dotted Decimal Network Host
11111111 11111111 11111111 11111111
192 168 171 221
11000000 10101000 10101011 11011101
Maximum
Binary
Ex. Decimal
Ex. Binary
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Types of addresses in IP v4 network
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Types of addresses in IP v4 network
• Network address: The address by which we refer to the network,
all host bits are “0”.
• Broadcast address: A special address used to send data to all
hosts in the network, all host bits are “1”.
• Host addresses: The addresses assigned to the end devices in the
network “values between network and broadcast”.
192 168 171 0
11000000 10101000 10101011 00000000
192 168 171 255
11000000 10101000 10101011 11111111
192 168 171 From 1 to 254
11000000 10101000 10101011 00000001 to11111110
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Types of addresses in IP v4 network
• Prefix Length: the number of bits in the address that gives us the
network portion. Ex: 192.168.171.221/24
• Subnet Mask: consists of 32 bits and uses 1s to represent
network portion and 0s to represent host portion.
Ex: 255.255.255.0
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Unicast, Multicast, Broadcast – Types of Communication
• Unicast: the process of sending a packet from one host to an
individual host “One-to-One”.
• Multicast: the process of sending a packet from one host to a
selected group of hosts “One-to-Many”.
Multicast clients: Hosts that wish to receive multicast data, and
must subscribe to a Multicast Group.
• Broadcast: the process of sending a packet from one host to all
hosts in the network “One-to-All”.
1.Directed Broadcast: is sent to all hosts on a specific network.
Ex: 192.168.171.255/24
2.Limited Broadcast: is used for communication that is limited to
the hosts on the local network. Ex: 255.255.255.255
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Reserved IP v4 address range
•Host Addresses: 0.0.0.0 to 223.255.255.255
Within this range there are many addresses that are already
reserved for special purposes.
•Multicast Addresses (224.0.0.0 to 239.255.255.255):
1.Reserved link local addresses: 224.0.0.0 to 224.0.0.255.
Used for multicast groups on a local network.
2.Globally scoped addresses: 224.0.1.0 to 238.255.255.255.
Used to multicast data across the Internet.
3.Administratively scoped addresses: 239.0.0.0/8 (limited scope).
Used by ISPs to send multicast data to their subscribers.
•Experimental Addresses: 240.0.0.0 to 255.255.255.254 (RFC 3330).
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Public and Private addresses
• Public addresses: designated for use in networks that are
accessible on the Internet.
• Private addresses: used for internal networks and not routable
on the Internet.
The private address blocks are:
1. 10.0.0.0 to 10.255.255.255 (10.0.0.0 /8)
2. 172.16.0.0 to 172.31.255.255 (172.16.0.0 /12)
3. 192.168.0.0 to 192.168.255.255 (192.168.0.0 /16)
NAT allows the hosts in the network to "borrow" a public
address for communicating to outside networks.
http://whatismyipaddress.com/
http://show-ip.net/
http://www.whatismyip.com/
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Public and Private addresses
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Special IP v4 Addresses
• Network and Broadcast Addresses:
Within each network the first and last addresses cannot be
assigned to hosts.
• Default Route: 0.0.0.0, all (0.0.0.0 /8) address block is reserved.
The default route is used as a "catch all" route when a more
specific route is not available.
• Loopback: 127.0.0.0 - to - 127.255.255.255.
Hosts use loopback to direct traffic to themselves.
• Link-Local Addresses: 169.254.0.0 to 169.254.255.255
Automatically assigned by OS where no IP config. is available.
• TEST-NET Addresses: 192.0.2.0 to 192.0.2.255 (192.0.2.0 /24).
is set aside for teaching and learning purposes.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Special IP v4 Addresses
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Classful Addressing
Classful allocation of address space often wasted many addresses, which exhausted
the availability of IPv4 addresses. Classless Addressing solves this problem
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Fill in the information…
1. 192.168.1.3 Class ------- Default Mask: ---------------
Network: ------------------- Broadcast: -------------------
Hosts: ----------------------through-----------------------
2. 1.12.100.31 Class ------- Default Mask: ---------------
Network: ------------------- Broadcast: --------------------
Hosts: ----------------------through-----------------------
3. 172.30.77.5 Class ------- Default Mask: ---------------
Network: ------------------- Broadcast: -------------------
Hosts: ----------------------through-----------------------
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Who assigns the different addresses?
• Internet Assigned Numbers Authority (IANA), www.iana.net.
• IANA is the master holder of the IP addresses
• Registration companies, called Regional Internet Registries (RIRs),
manage the IP address space.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
ISPs
• Tier 1 ISPs provides reliability and speed.
• Tier 2 ISPs generally focus on business customers.
• Tier 3 ISPs is the retail and home markets in a specific locale.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Overview of IP v6
• IPv6 is not merely a new Layer 3 protocol - it is a new protocol
suite, ICMPv6, and new routing protocols.
 Large address space
 No need for NAT/PAT
 Improved Packet Handling through header simplification.
 QoS Mechanisms.
 Security
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Overview of IP v6
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
ANDing- What is our network?
• The IPv4 host address is logically ANDed with its subnet mask to
determine the network address to which the host is associated.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Basic Subnetting
• Subnetting: Creating multiple logical networks from a single
address block.
• No. of subnets: 2n where n = the number of bits borrowed.
Dividing networks based on:
1. geographic location
2. Purposes
3. ownership
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Basic Subnetting – Borrowing 2 bits (4-Subnets)
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Basic Subnetting – Borrowing 3 bits (8-Subnets)
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
VLSM – Subnetting a subnet
• was designed to maximize addressing efficiency.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Testing the local stack
• Ping: is a utility for testing IP connectivity between hosts.
Uses ICMP.
If the host Echo request, The destination responds with an
ICMP Echo Reply datagram.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
Traceroute (tracert) – Testing the path
• tracert: utility that allows us to observe the path between source
and destination.
generates a list of hops that were successfully reached along
the path.
• RTT (Round Trip Time): is the time a packet takes to reach the
remote host and for the response from the host to return.
An asterisk (*) is used to indicate a lost packet.
• If TTL=0 then
The router drops the packet and sends an ICMP Time Exceeded
message addressed to the originating host.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy
ICMP v4
• ICMP is the messaging protocol for the TCP/IP suite.
• ICMP provides control and error messages and is used by the
ping and traceroute utilities.
• ICMP messages that may be sent include:
Host confirmation
Unreachable Destination or Service
0 = net unreachable, 1 = host unreachable, 2 = protocol unreachable,
3 = port unreachable
Time exceeded
Route redirection
Source quench
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy

Contenu connexe

Tendances

CCNA Network Devices
CCNA Network DevicesCCNA Network Devices
CCNA Network Devices
Dsunte Wilson
 

Tendances (20)

CS8591 Computer Networks - Unit II
CS8591 Computer Networks - Unit II CS8591 Computer Networks - Unit II
CS8591 Computer Networks - Unit II
 
CCNA Network Devices
CCNA Network DevicesCCNA Network Devices
CCNA Network Devices
 
VLSM & SUPERNETTING
VLSM & SUPERNETTINGVLSM & SUPERNETTING
VLSM & SUPERNETTING
 
IPV6 ADDRESS
IPV6 ADDRESSIPV6 ADDRESS
IPV6 ADDRESS
 
IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Ipv4 & ipv6
Ipv4 & ipv6Ipv4 & ipv6
Ipv4 & ipv6
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Subnet Mask
Subnet MaskSubnet Mask
Subnet Mask
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
IP Address
IP AddressIP Address
IP Address
 
What is Network Address Translation (NAT)
What is Network Address Translation (NAT)What is Network Address Translation (NAT)
What is Network Address Translation (NAT)
 
Wlan architecture
Wlan architectureWlan architecture
Wlan architecture
 
IP addressing seminar ppt
IP addressing seminar pptIP addressing seminar ppt
IP addressing seminar ppt
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
 
Ims, Ip Multimedia System
Ims, Ip Multimedia SystemIms, Ip Multimedia System
Ims, Ip Multimedia System
 
Computer networks - Channelization
Computer networks - ChannelizationComputer networks - Channelization
Computer networks - Channelization
 
Ipv6
Ipv6Ipv6
Ipv6
 
IPv4
IPv4IPv4
IPv4
 

En vedette

CCNA Introducing Networks
CCNA Introducing NetworksCCNA Introducing Networks
CCNA Introducing Networks
Dsunte Wilson
 
Analog communications lab
Analog communications labAnalog communications lab
Analog communications lab
Vishal kakade
 
Analog communications lab
Analog communications labAnalog communications lab
Analog communications lab
Vishal kakade
 
A new precision peak detector full wave rectifier
A new precision peak detector full wave rectifierA new precision peak detector full wave rectifier
A new precision peak detector full wave rectifier
Vishal kakade
 
Pulse modulation (pam)
Pulse modulation (pam)Pulse modulation (pam)
Pulse modulation (pam)
Vishal kakade
 
Pulse amplitude modulation & demodulation
Pulse amplitude modulation & demodulationPulse amplitude modulation & demodulation
Pulse amplitude modulation & demodulation
Vishal kakade
 

En vedette (20)

Ip v4 & ip v6
Ip v4 & ip v6Ip v4 & ip v6
Ip v4 & ip v6
 
IPv6
IPv6IPv6
IPv6
 
Network Fundamentals: Ch9 - Ethernet
Network Fundamentals: Ch9 - EthernetNetwork Fundamentals: Ch9 - Ethernet
Network Fundamentals: Ch9 - Ethernet
 
LAN Switching and Wireless: Ch1 - LAN Design
LAN Switching and Wireless: Ch1 - LAN DesignLAN Switching and Wireless: Ch1 - LAN Design
LAN Switching and Wireless: Ch1 - LAN Design
 
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)
 
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
 
Network Fundamentals: Ch5 - Network Layer
Network Fundamentals: Ch5 - Network LayerNetwork Fundamentals: Ch5 - Network Layer
Network Fundamentals: Ch5 - Network Layer
 
CCNA Introducing Networks
CCNA Introducing NetworksCCNA Introducing Networks
CCNA Introducing Networks
 
Introduction to Mobile Core Network
Introduction to Mobile Core NetworkIntroduction to Mobile Core Network
Introduction to Mobile Core Network
 
Basics of LTE
Basics of LTEBasics of LTE
Basics of LTE
 
Accessing the WAN: Ch4 - Network Security
Accessing the WAN: Ch4 - Network SecurityAccessing the WAN: Ch4 - Network Security
Accessing the WAN: Ch4 - Network Security
 
Analog communications lab
Analog communications labAnalog communications lab
Analog communications lab
 
Unit 0 introduction
Unit 0 introductionUnit 0 introduction
Unit 0 introduction
 
Analog communications lab
Analog communications labAnalog communications lab
Analog communications lab
 
Unit 1 network models & typical examples(part b)
Unit 1 network models & typical examples(part b)Unit 1 network models & typical examples(part b)
Unit 1 network models & typical examples(part b)
 
A new precision peak detector full wave rectifier
A new precision peak detector full wave rectifierA new precision peak detector full wave rectifier
A new precision peak detector full wave rectifier
 
Network Fundamentals: Ch11 - Configuring and Testing your Network
Network Fundamentals: Ch11 - Configuring and Testing your NetworkNetwork Fundamentals: Ch11 - Configuring and Testing your Network
Network Fundamentals: Ch11 - Configuring and Testing your Network
 
Pulse modulation (pam)
Pulse modulation (pam)Pulse modulation (pam)
Pulse modulation (pam)
 
Pulse amplitude modulation & demodulation
Pulse amplitude modulation & demodulationPulse amplitude modulation & demodulation
Pulse amplitude modulation & demodulation
 
Network Fundamentals: Ch8 - Physical Layer
Network Fundamentals: Ch8 - Physical LayerNetwork Fundamentals: Ch8 - Physical Layer
Network Fundamentals: Ch8 - Physical Layer
 

Similaire à Network Fundamentals: Ch6 - Addressing the Network IP v4

Como definir un esquema de direcciones IPv6
Como definir un esquema de direcciones IPv6Como definir un esquema de direcciones IPv6
Como definir un esquema de direcciones IPv6
Edgardo Scrimaglia
 
Conceptos ipv6, direccionamiento
Conceptos ipv6, direccionamientoConceptos ipv6, direccionamiento
Conceptos ipv6, direccionamiento
Edgardo Scrimaglia
 
ch5-Fog Networks and Cloud Computing
ch5-Fog Networks and Cloud Computingch5-Fog Networks and Cloud Computing
ch5-Fog Networks and Cloud Computing
ssuser06ea42
 

Similaire à Network Fundamentals: Ch6 - Addressing the Network IP v4 (20)

Network Fundamentals: Ch3 - Application Layer Functionality and Protocols
Network Fundamentals: Ch3 - Application Layer Functionality and ProtocolsNetwork Fundamentals: Ch3 - Application Layer Functionality and Protocols
Network Fundamentals: Ch3 - Application Layer Functionality and Protocols
 
CCNA v6.0 ITN - Chapter 06
CCNA v6.0 ITN - Chapter 06CCNA v6.0 ITN - Chapter 06
CCNA v6.0 ITN - Chapter 06
 
09 Systems Software Programming-Network Programming.pptx
09 Systems Software Programming-Network Programming.pptx09 Systems Software Programming-Network Programming.pptx
09 Systems Software Programming-Network Programming.pptx
 
Network Fundamentals: Ch4 - Transport Layer
Network Fundamentals: Ch4 - Transport LayerNetwork Fundamentals: Ch4 - Transport Layer
Network Fundamentals: Ch4 - Transport Layer
 
2018 FRSecure CISSP Mentor Program- Session 7
2018 FRSecure CISSP Mentor Program- Session 72018 FRSecure CISSP Mentor Program- Session 7
2018 FRSecure CISSP Mentor Program- Session 7
 
ITE v5.0 - Chapter 6
ITE v5.0 - Chapter 6ITE v5.0 - Chapter 6
ITE v5.0 - Chapter 6
 
Chapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptChapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.ppt
 
Chapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptChapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.ppt
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Basics of Networking
Basics of NetworkingBasics of Networking
Basics of Networking
 
Como definir un esquema de direcciones IPv6
Como definir un esquema de direcciones IPv6Como definir un esquema de direcciones IPv6
Como definir un esquema de direcciones IPv6
 
Conceptos ipv6, direccionamiento
Conceptos ipv6, direccionamientoConceptos ipv6, direccionamiento
Conceptos ipv6, direccionamiento
 
Network Concepts
Network ConceptsNetwork Concepts
Network Concepts
 
ch5-Fog Networks and Cloud Computing
ch5-Fog Networks and Cloud Computingch5-Fog Networks and Cloud Computing
ch5-Fog Networks and Cloud Computing
 
Topic 2.3 network addressing for tcpip
Topic 2.3 network addressing for tcpipTopic 2.3 network addressing for tcpip
Topic 2.3 network addressing for tcpip
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
Web technology
Web technologyWeb technology
Web technology
 
Computer network coe351- part3-final
Computer network coe351- part3-finalComputer network coe351- part3-final
Computer network coe351- part3-final
 
2 networking
2 networking2 networking
2 networking
 
ITN3052_04_Switched_Networks.pdf
ITN3052_04_Switched_Networks.pdfITN3052_04_Switched_Networks.pdf
ITN3052_04_Switched_Networks.pdf
 

Plus de Abdelkhalik Mosa

Plus de Abdelkhalik Mosa (9)

Towards a Cloud Native Big Data Platform using MiCADO
Towards a Cloud Native Big Data Platform using MiCADOTowards a Cloud Native Big Data Platform using MiCADO
Towards a Cloud Native Big Data Platform using MiCADO
 
Virtual machine consolidation for cloud data centers using parameter based ad...
Virtual machine consolidation for cloud data centers using parameter based ad...Virtual machine consolidation for cloud data centers using parameter based ad...
Virtual machine consolidation for cloud data centers using parameter based ad...
 
Cloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling TechnologiesCloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling Technologies
 
Academic Poster Design, Review and Presentation
Academic Poster Design, Review and PresentationAcademic Poster Design, Review and Presentation
Academic Poster Design, Review and Presentation
 
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and Configuration
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and ConfigurationLAN Switching and Wireless: Ch7 - Basic Wireless Concepts and Configuration
LAN Switching and Wireless: Ch7 - Basic Wireless Concepts and Configuration
 
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and ConfigurationLAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
 
Routing Protocols and Concepts: Ch9 - EIGRP
Routing Protocols and Concepts: Ch9 - EIGRPRouting Protocols and Concepts: Ch9 - EIGRP
Routing Protocols and Concepts: Ch9 - EIGRP
 
Network Fundamentals: Ch7 - Data Link Layer
Network Fundamentals: Ch7 - Data Link LayerNetwork Fundamentals: Ch7 - Data Link Layer
Network Fundamentals: Ch7 - Data Link Layer
 
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)
Routing Protocols and Concepts: Ch5 - Routing Information Protocol (RIP v1)
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

Network Fundamentals: Ch6 - Addressing the Network IP v4

  • 1. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Network Fundamentals Abdelkhalik Elsaid Mosa abdu.elsaid@yahoo.com http://abdelkhalik.staff.scuegypt.edu.eg/
  • 2. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy IP v4
  • 3. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy IP v4 32 Bits 255 255 255 255 Dotted Decimal Network Host 11111111 11111111 11111111 11111111 192 168 171 221 11000000 10101000 10101011 11011101 Maximum Binary Ex. Decimal Ex. Binary
  • 4. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Types of addresses in IP v4 network
  • 5. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Types of addresses in IP v4 network • Network address: The address by which we refer to the network, all host bits are “0”. • Broadcast address: A special address used to send data to all hosts in the network, all host bits are “1”. • Host addresses: The addresses assigned to the end devices in the network “values between network and broadcast”. 192 168 171 0 11000000 10101000 10101011 00000000 192 168 171 255 11000000 10101000 10101011 11111111 192 168 171 From 1 to 254 11000000 10101000 10101011 00000001 to11111110
  • 6. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Types of addresses in IP v4 network • Prefix Length: the number of bits in the address that gives us the network portion. Ex: 192.168.171.221/24 • Subnet Mask: consists of 32 bits and uses 1s to represent network portion and 0s to represent host portion. Ex: 255.255.255.0
  • 7. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Unicast, Multicast, Broadcast – Types of Communication • Unicast: the process of sending a packet from one host to an individual host “One-to-One”. • Multicast: the process of sending a packet from one host to a selected group of hosts “One-to-Many”. Multicast clients: Hosts that wish to receive multicast data, and must subscribe to a Multicast Group. • Broadcast: the process of sending a packet from one host to all hosts in the network “One-to-All”. 1.Directed Broadcast: is sent to all hosts on a specific network. Ex: 192.168.171.255/24 2.Limited Broadcast: is used for communication that is limited to the hosts on the local network. Ex: 255.255.255.255
  • 8. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Reserved IP v4 address range •Host Addresses: 0.0.0.0 to 223.255.255.255 Within this range there are many addresses that are already reserved for special purposes. •Multicast Addresses (224.0.0.0 to 239.255.255.255): 1.Reserved link local addresses: 224.0.0.0 to 224.0.0.255. Used for multicast groups on a local network. 2.Globally scoped addresses: 224.0.1.0 to 238.255.255.255. Used to multicast data across the Internet. 3.Administratively scoped addresses: 239.0.0.0/8 (limited scope). Used by ISPs to send multicast data to their subscribers. •Experimental Addresses: 240.0.0.0 to 255.255.255.254 (RFC 3330).
  • 9. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Public and Private addresses • Public addresses: designated for use in networks that are accessible on the Internet. • Private addresses: used for internal networks and not routable on the Internet. The private address blocks are: 1. 10.0.0.0 to 10.255.255.255 (10.0.0.0 /8) 2. 172.16.0.0 to 172.31.255.255 (172.16.0.0 /12) 3. 192.168.0.0 to 192.168.255.255 (192.168.0.0 /16) NAT allows the hosts in the network to "borrow" a public address for communicating to outside networks. http://whatismyipaddress.com/ http://show-ip.net/ http://www.whatismyip.com/
  • 10. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Public and Private addresses
  • 11. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Special IP v4 Addresses • Network and Broadcast Addresses: Within each network the first and last addresses cannot be assigned to hosts. • Default Route: 0.0.0.0, all (0.0.0.0 /8) address block is reserved. The default route is used as a "catch all" route when a more specific route is not available. • Loopback: 127.0.0.0 - to - 127.255.255.255. Hosts use loopback to direct traffic to themselves. • Link-Local Addresses: 169.254.0.0 to 169.254.255.255 Automatically assigned by OS where no IP config. is available. • TEST-NET Addresses: 192.0.2.0 to 192.0.2.255 (192.0.2.0 /24). is set aside for teaching and learning purposes.
  • 12. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Special IP v4 Addresses
  • 13. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Classful Addressing Classful allocation of address space often wasted many addresses, which exhausted the availability of IPv4 addresses. Classless Addressing solves this problem
  • 14. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Fill in the information… 1. 192.168.1.3 Class ------- Default Mask: --------------- Network: ------------------- Broadcast: ------------------- Hosts: ----------------------through----------------------- 2. 1.12.100.31 Class ------- Default Mask: --------------- Network: ------------------- Broadcast: -------------------- Hosts: ----------------------through----------------------- 3. 172.30.77.5 Class ------- Default Mask: --------------- Network: ------------------- Broadcast: ------------------- Hosts: ----------------------through-----------------------
  • 15. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Who assigns the different addresses? • Internet Assigned Numbers Authority (IANA), www.iana.net. • IANA is the master holder of the IP addresses • Registration companies, called Regional Internet Registries (RIRs), manage the IP address space.
  • 16. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy ISPs • Tier 1 ISPs provides reliability and speed. • Tier 2 ISPs generally focus on business customers. • Tier 3 ISPs is the retail and home markets in a specific locale.
  • 17. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Overview of IP v6 • IPv6 is not merely a new Layer 3 protocol - it is a new protocol suite, ICMPv6, and new routing protocols.  Large address space  No need for NAT/PAT  Improved Packet Handling through header simplification.  QoS Mechanisms.  Security
  • 18. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Overview of IP v6
  • 19. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy ANDing- What is our network? • The IPv4 host address is logically ANDed with its subnet mask to determine the network address to which the host is associated.
  • 20. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Basic Subnetting • Subnetting: Creating multiple logical networks from a single address block. • No. of subnets: 2n where n = the number of bits borrowed. Dividing networks based on: 1. geographic location 2. Purposes 3. ownership
  • 21. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Basic Subnetting – Borrowing 2 bits (4-Subnets)
  • 22. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Basic Subnetting – Borrowing 3 bits (8-Subnets)
  • 23. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy VLSM – Subnetting a subnet • was designed to maximize addressing efficiency.
  • 24. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Testing the local stack • Ping: is a utility for testing IP connectivity between hosts. Uses ICMP. If the host Echo request, The destination responds with an ICMP Echo Reply datagram.
  • 25. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Traceroute (tracert) – Testing the path • tracert: utility that allows us to observe the path between source and destination. generates a list of hops that were successfully reached along the path. • RTT (Round Trip Time): is the time a packet takes to reach the remote host and for the response from the host to return. An asterisk (*) is used to indicate a lost packet. • If TTL=0 then The router drops the packet and sends an ICMP Time Exceeded message addressed to the originating host.
  • 26. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy ICMP v4 • ICMP is the messaging protocol for the TCP/IP suite. • ICMP provides control and error messages and is used by the ping and traceroute utilities. • ICMP messages that may be sent include: Host confirmation Unreachable Destination or Service 0 = net unreachable, 1 = host unreachable, 2 = protocol unreachable, 3 = port unreachable Time exceeded Route redirection Source quench
  • 27. Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy