SlideShare a Scribd company logo
Addressing the network IPv4 CCNA Exploration Semester 1  – Chapter 6
IP addressing – works at OSI model layer 3 TCP/IP model Internet layer Application Presentation Session Transport Network Data link Physical Application Transport Internet Network Access TCP, UDP IP Ethernet, WAN technologies HTTP, FTP, TFTP, SMTP etc Segment Packet Frame Bits Data stream
Addressing topics Binary and decimal Types of IP addresses Assigning addresses Network part and subnet masks Calculating addresses Ping and Traceroute Utilities
Binary and decimal Convert to 8-bit binary 248 187 89 Convert to decimal 00110100 01010101 11001111
248 to binary 0 0 0 1 1 1 1 1 1 2 4 8 16 32 64 128 248 -128 120 24 -16 8 56 -32 24 120 -64 56
187 to binary 1 1 0 1 1 1 0 1 1 2 4 8 16 32 64 128 187 -128 59 27 -16 11 11 -8 3 59 -32 27 3 -2 1
89 to binary 1 0 0 1 1 0 1 0 1 2 4 8 16 32 64 128 89 -64 25 25 -16 9 9 -8 1
00110100 to decimal 52 0 0 1 0 1 1 0 0 4 16 32 1 2 4 8 16 32 64 128 32 +16+  4 52
01010101 to decimal 85 1 0 1 0 1 0 1 0 1 4 16 64 1 2 4 8 16 32 64 128 64 +16+  4 +  1 85
11001111 to decimal 207 1 1 1 1 0 0 1 1 1 2 4 8 64 128 1 2 4 8 16 32 64 128 128 + 64 +  8 +  4 +  2 +  1 207
Binary and decimal Convert to 8-bit binary 248 11111000 187 10111011 89 01011001 Convert to decimal 00110100 52 01010101 85 11001111 207
IPv4 address Prefix  /24  Subnet mask: 00010001 00010101 10101000 11000000 17 21. 168. 192. octet octet octet octet network part host part 00000000 11111111 11111111 11111111 0 255. 255. 255.
Find the network address In a network address, all the host bits are 0. The router needs to do this for every packet. 00010001 00010101 10101000 11000000 17 21. 168. 192. 00000000 00010101 10101000 11000000 0 21. 168. 192.
Logical AND Do a logical AND at each position 00010001 00010101 10101000 11000000 17 21. 168. 192. 00000000 11111111 11111111 11111111 0 255. 255. 255. 00000000 00010101 10101000 11000000 0 21. 168. 192.
Find the broadcast address In a broadcast address, all the host bits are 1. The broadcast is the last address in the network. 00010001 00010101 10101000 11000000 17 21. 168. 192. 11111111 00010101 10101000 11000000 255 21. 168. 192.
3 types of address Every network has: Network address – the first one Broadcast address – the last one Host addresses – everything in between
Classful addressing network part host part A network part host part B network part host part C 60 53. 17. 10. 201 38. 16. 172. 17 21. 168. 192.
Classful addressing Easy to work out but very wasteful. Routers and hosts still assume class subnet masks by default Class A /8 255.0.0.0 Class B /16 255.255.0.0 Class C /24 255.255.255.0
Classless addressing Any suitable prefix can be used We (and devices) need to know what the prefix is. More flexible, less wasteful.
Classless addressing /16 172.16.0.0/16  mask 255.255.0.0 Broadcast address 172.16.255.255 Hosts 172.16.0.1 to 172.16.255.254 65534 host addresses 00000000 00000000 00010000 10101100 0 0. 16. 172.
Classless addressing /24 172.16.0.0/24  mask 255.255.255.0 Broadcast address 172.16.0.255 Hosts 172.16.0.1 to 172.16.0.254 254 host addresses 00000000 00000000 00010000 10101100 0 0. 16. 172.
Classless addressing /22 172.16.0.0/22  mask 255.255.252.0 Broadcast address 172.16.3.255 Hosts 172.16.0.1 to 172.16.3.254 1022 host addresses 00000000 00000000 00010000 10101100 0 0. 16. 172.
Classless addressing /26 172.16.0.0/22  mask 255.255.255.192 Broadcast address 172.16.0.63 Hosts 172.16.0.1 to 172.16.0.62 62 host addresses 00000000 00000000 00010000 10101100 0 0. 16. 172.
Classless addressing /28 172.16.0.0/28  mask 255.255.255.240 Broadcast address 172.16.0.15 Hosts 172.16.0.1 to 172.16.0.14 14 host addresses 00000000 00000000 00010000 10101100 0 0. 16. 172.
Calculating addresses A host has IP address 192.168.1.70/24 What is the subnet mask? What is the network address? What is the broadcast address? What is the range of host addresses in the network?
192.168.1.70/24 – fill in the table Last host First host Broadcast Network Subnet mask Host Full Last octet decimal Last octet binary
192.168.1.70/24 192.168.1.254 254 11111110 Last host 192.168.1.1 1 00000001 First host 192.168.1.255 255 11111111 Broadcast 192.168.1.0 0 00000000 Network 255.255.255.0 0 00000000 Subnet mask 192.168.1.70 70 01000110 Host Full Last octet decimal Last octet binary
Calculating addresses A host has IP address 192.168.1.70/26 What is the subnet mask? What is the network address? What is the broadcast address? What is the range of host addresses in the network?
192.168.1.70/26 fill in the table Last host First host Broadcast Network Subnet mask Host Full Last octet decimal Last octet binary
192.168.1.70/26 192.168.1.126 126 01111110 Last host 192.168.1.65 65 01000001 First host 192.168.1.127 127 01111111 Broadcast 192.168.1.64 64 01000000 Network 255.255.255.192 192 11000000 Subnet mask 192.168.1.70 70 01000110 Host Full Last octet decimal Last octet binary
Calculating addresses A host has IP address 192.168.1.70/28 What is the subnet mask? What is the network address? What is the broadcast address? What is the range of host addresses in the network?
192.168.1.70/28 fill in the table Last host First host Broadcast Network Subnet mask Host Full Last octet decimal Last octet binary
192.168.1.70/28 192.168.1.78 78 01001110 Last host 192.168.1.65 65 01000001 First host 192.168.1.79 79 01001111 Broadcast 192.168.1.64 64 01000000 Network 255.255.255.240 240 11110000 Subnet mask 192.168.1.70 70 01000110 Host Full Last octet decimal Last octet binary
Unicast, Multicast, Broadcast Unicast – a message addressed to one host Broadcast – a message addressed to all hosts on a network. Uses network’s broadcast address or 255.255.255.255 locally Multicast – a message addressed to a group of hosts. Uses an address starting 224 - 239
Private IP addresses Unrestricted use on private networks. Not routed across the Internet. 10.0.0.0 – 10.255.255.255 (10.0.0.0/8) 172.16.0.0 – 172.31.255.255 (172.16.0.0/20) 192.168.0.0 – 192.168.255.255 (192.168.0.0/24)
Public IP addresses Routed over the Internet Master holder is IANA Assigned to regional registries and then to ISPs ISPs allocate them to organisations and individual users Use is strictly controlled as duplicate addresses are not allowed
Special addresses 0.0.0.0 “all addresses” in default route. Hosts cannot be given addresses starting 0. 127.0.0.1 is loopback. Hosts cannot be given addresses starting 127. 240.0.0.0 and higher – reserved for experimental purposes. 169.254.0.0 - 169.254.255.255 local only 192.0.2.0 to 192.0.2.255 for teaching
Network address translation A large number of hosts on a network use private addresses to communicate with each other. The ISP allocates one or a few public addresses. NAT allows the hosts to share the public addresses when they want to use the Internet
Addressing hosts Static addressing – address is configured by an administrator Servers, printers, routers, switches need static addresses Dynamic addressing – address is allocated automatically by DHCP by leasing addresses from a pool Dynamic addressing is best for workstations
Blocks of addresses 192.168.1.255 Broadcast 192.168.1.254 Router 192.168.1.224/27 192.168.1.224 - 253 Network devices 192.168.1.192/27 192.168.1.192 - 223 Peripherals 192.168.1.128/26 192.168.1.128 - 191 Servers 192.168.1.1-127 User hosts 192.168.1.0/25 192.168.1.0 Network address Summary Address range Use
Subnetting 192.168.1.0/24 Last octet binary Borrow 1 bit from host part, give it to network part, /25 00000000 255.255.255.0 Subnet mask 00000000 192.168.1.0 Address 10000000 255.255.255.128 Subnet mask 00000000 10000000 192.168.1.0 192.168.1.128 Addresses
Subnetting 192.168.1.0/24 Borrow 2 bits from host part, give to network part, /26 11000000 255.255.255.192 Subnet mask 00000000 01000000 10000000 11000000 192.168.1.0 192.168.1.64 192.168.1.128 192.168.1.192 Addresses
Subnetting 192.168.1.0/24 Borrow 3 bits from host part, give to network part, /27 11100000 255.255.255.224 Subnet mask 00000000 00100000 01000000 01100000 10000000 10100000 11000000 11100000 192.168.1.0 192.168.1.32 192.168.1.64 192.168.1.96 192.168.1.128  192.168.1.160  192.168.1.192  192.168.1.224  Addresses
Subnetting 192.168.1.0/24 Borrow 4 bits from host part, give to network part, /28 And so on… 192.168.1.128 192.168.1.144 192.168.1.160 192.168.1.176  192.168.1.192 192.168.1.208 192.168.1.224 192.168.1.240 Subnet mask 255.255.255.240  11110000 10000000 10010000  10100000 10110000  11000000 11010000  11100000 11110000 00000000 00010000 00100000 00110000 01000000 01010000 01100000 01110000 192.168.1.0 192.168.1.16 192.168.1.32 192.168.1.48 192.168.1.64 192.168.1.80 192.168.1.96 192.168.1.112
Subnetting 192.168.1.0/24 Every time you borrow another bit you: Double the number of subnets Halve the size of the subnets Each subnet has a network address, a broadcast address, and everything in between is a host address. Here are some ways of visualising the process.
Subnetting 192.168.1.0/24 252 248 240 224 192 128 Subnet mask 2 6 14 30 62 126 No of hosts 4 8 16 32 64 128 Bit value/ network size /30 /29 /28 /27 /26 /25 Prefix 64 32 16 8 4 2 No of networks 6 5 4 3 2 1 Bits borrowed
Address space Make a spreadsheet or table with numbers 0 to 255 Link to show table
Subnet chart
Subnetting There are many subnet calculators, but you will not be able to use them in exams. Start with the biggest subnet and work down to the smallest. Make sure the subnets are valid sizes with valid subnet masks. Make sure that there are no overlaps.
Ping and traceroute Ping sends an ICMP message. If all is well, the destination replies. If not, a router may reply to say the destination is unreachable, or the ping may time out. Traceroute sends a series of messages so that each router along the path replies. You get a list of addresses of all the routers.
IPv6 Development started in 1990s because of concerns about IPv4 addresses running out A whole new protocol suite – not just layer 3 Uses  128-bit hierarchical addressing, written using hexadecimal Simpler header Integrated security – authentication, privacy Quality of service mechanisms
Subnetting - visual CCNA Exploration Semester 1 Chapter 6
Prefix /24 Three octets in network part, last octet in host part. All possible numbers 0 – 255 in last octet belong in the same network. Network address yellow Broadcast address blue Subnet mask 255.255.255.0
Prefix /25 First bit of fourth octet taken into network part. For every bit taken, double number of networks, halve their size. Network address yellow Broadcast address blue Subnet mask 255.255.255.128
Prefix /26 2 bits of fourth octet taken into network part. For every bit taken, double number of networks, halve their size. Network address yellow Broadcast address blue Subnet mask 255.255.255.192
Prefix /27 3 bits of fourth octet taken into network part. For every bit taken, double number of networks, halve their size. Network address yellow Broadcast address blue Subnet mask 255.255.255.224
Prefix /28 4 bits of fourth octet taken into network part. For every bit taken, double number of networks, halve their size. Network address yellow Broadcast address blue Subnet mask 255.255.255.240
Prefix /29 5 bits of fourth octet taken into network part. For every bit taken, double number of networks, halve their size. Network address yellow Broadcast address blue Subnet mask 255.255.255.248
Prefix /30 6 bits of fourth octet taken into network part. For every bit taken, double number of networks, halve their size. Network address yellow Broadcast address blue Subnet mask 255.255.255.252
Variable length Networks do not need to be all the same size. /27 /26 /25
Summary Hierarchical Design model addresses performance, scalability, maintainability & manageability issues. Traffic Analysis is used to monitor network performance. Hierarchical Design Model is composed of 3 layers: Access Distribution Core Switches selected for each layer must meet the needs of each hierarchical layer as well as the needs of the business.
Labs & Activities * If no previous Packet Tracer experience, else strongly recommended Mandatory* 1.2.4 PT Review carefully 1.3.3 Lab Mandatory 1.3.2 PT Mandatory 1.3.1 Lab Detail Type
 

More Related Content

PPTX
Subnetting
PPTX
Presentation on Bank Network Design
PPTX
Subnet calculation Tutorial
PPT
Introduction to SIP
PPT
Subnitting
PPTX
SIP - Introduction to SIP Protocol
PDF
Understanding Session Border Controllers
PPTX
IP Addressing and Subnetting
Subnetting
Presentation on Bank Network Design
Subnet calculation Tutorial
Introduction to SIP
Subnitting
SIP - Introduction to SIP Protocol
Understanding Session Border Controllers
IP Addressing and Subnetting

What's hot (20)

PPT
PPT
Error control, parity check, check sum, vrc
DOC
Basic command to configure mikrotik
PDF
Etude de cas de securite wifi vpn ssl camera ip video surveillance 2014
PPTX
Subnetting
DOCX
IP classes and subnetting.
PPT
PPT
Arp and rarp
PDF
Configure Mikrotik Khmer.pdf
PPT
Subnetting.ppt
PPTX
Tcp udp
PPT
Pengantar jaringan wireless
PDF
E4 pt act_7_5_1
PDF
Mesh Topology Design with Cisco Packet Tracer
PPTX
Session initiation-protocol
PDF
DDoS Attack Preparation and Mitigation
PPT
PPTX
Voip powerpoint
PDF
IP Addressing and Subnetting
PPTX
Error control, parity check, check sum, vrc
Basic command to configure mikrotik
Etude de cas de securite wifi vpn ssl camera ip video surveillance 2014
Subnetting
IP classes and subnetting.
Arp and rarp
Configure Mikrotik Khmer.pdf
Subnetting.ppt
Tcp udp
Pengantar jaringan wireless
E4 pt act_7_5_1
Mesh Topology Design with Cisco Packet Tracer
Session initiation-protocol
DDoS Attack Preparation and Mitigation
Voip powerpoint
IP Addressing and Subnetting
Ad

Similar to Mod6 (20)

PPT
Ipaddress presentationdemoclass
PPT
Chapter6
PPT
Expl net fund_chapter_06_i_pv4_part_2
PPT
Subnetting
PPT
How IP address works
PPT
ip addressing & routing
PPTX
5 configuring TCP/IP
PPTX
lecture 33333222234555555555555555556.pptx
PPT
Addressing
PPTX
lecture 6.pptx
PPTX
Ch7 IP addressing.pptx
PPT
453599812-Lecture24-25-Subnetting-ppt.ppt
PPT
453599812-Lecture24-25-Subnetting-ppt.ppt
PPTX
IP_ADDRESSING_AND_SUBNETTING.pptx
PPT
gofortution
PPTX
IPv4 Addressing
PDF
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
PPTX
ipv4subnettingstrategy-140207112043-phpapp02.pptx
PPTX
IP Addressing
PPT
Ipv4 address
Ipaddress presentationdemoclass
Chapter6
Expl net fund_chapter_06_i_pv4_part_2
Subnetting
How IP address works
ip addressing & routing
5 configuring TCP/IP
lecture 33333222234555555555555555556.pptx
Addressing
lecture 6.pptx
Ch7 IP addressing.pptx
453599812-Lecture24-25-Subnetting-ppt.ppt
453599812-Lecture24-25-Subnetting-ppt.ppt
IP_ADDRESSING_AND_SUBNETTING.pptx
gofortution
IPv4 Addressing
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
ipv4subnettingstrategy-140207112043-phpapp02.pptx
IP Addressing
Ipv4 address
Ad

More from Alam Garcia (10)

PPT
PPT
PPT
DOCX
Hazael 2
PDF
Subneting2
PPT
PPT
PPT
PPT
PPT

Recently uploaded (20)

PPTX
Tartificialntelligence_presentation.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Encapsulation theory and applications.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Getting Started with Data Integration: FME Form 101
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Empathic Computing: Creating Shared Understanding
Tartificialntelligence_presentation.pptx
A comparative study of natural language inference in Swahili using monolingua...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
cloud_computing_Infrastucture_as_cloud_p
Encapsulation theory and applications.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
A comparative analysis of optical character recognition models for extracting...
Getting Started with Data Integration: FME Form 101
Accuracy of neural networks in brain wave diagnosis of schizophrenia
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
Assigned Numbers - 2025 - Bluetooth® Document
Advanced methodologies resolving dimensionality complications for autism neur...
Network Security Unit 5.pdf for BCA BBA.
TLE Review Electricity (Electricity).pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Empathic Computing: Creating Shared Understanding

Mod6

  • 1. Addressing the network IPv4 CCNA Exploration Semester 1 – Chapter 6
  • 2. IP addressing – works at OSI model layer 3 TCP/IP model Internet layer Application Presentation Session Transport Network Data link Physical Application Transport Internet Network Access TCP, UDP IP Ethernet, WAN technologies HTTP, FTP, TFTP, SMTP etc Segment Packet Frame Bits Data stream
  • 3. Addressing topics Binary and decimal Types of IP addresses Assigning addresses Network part and subnet masks Calculating addresses Ping and Traceroute Utilities
  • 4. Binary and decimal Convert to 8-bit binary 248 187 89 Convert to decimal 00110100 01010101 11001111
  • 5. 248 to binary 0 0 0 1 1 1 1 1 1 2 4 8 16 32 64 128 248 -128 120 24 -16 8 56 -32 24 120 -64 56
  • 6. 187 to binary 1 1 0 1 1 1 0 1 1 2 4 8 16 32 64 128 187 -128 59 27 -16 11 11 -8 3 59 -32 27 3 -2 1
  • 7. 89 to binary 1 0 0 1 1 0 1 0 1 2 4 8 16 32 64 128 89 -64 25 25 -16 9 9 -8 1
  • 8. 00110100 to decimal 52 0 0 1 0 1 1 0 0 4 16 32 1 2 4 8 16 32 64 128 32 +16+ 4 52
  • 9. 01010101 to decimal 85 1 0 1 0 1 0 1 0 1 4 16 64 1 2 4 8 16 32 64 128 64 +16+ 4 + 1 85
  • 10. 11001111 to decimal 207 1 1 1 1 0 0 1 1 1 2 4 8 64 128 1 2 4 8 16 32 64 128 128 + 64 + 8 + 4 + 2 + 1 207
  • 11. Binary and decimal Convert to 8-bit binary 248 11111000 187 10111011 89 01011001 Convert to decimal 00110100 52 01010101 85 11001111 207
  • 12. IPv4 address Prefix /24 Subnet mask: 00010001 00010101 10101000 11000000 17 21. 168. 192. octet octet octet octet network part host part 00000000 11111111 11111111 11111111 0 255. 255. 255.
  • 13. Find the network address In a network address, all the host bits are 0. The router needs to do this for every packet. 00010001 00010101 10101000 11000000 17 21. 168. 192. 00000000 00010101 10101000 11000000 0 21. 168. 192.
  • 14. Logical AND Do a logical AND at each position 00010001 00010101 10101000 11000000 17 21. 168. 192. 00000000 11111111 11111111 11111111 0 255. 255. 255. 00000000 00010101 10101000 11000000 0 21. 168. 192.
  • 15. Find the broadcast address In a broadcast address, all the host bits are 1. The broadcast is the last address in the network. 00010001 00010101 10101000 11000000 17 21. 168. 192. 11111111 00010101 10101000 11000000 255 21. 168. 192.
  • 16. 3 types of address Every network has: Network address – the first one Broadcast address – the last one Host addresses – everything in between
  • 17. Classful addressing network part host part A network part host part B network part host part C 60 53. 17. 10. 201 38. 16. 172. 17 21. 168. 192.
  • 18. Classful addressing Easy to work out but very wasteful. Routers and hosts still assume class subnet masks by default Class A /8 255.0.0.0 Class B /16 255.255.0.0 Class C /24 255.255.255.0
  • 19. Classless addressing Any suitable prefix can be used We (and devices) need to know what the prefix is. More flexible, less wasteful.
  • 20. Classless addressing /16 172.16.0.0/16 mask 255.255.0.0 Broadcast address 172.16.255.255 Hosts 172.16.0.1 to 172.16.255.254 65534 host addresses 00000000 00000000 00010000 10101100 0 0. 16. 172.
  • 21. Classless addressing /24 172.16.0.0/24 mask 255.255.255.0 Broadcast address 172.16.0.255 Hosts 172.16.0.1 to 172.16.0.254 254 host addresses 00000000 00000000 00010000 10101100 0 0. 16. 172.
  • 22. Classless addressing /22 172.16.0.0/22 mask 255.255.252.0 Broadcast address 172.16.3.255 Hosts 172.16.0.1 to 172.16.3.254 1022 host addresses 00000000 00000000 00010000 10101100 0 0. 16. 172.
  • 23. Classless addressing /26 172.16.0.0/22 mask 255.255.255.192 Broadcast address 172.16.0.63 Hosts 172.16.0.1 to 172.16.0.62 62 host addresses 00000000 00000000 00010000 10101100 0 0. 16. 172.
  • 24. Classless addressing /28 172.16.0.0/28 mask 255.255.255.240 Broadcast address 172.16.0.15 Hosts 172.16.0.1 to 172.16.0.14 14 host addresses 00000000 00000000 00010000 10101100 0 0. 16. 172.
  • 25. Calculating addresses A host has IP address 192.168.1.70/24 What is the subnet mask? What is the network address? What is the broadcast address? What is the range of host addresses in the network?
  • 26. 192.168.1.70/24 – fill in the table Last host First host Broadcast Network Subnet mask Host Full Last octet decimal Last octet binary
  • 27. 192.168.1.70/24 192.168.1.254 254 11111110 Last host 192.168.1.1 1 00000001 First host 192.168.1.255 255 11111111 Broadcast 192.168.1.0 0 00000000 Network 255.255.255.0 0 00000000 Subnet mask 192.168.1.70 70 01000110 Host Full Last octet decimal Last octet binary
  • 28. Calculating addresses A host has IP address 192.168.1.70/26 What is the subnet mask? What is the network address? What is the broadcast address? What is the range of host addresses in the network?
  • 29. 192.168.1.70/26 fill in the table Last host First host Broadcast Network Subnet mask Host Full Last octet decimal Last octet binary
  • 30. 192.168.1.70/26 192.168.1.126 126 01111110 Last host 192.168.1.65 65 01000001 First host 192.168.1.127 127 01111111 Broadcast 192.168.1.64 64 01000000 Network 255.255.255.192 192 11000000 Subnet mask 192.168.1.70 70 01000110 Host Full Last octet decimal Last octet binary
  • 31. Calculating addresses A host has IP address 192.168.1.70/28 What is the subnet mask? What is the network address? What is the broadcast address? What is the range of host addresses in the network?
  • 32. 192.168.1.70/28 fill in the table Last host First host Broadcast Network Subnet mask Host Full Last octet decimal Last octet binary
  • 33. 192.168.1.70/28 192.168.1.78 78 01001110 Last host 192.168.1.65 65 01000001 First host 192.168.1.79 79 01001111 Broadcast 192.168.1.64 64 01000000 Network 255.255.255.240 240 11110000 Subnet mask 192.168.1.70 70 01000110 Host Full Last octet decimal Last octet binary
  • 34. Unicast, Multicast, Broadcast Unicast – a message addressed to one host Broadcast – a message addressed to all hosts on a network. Uses network’s broadcast address or 255.255.255.255 locally Multicast – a message addressed to a group of hosts. Uses an address starting 224 - 239
  • 35. Private IP addresses Unrestricted use on private networks. Not routed across the Internet. 10.0.0.0 – 10.255.255.255 (10.0.0.0/8) 172.16.0.0 – 172.31.255.255 (172.16.0.0/20) 192.168.0.0 – 192.168.255.255 (192.168.0.0/24)
  • 36. Public IP addresses Routed over the Internet Master holder is IANA Assigned to regional registries and then to ISPs ISPs allocate them to organisations and individual users Use is strictly controlled as duplicate addresses are not allowed
  • 37. Special addresses 0.0.0.0 “all addresses” in default route. Hosts cannot be given addresses starting 0. 127.0.0.1 is loopback. Hosts cannot be given addresses starting 127. 240.0.0.0 and higher – reserved for experimental purposes. 169.254.0.0 - 169.254.255.255 local only 192.0.2.0 to 192.0.2.255 for teaching
  • 38. Network address translation A large number of hosts on a network use private addresses to communicate with each other. The ISP allocates one or a few public addresses. NAT allows the hosts to share the public addresses when they want to use the Internet
  • 39. Addressing hosts Static addressing – address is configured by an administrator Servers, printers, routers, switches need static addresses Dynamic addressing – address is allocated automatically by DHCP by leasing addresses from a pool Dynamic addressing is best for workstations
  • 40. Blocks of addresses 192.168.1.255 Broadcast 192.168.1.254 Router 192.168.1.224/27 192.168.1.224 - 253 Network devices 192.168.1.192/27 192.168.1.192 - 223 Peripherals 192.168.1.128/26 192.168.1.128 - 191 Servers 192.168.1.1-127 User hosts 192.168.1.0/25 192.168.1.0 Network address Summary Address range Use
  • 41. Subnetting 192.168.1.0/24 Last octet binary Borrow 1 bit from host part, give it to network part, /25 00000000 255.255.255.0 Subnet mask 00000000 192.168.1.0 Address 10000000 255.255.255.128 Subnet mask 00000000 10000000 192.168.1.0 192.168.1.128 Addresses
  • 42. Subnetting 192.168.1.0/24 Borrow 2 bits from host part, give to network part, /26 11000000 255.255.255.192 Subnet mask 00000000 01000000 10000000 11000000 192.168.1.0 192.168.1.64 192.168.1.128 192.168.1.192 Addresses
  • 43. Subnetting 192.168.1.0/24 Borrow 3 bits from host part, give to network part, /27 11100000 255.255.255.224 Subnet mask 00000000 00100000 01000000 01100000 10000000 10100000 11000000 11100000 192.168.1.0 192.168.1.32 192.168.1.64 192.168.1.96 192.168.1.128 192.168.1.160 192.168.1.192 192.168.1.224 Addresses
  • 44. Subnetting 192.168.1.0/24 Borrow 4 bits from host part, give to network part, /28 And so on… 192.168.1.128 192.168.1.144 192.168.1.160 192.168.1.176 192.168.1.192 192.168.1.208 192.168.1.224 192.168.1.240 Subnet mask 255.255.255.240 11110000 10000000 10010000 10100000 10110000 11000000 11010000 11100000 11110000 00000000 00010000 00100000 00110000 01000000 01010000 01100000 01110000 192.168.1.0 192.168.1.16 192.168.1.32 192.168.1.48 192.168.1.64 192.168.1.80 192.168.1.96 192.168.1.112
  • 45. Subnetting 192.168.1.0/24 Every time you borrow another bit you: Double the number of subnets Halve the size of the subnets Each subnet has a network address, a broadcast address, and everything in between is a host address. Here are some ways of visualising the process.
  • 46. Subnetting 192.168.1.0/24 252 248 240 224 192 128 Subnet mask 2 6 14 30 62 126 No of hosts 4 8 16 32 64 128 Bit value/ network size /30 /29 /28 /27 /26 /25 Prefix 64 32 16 8 4 2 No of networks 6 5 4 3 2 1 Bits borrowed
  • 47. Address space Make a spreadsheet or table with numbers 0 to 255 Link to show table
  • 49. Subnetting There are many subnet calculators, but you will not be able to use them in exams. Start with the biggest subnet and work down to the smallest. Make sure the subnets are valid sizes with valid subnet masks. Make sure that there are no overlaps.
  • 50. Ping and traceroute Ping sends an ICMP message. If all is well, the destination replies. If not, a router may reply to say the destination is unreachable, or the ping may time out. Traceroute sends a series of messages so that each router along the path replies. You get a list of addresses of all the routers.
  • 51. IPv6 Development started in 1990s because of concerns about IPv4 addresses running out A whole new protocol suite – not just layer 3 Uses 128-bit hierarchical addressing, written using hexadecimal Simpler header Integrated security – authentication, privacy Quality of service mechanisms
  • 52. Subnetting - visual CCNA Exploration Semester 1 Chapter 6
  • 53. Prefix /24 Three octets in network part, last octet in host part. All possible numbers 0 – 255 in last octet belong in the same network. Network address yellow Broadcast address blue Subnet mask 255.255.255.0
  • 54. Prefix /25 First bit of fourth octet taken into network part. For every bit taken, double number of networks, halve their size. Network address yellow Broadcast address blue Subnet mask 255.255.255.128
  • 55. Prefix /26 2 bits of fourth octet taken into network part. For every bit taken, double number of networks, halve their size. Network address yellow Broadcast address blue Subnet mask 255.255.255.192
  • 56. Prefix /27 3 bits of fourth octet taken into network part. For every bit taken, double number of networks, halve their size. Network address yellow Broadcast address blue Subnet mask 255.255.255.224
  • 57. Prefix /28 4 bits of fourth octet taken into network part. For every bit taken, double number of networks, halve their size. Network address yellow Broadcast address blue Subnet mask 255.255.255.240
  • 58. Prefix /29 5 bits of fourth octet taken into network part. For every bit taken, double number of networks, halve their size. Network address yellow Broadcast address blue Subnet mask 255.255.255.248
  • 59. Prefix /30 6 bits of fourth octet taken into network part. For every bit taken, double number of networks, halve their size. Network address yellow Broadcast address blue Subnet mask 255.255.255.252
  • 60. Variable length Networks do not need to be all the same size. /27 /26 /25
  • 61. Summary Hierarchical Design model addresses performance, scalability, maintainability & manageability issues. Traffic Analysis is used to monitor network performance. Hierarchical Design Model is composed of 3 layers: Access Distribution Core Switches selected for each layer must meet the needs of each hierarchical layer as well as the needs of the business.
  • 62. Labs & Activities * If no previous Packet Tracer experience, else strongly recommended Mandatory* 1.2.4 PT Review carefully 1.3.3 Lab Mandatory 1.3.2 PT Mandatory 1.3.1 Lab Detail Type
  • 63.