Addressing the Network IPv4

Slides:



Advertisements
Similar presentations
Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts.
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv4 Introduction to Networks.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© N. Ganesan, All rights reserved. Chapter IP Addressing Format.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
思科网络技术学院理事会. 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Internet Layer.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
1 Version 3.0 Module 9 TCP/IP Protocol and IP Addressing.
Fundamentals of Networking Discovery 1, Chapter 5 Network Addressing.
Copyright 2003 CCNA 1 Chapter 7 TCP/IP Protocol Suite and IP Addressing By Your Name.
Chapter Overview TCP/IP Protocols IP Addressing.
1 Chapter Overview Subnet. What is a subnet When you break a network into a few smaller networks, you have created several subnets Like IP address where.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
Network Addressing Networking for Home & Small Business.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Addressing Networking for Home and Small Businesses – Chapter.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Addressing Networking for Home and Small Businesses – Chapter.
1 26-Aug-15 Addressing the network using IPv4 Lecture # 2 Engr. Orland G. Basas Prepared by: Engr. Orland G. Basas IT Lecturer.
1 26-Aug-15 S Ward Abingdon and Witney College CCNA Exploration Semester 1 Addressing the network IPv4 CCNA Exploration Semester 1 Chapter 6.
4: Addressing Working At A Small-to-Medium Business or ISP.
IP Addressing Basics LAB 8.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Chapter 8 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the structure of an IPv4 address.  Describe.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
© N. Ganesan, All rights reserved. Chapter IP Addressing Format.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
Network Addressing Networking for Home & Small Business.
Addressing IP v4 W.Lilakiatsakun. Anatomy of IPv4 (1) Dotted Decimal Address Network Address Host Address.
Cisco Discovery Semester 1 Chapter 5 JEOPADY Q&A by R. Prensky, Template by K. Martin.
Networking Fundamentals Network Protocols. Protocol Rule for how networks communicate Each OSI layer handled by one or more protocols Protocol Suites.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 9 TCP/IP Protocol Suite and IP Addressing.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
Chapter 5.  Upon completion of this chapter, you should be able to:  Configure IP addresses  Identify & select valid IP addresses for networks  Configure.
1 12-Jan-16 OSI network layer CCNA Exploration Semester 1 Chapter 5.
Chapter 8: IP Addressing
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the network IPv4 CCNA Exploration Semester 1 – Chapter 6.
Network Layer IP Address.
Networks Connecting Two Computers With UTP. Every machine on a network has a unique identifier. Just as you would address a letter to send in the mail,
LOGO Addressing the network IPv4 8-Jul-16Jaringan Komputer_D3 TT1.
1 28-Sep-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI network layer CCNA Exploration Semester 1 Chapter 5.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI network layer CCNA Exploration Semester 1 – Chapter 5.
LESSON Networking Fundamentals Understand IPv4.
Networking for Home and Small Businesses – Chapter 5
Ip addressing Jarkom Dasar – Week 7 Aisyatul Karima, 2012.
Addressing the Network – IPv4
Networking for Home and Small Businesses – Chapter 5
Networking for Home and Small Businesses – Chapter 5
Addressing the Network – IPv4
Computer Communication and Networking
PART IV Network Layer.
Ip addressing Chapter 5a 6-7 days including test.
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
NET302 Lecture#3 IPV4 Addressing Asma AlOsaimi.
Chapter 9 Objectives Understand TCP/IP Protocol.
Networking for Home and Small Businesses – Chapter 5
Introduction  Hector Macleod  CCNA student  Systems Integration Engineer  Subject - IP addressing.
Lecture#3 IPV4 Addressing Net 302- Asma AlOsaimi.
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
TCP/IP Protocol Suite and IP Addressing
Networking for Home and Small Businesses – Chapter 5
Lecture#3-IPV4 Addressing
Presentation transcript:

Addressing the Network IPv4 4/11/2017 Addressing the Network IPv4 CCNA Exploration Semester 1 Chapter 6 S Ward Abingdon and Witney College

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 M Rajab - 2008

Addressing topics Binary and decimal Types of IP addresses Assigning addresses Network part and subnet masks Calculating addresses Ping and Traceroute Utilities M Rajab - 2008

Binary and decimal Convert to 8-bit binary 248 187 89 Convert to decimal 00110100 01010101 11001111 M Rajab - 2008

248 to binary 128 64 32 16 8 4 2 1 248 -128 120 120 -64 56 56 -32 24 24 -16 8 M Rajab - 2008

187 to binary 128 64 32 16 8 4 2 1 187 -128 59 59 -32 27 27 -16 11 11 -8 3 3 -2 1 M Rajab - 2008

89 to binary 128 64 32 16 8 4 2 1 89 -64 25 25 -16 9 9 -8 1 M Rajab - 2008

00110100 to decimal 128 64 32 16 8 4 2 1 32 +16+ 4 52 52 M Rajab - 2008

01010101 to decimal 128 64 32 16 8 4 2 1 64 +16+ 4 + 1 85 85 M Rajab - 2008

11001111 to decimal 128 64 32 16 8 4 2 1 128 + 64 + 8 + 4 + 2 + 1 207 207 M Rajab - 2008

Binary and decimal Convert to 8-bit binary 248 11111000 187 10111011 248 11111000 187 10111011 89 01011001 Convert to decimal 00110100 52 01010101 85 11001111 207 M Rajab - 2008

IPv4 address Prefix /24 Subnet mask: 192. 168. 21. 17 11000000 10101000 00010101 00010001 octet network part host part Prefix /24 Subnet mask: 255. 11111111 00000000 M Rajab - 2008

Find the network address 192. 168. 21. 17 11000000 10101000 00010101 00010001 In a network address, all the host bits are 0. 192. 168. 21. 11000000 10101000 00010101 00000000 The router needs to do this for every packet. M Rajab - 2008

Logical AND Do a logical AND at each position 192. 168. 21. 17 11000000 10101000 00010101 00010001 255. 11111111 00000000 192. 168. 21. 11000000 10101000 00010101 00000000 Do a logical AND at each position M Rajab - 2008

Find the broadcast address 192. 168. 21. 17 11000000 10101000 00010101 00010001 In a broadcast address, all the host bits are 1. 192. 168. 21. 255 11000000 10101000 00010101 11111111 The broadcast is the last address in the network. M Rajab - 2008

3 types of address Every network has: Network address – the first one Broadcast address – the last one Host addresses – everything in between M Rajab - 2008

Classful addressing A B C 10. 17. 53. 60 172. 16. 38. 201 192. 168. network part host part B 172. 16. 38. 201 network part host part C 192. 168. 21. 17 network part host part M Rajab - 2008

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 M Rajab - 2008

Classless addressing Any suitable prefix can be used We (and devices) need to know what the prefix is. More flexible, less wasteful. M Rajab - 2008

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 172. 16. 0. 10101100 00010000 00000000 M Rajab - 2008

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 172. 16. 0. 10101100 00010000 00000000 M Rajab - 2008

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 172. 16. 0. 10101100 00010000 00000000 M Rajab - 2008

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 172. 16. 0. 10101100 00010000 00000000 M Rajab - 2008

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 172. 16. 0. 10101100 00010000 00000000 M Rajab - 2008

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? M Rajab - 2008

192.168.1.70/24 – fill in the table Last octet binary Last octet decimal Full Host Subnet mask Network Broadcast First host Last host M Rajab - 2008

192.168.1.70/24 Last octet binary Last octet decimal Full Host 01000110 70 192.168.1.70 Subnet mask 00000000 255.255.255.0 Network 192.168.1.0 Broadcast 11111111 255 192.168.1.255 First host 00000001 1 192.168.1.1 Last host 11111110 254 192.168.1.254 M Rajab - 2008

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? M Rajab - 2008

192.168.1.70/26 fill in the table Last octet binary Last octet decimal Full Host Subnet mask Network Broadcast First host Last host M Rajab - 2008

192.168.1.70/26 Last octet binary Last octet decimal Full Host 01000110 70 192.168.1.70 Subnet mask 11000000 192 255.255.255.192 Network 01000000 64 192.168.1.64 Broadcast 01111111 127 192.168.1.127 First host 01000001 65 192.168.1.65 Last host 01111110 126 192.168.1.126 M Rajab - 2008

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? M Rajab - 2008

192.168.1.70/28 fill in the table Last octet binary Last octet decimal Full Host Subnet mask Network Broadcast First host Last host M Rajab - 2008

192.168.1.70/28 Last octet binary Last octet decimal Full Host 01000110 70 192.168.1.70 Subnet mask 11110000 240 255.255.255.240 Network 01000000 64 192.168.1.64 Broadcast 01001111 79 192.168.1.79 First host 01000001 65 192.168.1.65 Last host 01001110 78 192.168.1.78 M Rajab - 2008

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 M Rajab - 2008

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) M Rajab - 2008

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 M Rajab - 2008

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 M Rajab - 2008

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 M Rajab - 2008

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 M Rajab - 2008

Blocks of addresses Use Address range Summary Network address 192.168.1.0 192.168.1.0/25 User hosts 192.168.1.1-127 Servers 192.168.1.128 - 191 192.168.1.128/26 Peripherals 192.168.1.192 - 223 192.168.1.192/27 Network devices 192.168.1.224 - 253 192.168.1.224/27 Router 192.168.1.254 Broadcast 192.168.1.255 M Rajab - 2008

Subnetting 192.168.1.0/24 Address 192.168.1.0 00000000 Subnet mask Last octet binary Address 192.168.1.0 00000000 Subnet mask 255.255.255.0 Borrow 1 bit from host part, give it to network part, /25 Addresses 192.168.1.0 192.168.1.128 00000000 10000000 Subnet mask 255.255.255.128 10000000 M Rajab - 2008

Subnetting 192.168.1.0/24 Addresses Borrow 2 bits from host part, give to network part, /26 Addresses 192.168.1.0 192.168.1.64 192.168.1.128 192.168.1.192 00000000 01000000 10000000 11000000 Subnet mask 255.255.255.192 11000000 M Rajab - 2008

Subnetting 192.168.1.0/24 Addresses Borrow 3 bits from host part, give to network part, /27 Addresses 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 00000000 00100000 01000000 01100000 10000000 10100000 11000000 11100000 Subnet mask 255.255.255.224 11100000 M Rajab - 2008

Subnetting 192.168.1.0/24 Borrow 4 bits from host part, give to network part, /28 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 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 00000000 00010000 00100000 00110000 01000000 01010000 01100000 01110000 10000000 10010000 10100000 10110000 11000000 11010000 11100000 11110000 Subnet mask 255.255.255.240 11110000 And so on… M Rajab - 2008

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. M Rajab - 2008

Subnetting 192.168.1.0/24 Bits borrowed 1 2 3 4 5 6 No of networks 8 32 64 Prefix /25 /26 /27 /28 /29 /30 Bit value/ network size 128 No of hosts 126 62 30 14 Subnet mask 192 224 240 248 252 M Rajab - 2008

Address space Make a spreadsheet or table with numbers 0 to 255 Link to show table M Rajab - 2008

Subnet chart M Rajab - 2008

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. M Rajab - 2008

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. M Rajab - 2008

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 M Rajab - 2008

The End