Computer Communication and Networking

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.
Addressing the Network IPv4
© 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.
1 Chapter Overview IP (v4) Address IPv6. 2 IPv4 Addresses Internet Protocol (IP) is the only network layer protocol with its own addressing system and.
Chapter Overview TCP/IP Protocols IP Addressing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
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.
© 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
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
© 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.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
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.
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.
Networking for Home and Small Businesses – Chapter 5
Instructor Materials Chapter 4: Network Addressing
Ip addressing Jarkom Dasar – Week 7 Aisyatul Karima, 2012.
Addressing the Network – IPv4
OSI Model IP address.
Networking for Home and Small Businesses – Chapter 5
Networking for Home and Small Businesses – Chapter 5
Addressing the Network – IPv4
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
NET302 Lecture#3 IPV4 Addressing Asma AlOsaimi.
The Open System Interconnection (OSI) Model & Network Protocols.
Chapter 9 Objectives Understand TCP/IP Protocol.
Networking for Home and Small Businesses – Chapter 5
Lecture#5 IPV6 Addressing
Introduction to TCP/IP
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
Computer Networks Protocols
OSI Network Layer Presented By Dr. Waleed Alseat Mutah University.
Lecture#3-IPV4 Addressing
Presentation transcript:

Computer Communication and Networking Abdul Wahab Yaqoob B.E(Telecom)MUET,CCNA,CCNP,MCSA,CCDA Department of Information Technology Campus Dadu ,University of Sindh a.wahabtlmuet@gmail.com Unit #01 Lecture#02 IPv4 Addressing

Computer Communication and Networking Title of Subject : Computer Communication and Networking Effective : 2K13 Batch Marks : 100(theory) + 50 (Practical) Credit Hours : 2+1 This Class will meet at: 9:00-11:00 AM on Thursday Recommended Books  ” Data Communications & Networking”, by Behroz Forouzan  ” Data and Computer Communications”, by William Stallings  ” Computer Networks, 4th Edition”, by Andrew S Tanenbaum Department of Information Technology Sindh U, Campus Dadu 2

Computer Communication and Networking IPv4 Addressing Binary and decimal Types of IP addresses Assigning addresses Network part and subnet masks Calculating addresses Ping and Traceroute Utilities Department of Information Technology Sindh U, Campus Dadu 3

Computer Communication and Networking 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 Department of Information Technology Sindh U, Campus Dadu 4

Computer Communication and Networking Binary and decimal Convert to 8-bit binary 248 187 89 Convert to decimal 00110100 01010101 11001111 Department of Information Technology Sindh U, Campus Dadu 5

Computer Communication and Networking Binary and decimal Convert to 8-bit binary 248 11111000 187 10111011 89 01011001 Convert to decimal 00110100 52 01010101 85 11001111 207 Department of Information Technology Sindh U, Campus Dadu 6

Computer Communication and Networking IPv4 Address Classes Department of Information Technology Sindh U, Campus Dadu 7

Computer Communication and Networking IPv4 Address Classes Class D Addresses A Class D address begins with binary 1110 in the first octet. First octet range 224 to 239. Class D address can be used to represent a group of hosts called a host group, or multicast group. Class E Addresses First octet of an IP address begins with 1111 Class E addresses are reserved for experimental purposes and should not be used for addressing hosts or multicast groups.  Department of Information Technology Sindh U, Campus Dadu 8

Computer Communication and Networking 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. Department of Information Technology Sindh U, Campus Dadu 9

Computer Communication and Networking Logical AND 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 Department of Information Technology Sindh U, Campus Dadu 10

Computer Communication and Networking 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. Department of Information Technology Sindh U, Campus Dadu 11

Computer Communication and Networking 3 types of address Every network has: Network address – the first one Broadcast address – the last one Host addresses – everything in between Department of Information Technology Sindh U, Campus Dadu 12

Computer Communication and Networking 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? Department of Information Technology Sindh U, Campus Dadu 13

Computer Communication and Networking 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? Department of Information Technology Sindh U, Campus Dadu 14

Computer Communication and Networking 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 Department of Information Technology Sindh U, Campus Dadu 15

Computer Communication and Networking 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) Department of Information Technology Sindh U, Campus Dadu 16

Computer Communication and Networking 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 Department of Information Technology Sindh U, Campus Dadu 17

Computer Communication and Networking 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 Department of Information Technology Sindh U, Campus Dadu 18

Computer Communication and Networking Network address translation NAT 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 Department of Information Technology Sindh U, Campus Dadu 19

Computer Communication and Networking 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 Department of Information Technology Sindh U, Campus Dadu 20

Computer Communication and Networking 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. Department of Information Technology Sindh U, Campus Dadu 21

Computer Communication and Networking IP v4 Address Allocation History 1981: IPv4 Protocol was published. 1985: 6% of IPv4 address space in use. 2001: 66% of IPv4 address space in use. 2010: 96% of IPv4 address space in use. NEED OF IPv6 Department of Information Technology Sindh U, Campus Dadu 22

Computer Communication and Networking 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 Department of Information Technology Sindh U, Campus Dadu 23

Computer Communication and Networking Larger Address Space IPv4 32 bits or 4 bytes long 4,200,000,000 possible addressable nodes IPv6 128 bits or 16 bytes: four times the bits of IPv4 3.4 * 1038 possible addressable nodes 340,282,366,920,938,463,374,607,432,768,211,456 5 * 1028 addresses per person 50,000,000,000,000,000,000,000,000,000 Department of Information Technology Sindh U, Campus Dadu 24

Computer Communication and Networking IPv6 Advantage Larger address space (2^128 Address) Elimination of NAT Elimination of broadcast addresses Simplified header for improved router efficiency Support for mobility and security Transition richness Department of Information Technology Sindh U, Campus Dadu 25