Internet Addresses (You should read Chapter 4 in Forouzan)

Size: px
Start display at page:

Download "Internet Addresses (You should read Chapter 4 in Forouzan)"

Transcription

1 Internet Addresses (You should read Chapter 4 in Forouzan) IP Address is 32 Bits Long Conceptually the address is the pair (NETID, HOSTID) Addresses are assigned by the internet company for assignment of names and numbers ICANN ICANN: Country Code Names Supporting Organization (ccnso) Generic Name Supporting Organization (GNSO) Address Supporting Organization (ASO) Regional Internet Registries American Registry for Internet Numbers (ARIN) Reference IP Fundamentals Chapter 1 and 2 by Maufer 1

2 Formats for IP addresses: (classful addressing) Class A 0 Network (7 bits) Host (24 bits) Class B 10 Network (14 bits) Host (16 bits) Class C 110 Network (21 bits) Host (8 bits) Class D 1110 Multicast address (28 bits) ( There is a class E reserved for future use) Historically a class A address was assigned to networks with > 2 16 (65, 536) hosts Class B to networks with 2 8 (256) to 2 16 hosts Class C to networks with < 2 8 hosts 2

3 Internet Addresses Cont. For Humans easier to deal with decimal so dotted decimal notation is used. Group 8 bits.8 bits.8 bits.8 bits and use decimal numbers Example => Class Lowest Address Highest Address A B C D Some addresses are reserved Example /8 is reserved for loop back *see next slide for complete list 3

4

5 Scaling Issues: 1. Eventual exhaustion of the IPV4 address space. 2. Ability to route traffic between ever increasing number of networks that comprise the internet. IP version 4 uses 32 bit address 2 32 and 6.7 billion live on earth at present 4.3 billion addresses Classless inter-domain routing (CIDR) discussed later slowed down address exhaustion. 4

6 IP addresses cont. Class A all 0 s network number is used to represent the default route ( ) this is a routing table entry which means any destination not matching any other table entry should be sent to the default route. (more later) Class A all 1 s network number is loopback usually means This same machine all 127.anything.anything.anything is loopback. There are a total of = 126 class A networks. There are = 16, 382 class B networks (again all 0 s & all 1 s network addresses reserved) There are = 2,097,150 class C networks. There are 2 28 = 268, 435, 456 class D multicast addresses. 5

7 Classful addressing allows using only the first 1,2,3 or 4 bits to determine the class. (I.E. if MSB = 0 => class A Notation: Class A has 8 bit network prefix this is called a slash 8 s /8 can write as 127/8 or /8 / 8 prefixes ( class A) / 8 address block has 2 31 out of 2 32 total IP addresses => / 8 takes up 50% total IPV4 addresses / 16 prefixes ( class B) 2 30 total addresses => 25% total IPV4 addresses / 24 prefixes ( class C ) 2 29 out of 2 32 => 12.5% total IPV4 addresses Class D with 1110 most significant bits used for multicast Class E with 1111 most significant bits and are reserved for experimental use 6

8 In the Beginning - IP addresses assigned based on request, not need - 32 bit address was thought to be plenty - classful addresses easy to understand and implement but not efficient / 24 supports 254 hosts too small / 16 supports 65,534 too large 7

9 IP Routing For a host IP routing is simple: If destination is directly connected to host then IP datagram is sent directly to the destination. otherwise host sends datagram to a default router The IP layer can be configured to act as a router in addition to acting as a host A host never forwards datagrams from one of its interfaces to another, while a router forwards datagrams IP Layer has a routing table in memory that it searches each time it receives a a datagram to send Each entry in routing table contains: - Destination IP address - IP address of a next hop router or IP address of a directly connected network - Flags (specify if network or host address) - Specification of which network interface the datagram should go to for transmission 8

10 IP Routing Performs The Following Actions: 1. Search routing table for entry that matches complete destination IP address 2. Search table for match of destination network IP. This check must take into account a possible Subnet Mask ( Defined Later ). 3. Search for default entry. 4. If none of the above discard and send host unreachable or network unreachable error back. Note: Hop by hop nature of this process. 9

11 Classical Subnetting Reference IP Fundamentals Chapter 3 Before : Network - Prefix Host - Number After : Network - Prefix Subnet - Number Host - Number Extended-Network-Prefix Subnetting attacks the expanded routing table problem by making the subnet structure of a network invisible outside the organization s private network. External Internet Does Not Need To Know Internal Subnet Structure 10

12 Example : / 16 Internet R A Subnet 1 R C Subnet 3 Subnet 4 R B Subnet 2 R D Subnet 5 Internet sees R A R B I need 5 subnets so I use 3 bits in the subnet - number field 11

13 This means I have Subnet Number Binary representation of least-significant two bytes Available host addresses within each subnet > > > > > > > > Need a method to know how many bits are used for subnet-number => subnet mask In this example the subnet mask is

14 Subnet Mask At boot time a machine gets its own IP address ( stored on disk for example ) Host also needs to be told how many bits are to be used for subnet ID and how many for host ID. This is the subnet mask. Subnet mask is 32 bit value containing one bits for the network ID and subnet ID, zero valued bits for host ID. Two examples for class B addresses: Class B 16 bits 8 bits 8 bits Net ID Subnet ID Host ID Subnet mask = 0Xff ff ff 00 This is a /24 extended network prefix = (Subnet masks are only occasionally written in Hexadecimal) Class B 16 bits 10 bits 6 bits Net ID Subnet ID Host ID Subnet mask = 0Xff ff ff C0 This is a /26 extended network prefix =

15 When a host is given its own IP address and its subnetwork mask it can then figure out: Am I class A, B, or C address? ( Look at higher order bits ) Where is the boundary between the network ID and the subnet ID? ( Defined by class definition ) Where is the boundary between the subnet ID and the host ID? ( Host ID is 0 s in mask ) 14

16 Subnet Addressing Hosts are required to consider the Host ID Portion of an IP address as a Subnet ID Part and a Host ID Part. Class A and class B addresses have too many bits allocated for the host ID and respectively (-2 address because all 0 s all 1 s for a host ID not allowed ) Example: Class B 16 Bits 8 Bits 8 Bits Net ID = Subnet ID Host ID => 256 subnets with 254 hosts per subnet (Assuming can use all 1 s and all 0 s subnet) Subnet hides the details of an internal network from external routers so that the external Router table is smaller To reach any host whose ID address begins with external routers only need to know the path to the Gateway router for the entire subnetwork. 15

17 Gateway etc * Aside: A host address has a non zero ID and ID s one host, a network address has a host ID of Zero and ID s all hosts on that network. If we used multiple class C addresses external routing tables need at most one entry for each of the multiple class C addresses. Subnetting reduces the size of routing tables. 16

18 Example: For a class B host address of and a subnet mask of Note we have 8 bits for subnet and 8 bits for host ID If a destination IP address is bits 8 bits 8 bits Class B Subnet mask = Network Subnet Class B The network ID s are the same ( ) the subnetwork ID s are different ( 1 and 4 ) 17

19 Cont If the destination IP address is the network ID s are the same ( ) the subnet ID s are the same (1) the host ID s are different. If the destination IP address is ( This is a class C address ) The network ID s are different IP routing function makes comparisons like this all the time [ REF: TCP/IP Illustrated vol 1, Stevens CH 3] 18

20 Subnet addressing Plan 1. How many total subnets does the organization need today? 2. How many total subnets will the organization need in the future? 3. How many hosts on largest subnet today? 4 How many hosts on largest subnet in future? Example Problem: An organization has been assigned the network number /24 and it needs to define six subnets. The largest subnet is required to support 25 hosts. Answer: 6 subnets => 2 3 = 8 3 bits Use a /27 extended - network - prefix => This leaves 5 bits to define host addresses on each subnet since all 0 s and all 1 s host addresses are reserved there are = 30 assignable host addresses 19

21 Cont This is >= 25 specified so ok Base Net = /24 Subnet # = /27 # = /27 # = /27 # =.96/27 # =.128/27 # =.160/27 # =.192/27 # =.224/27 Note: All multiples of subnet #1 (the 32) 20

22 All 0 s and all 1 s subnets Initially all 0 s and all 1 s subnets were forbidden. This was true to eliminate the following confusion: ( in a classful router ) When is an advertised route we do not know for example if we are advertising / bits / or 27 bits Which is a subnet with 000 in the Extended-Network-Prefix - Without knowing the Prefix - Length or mask, a router cannot tell the difference in these two cases. ( Is it a route to an all 0 s subnet or is it a route to entire network? ) - Early routing protocols like RIP-1 do not supply a mask or Prefix - Length with each route - Now days, with the development of routing protocols that do carry this info you can use all 0 s and all 1 s subnet 21

23 All 0 s And All 1 s Host Addresses All 0 s host number is used to identify the base network ( or subnetwork ) All 1 s host number represents broadcast address for the network ( or subnetwork ) Example Possible Host Addresses For A Subnet Given subnet # = /27 Host # = Host # = Broadcast For This Subnet is = Aside: One can deploy network numbers from the private address space ( see RFC ) for internal connectivity and use a network address translator ( NAT ) to provide external internet access 22

IP Addresses McGraw-Hill The McGraw-Hill Companies, Inc., 2000

IP Addresses McGraw-Hill The McGraw-Hill Companies, Inc., 2000 IP Addresses The IP addresses are unique. An IPv4 address is a 32-bit address. An IPv6 address is a 128-bit address. The address space of IPv4 is 2 32 or 4,294,967,296. The address space of IPv6 is 2 128

More information

The identifier used in the IP layer of the TCP/IP protocol suite to identify each device connected to the Internet is called the Internet address or

The identifier used in the IP layer of the TCP/IP protocol suite to identify each device connected to the Internet is called the Internet address or CBCN4103 The identifier used in the IP layer of the TCP/IP protocol suite to identify each device connected to the Internet is called the Internet address or IP address. An IP address is a 32-bit address

More information

Chapter 18 and 22. IPv4 Address. Data Communications and Networking

Chapter 18 and 22. IPv4 Address. Data Communications and Networking University of Human Development College of Science and Technology Department of Information Technology Chapter 18 and 22 Data Communications and Networking IPv4 Address 1 Lecture Outline IPv4 Addressing

More information

IP Addressing and Subnetting

IP Addressing and Subnetting IP Addressing and Subnetting Internet Layer The purpose of the Internet layer is to send packets from a network node and have them arrive at the destination node independent of the path taken. Internet

More information

Network Layer/IP Protocols

Network Layer/IP Protocols Network Layer/IP Protocols 1 Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2 IPv4 packet header 3 IPv4 Datagram Header Format version of the IP protocol (4 BIts) IP header

More information

Chapter 06 IP Address

Chapter 06 IP Address Chapter 06 IP Address IP Address Internet address Identifier used at IP layer 32 bit binary address The address space of IPv4 is 2 32 or 4,294,967,296 Consists of netid and hosted IP Address Structure

More information

Networking and IP Addressing TELECOMMUNICATIONS AND NETWORKING

Networking and IP Addressing TELECOMMUNICATIONS AND NETWORKING Networking and IP Addressing TELECOMMUNICATIONS AND NETWORKING Addressing Schemes FLAT 1.Used by Intranetworks 2.Used by Layer 2 3.Used in MAC address 4.Is assigned statically based on next available number

More information

FIGURE 3. Two-Level Internet Address Structure. FIGURE 4. Principle Classful IP Address Formats

FIGURE 3. Two-Level Internet Address Structure. FIGURE 4. Principle Classful IP Address Formats Classful IP Addressing When IP was first standardized in September 1981, the specification required that each system attached to an IP-based Internet be assigned a unique, 32-bit Internet address value.

More information

Full file at

Full file at ch02 True/False Indicate whether the statement is true or false. 1. IP addresses have links to domain names to make it possible for users to identify and access resources on a network. 2. As a frame moves

More information

Lecture 8 Network Layer: Logical addressing

Lecture 8 Network Layer: Logical addressing Data Communications ACOE412 Lecture 8 Network Layer: Logical addressing Spring 2009 1 0. Overview In this lecture we will cover the following topics: 14.Network Layer: Logical addressing 14.1 IPv4 Addresses

More information

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4 CCNA Exploration Network Fundamentals Chapter 06 Addressing the Network IPv4 Updated: 20/05/2008 1 6.0.1 Introduction Addressing is a key function of Network layer protocols that enables data communication

More information

OSI Data Link & Network Layer

OSI Data Link & Network Layer OSI Data Link & Network Layer Erkki Kukk 1 Layers with TCP/IP and OSI Model Compare OSI and TCP/IP model 2 Layers with TCP/IP and OSI Model Explain protocol data units (PDU) and encapsulation 3 Addressing

More information

TSIN02 - Internetworking

TSIN02 - Internetworking Lecture 2: The Internet Protocol Literature: Forouzan: ch 4-9 and ch 27 2004 Image Coding Group, Linköpings Universitet Outline About the network layer Tasks Addressing Routing Protocols 2 Tasks of the

More information

OSI Data Link & Network Layer

OSI Data Link & Network Layer OSI Data Link & Network Layer Erkki Kukk 1 Layers with TCP/IP and OSI Model Compare OSI and TCP/IP model 2 Layers with TCP/IP and OSI Model Explain protocol data units (PDU) and encapsulation 3 Addressing

More information

Computer Networks and Data Systems

Computer Networks and Data Systems Computer Networks and Data Systems Network Addressing TDC463 Fall 2017 John Kristoff - DePaul University 1 Why have addresses at layer 3? Aren't there already globally unique addresses at L2? If not, should

More information

Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0

Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0 Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0 CCNET v6 13 Chapter 7 - Sections & Objectives 7.1 IPv4 Network Addresses Convert between binary and decimal numbering

More information

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6 RMIT University Data Communication and Net-Centric Computing COSC 1111/2061 Internetworking IPv4, IPv6 Technology Slide 1 Lecture Overview During this lecture, we will understand The principles of Internetworking

More information

Guide to TCP/IP Fourth Edition. Chapter 2: IP Addressing and Related Topics

Guide to TCP/IP Fourth Edition. Chapter 2: IP Addressing and Related Topics Guide to TCP/IP Fourth Edition Chapter 2: IP Addressing and Related Topics Objectives Describe IP addressing, anatomy and structures, and addresses from a computer s point of view Recognize and describe

More information

Chapter 6 Addressing the Network- IPv4

Chapter 6 Addressing the Network- IPv4 Chapter 6 Addressing the Network- IPv4 Objectives Explain the structure IP addressing and demonstrate the ability to convert between 8- bit binary and decimal numbers. Given an IPv4 address, classify by

More information

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly The Internet Protocol IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly IP Addresses IP Addresses are 32 bit. Written in dotted decimal format:

More information

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

McGraw-Hill The McGraw-Hill Companies, Inc., 2000 !! McGraw-Hill The McGraw-Hill Companies, Inc., 2000 "#$% & '$# )1 ) ) )6 ) )* )- ). )0 )1! )11 )1 )1 )16 )1 3'' 4", ( ( $ ( $ $$+, $$, /+ & 23,4 )/+ &4 $ 53" Network Layer Position of network layer Figure

More information

OSI Data Link & Network Layer

OSI Data Link & Network Layer OSI Data Link & Network Layer Erkki Kukk 1 Layers with TCP/IP and OSI Model Compare OSI and TCP/IP model 2 Layers with TCP/IP and OSI Model Explain protocol data units (PDU) and encapsulation 3 Addressing

More information

IP Addressing - Subnetting

IP Addressing - Subnetting IP Addressing - Subnetting The Two Parts of an IP Address 32 Bits Prefix Host Prefix Length IP Address Classes Classes are now considered obsolete But you have to learn them because Everyone in the industry

More information

Network+ Guide to Networks

Network+ Guide to Networks Yarmouk University Providing Fundamental ICT Skills for Syrian Refugees (PFISR) Network+ Guide to Networks Dr. Mohammad A. Al-Jarrah jarrah@yu.edu.jo In-Depth TCP/IP Networking Understand methods of network

More information

NETWORK LAYER: IP Addressing

NETWORK LAYER: IP Addressing NETWORK LAYER: IP Addressing McGraw-Hill The McGraw-Hill Companies, Inc., 2004 2000 Position of network layer McGraw-Hill The McGraw-Hill Companies, Inc., 2004 Network layer duties McGraw-Hill The McGraw-Hill

More information

IP: Addressing, ARP, Routing

IP: Addressing, ARP, Routing IP: Addressing, ARP, Routing Network Protocols and Standards Autumn 2004-2005 Oct 21, 2004 CS573: Network Protocols and Standards 1 IPv4 IP Datagram Format IPv4 Addressing ARP and RARP IP Routing Basics

More information

Chapter 18. Introduction to Network Layer

Chapter 18. Introduction to Network Layer Chapter 18. Introduction to Network Layer 18.1 Network Layer Services 18.2 Packet Switching 18.3 Network Layer Performance 18.4 IPv4 Addresses 18.5 Forwarding of IP Packets Computer Networks 18-1 Communication

More information

TDC 563 Protocols and Techniques for Data Networks

TDC 563 Protocols and Techniques for Data Networks TDC 563 Protocols and Techniques for Data Networks Network Addressing TDC563 Autumn 2015/16 John Kristoff - DePaul University 1 Why have addresses at layer 3? Aren't there already globally unique addresses

More information

IP Addressing Week 6. Module : Computer Networks Lecturer: Lucy White Office : 324

IP Addressing Week 6. Module : Computer Networks Lecturer: Lucy White Office : 324 IP Addressing Week 6 Module : Computer Networks Lecturer: Lucy White lbwhite@wit.ie Office : 324 1 Addressing: Network & Host Network address help to identify route through the network cloud Network address

More information

IP addresses and Subnetting

IP addresses and Subnetting Page 1 of 14 Safepipe Centre > Self-test courses > IP addresses and Subnetting IP addresses and Subnetting IP addresses & subnetting - an overview IP addresses What is an IP address? Classes of IP addresses

More information

5.7 K E Y TE R M S 5.8 SUM M A R Y

5.7 K E Y TE R M S 5.8 SUM M A R Y C H A P T E R 5 I P V 4 A D D RE SSE S 153 5.7 K E Y TE R M S address aggregation address space binary notation block of addresses class A address class B address class C address class D address class

More information

Chapter Motivation For Internetworking

Chapter Motivation For Internetworking Chapter 17-20 Internetworking Part 1 (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution 1 Motivation For Internetworking LANs Low cost Limited distance WANs High cost Unlimited distance

More information

Subnetting. This Hour. Subnetting. Hour 5

Subnetting. This Hour. Subnetting. Hour 5 Subnetting Hour 5 This Hour Explain how subnets are used Explain the benefits of subnetting Develop a subnet mask that meets business needs Classless Internet Domain Routing / Supernetting Subnetting Subnet

More information

Communication at the network layer is host-to-host Length of address. Total number of addresses used by the protocol. IPv4 & IPv6

Communication at the network layer is host-to-host Length of address. Total number of addresses used by the protocol. IPv4 & IPv6 Communication at the network layer is host-to-host Length of address Space adresses (2 length ) Total number of addresses used by the protocol IPv4 & IPv6 IPv4 ADDRESSES Defines the connection of a device

More information

1 Connectionless Routing

1 Connectionless Routing UCSD DEPARTMENT OF COMPUTER SCIENCE CS123a Computer Networking, IP Addressing and Neighbor Routing In these we quickly give an overview of IP addressing and Neighbor Routing. Routing consists of: IP addressing

More information

CCE1030 Computer Networking

CCE1030 Computer Networking CCE1030 Computer Networking Lecture 19 Subnetting CIDR / VLSM Usama Arusi January 2018 CCE1030 Usama Arusi 1 Lecture Content Introduction Classful IP Addressing Classful Addressing Structure Classless

More information

Internet Network Protocols IPv4/ IPv6

Internet Network Protocols IPv4/ IPv6 Internet Network Protocols IPv4/ IPv6 Prof. Anja Feldmann, Ph.D. anja@inet.tu-berlin.de TCP/IP Illustrated, Volume 1, W. Richard Stevens http://www.kohala.com/start 1 IP Interfaces IP address: identifier

More information

Computer Networks Lecture -5- IPv4 Addresses. Dr. Abbas Abdulazeez

Computer Networks Lecture -5- IPv4 Addresses. Dr. Abbas Abdulazeez Computer Networks Lecture -5- IPv4 Addresses Dr. Abbas Abdulazeez McGraw-Hill The McGraw-Hill Companies, Inc., 2000 OBJECTIVES: To introduce the concept of an address space in general and the address space

More information

This talk will cover the basics of IP addressing and subnetting. Topics covered will include:

This talk will cover the basics of IP addressing and subnetting. Topics covered will include: This talk will cover the basics of IP addressing and subnetting. Topics covered will include: What is an IP Address? What are Classes? What is a Network Address? What are Subnet Masks and Subnet Addresses?

More information

Network Layer: Logical Addressing

Network Layer: Logical Addressing CHAPTER 19 Network Layer: Logical Addressing Solutions to Review Questions and Exercises Review Questions 1. An IPv4 address is 32 bits long. An IPv6 address is 128 bits long. 2. IPv4 addresses are usually

More information

IP - The Internet Protocol

IP - The Internet Protocol IP - The Internet Protocol 1 Orientation IP s current version is Version 4 (IPv4). It is specified in RFC 891. TCP UDP Transport Layer ICMP IP IGMP Network Layer ARP Network Access Link Layer Media 2 IP:

More information

Unit C - Network Addressing Objectives Purpose of an IP Address and Subnet Mask Purpose of an IP Address and Subnet Mask

Unit C - Network Addressing Objectives Purpose of an IP Address and Subnet Mask Purpose of an IP Address and Subnet Mask 1 2 3 4 5 6 7 8 9 10 Unit C - Network Addressing Objectives Describe the purpose of an IP address and Subnet Mask and how they are used on the Internet. Describe the types of IP Addresses available. Describe

More information

Vorlesung Kommunikationsnetze

Vorlesung Kommunikationsnetze Picture 15 13 Vorlesung Kommunikationsnetze Prof. Dr. H. P. Großmann mit B. Wiegel sowie A. Schmeiser und M. Rabel Sommersemester 2009 Institut für Organisation und Management von Informationssystemen

More information

Network Technology 1 4th - Subnet.! Mario Lombardo -

Network Technology 1 4th - Subnet.! Mario Lombardo - Network Technology 1 4th - Subnet Mario Lombardo - lombardo@informatik.dhbw-stuttgart.de 1 logical networks An IP address is divided into: - network address part - host address part - both parts together

More information

Lab 8 (IP Addressing)

Lab 8 (IP Addressing) Islamic University of Gaza Faculty of engineering Computer Department. Computer Network Lab ECOM 4121 Prepared by : Eng. Eman Al- Kurdi Lab 8 (IP Addressing) Introduction: Each device on a network must

More information

Network Layer: Logical Addressing

Network Layer: Logical Addressing Network Layer: Logical Addressing Introduction The network layer is responsible for the delivery of individual packets from source to the destination host Logical Addressing A universal addressing system

More information

Objectives. Note: An IP address is a 32-bit address. The IP addresses are unique. The address space of IPv4 is 2 32 or 4,294,967,296.

Objectives. Note: An IP address is a 32-bit address. The IP addresses are unique. The address space of IPv4 is 2 32 or 4,294,967,296. Chapter 4 Objectives Upon completion you will be able to: Understand IPv4 addresses and classes Identify the class of an IP address Find the network address given an IP address Understand masks and how

More information

IP Addresses. IP Addresses

IP Addresses. IP Addresses IP Addresses Introductory material. IP Addressing Structure of an IP address Classful IP addresses Limitations and problems with classful IP addresses ting CIDR IP Version 6 addresses An entire module

More information

Configuring IPv4 Addresses

Configuring IPv4 Addresses This chapter contains information about, and instructions for configuring IPv4 addresses on interfaces that are part of a networking device. Note All further references to IPv4 addresses in this document

More information

Computer Networks and Data Systems

Computer Networks and Data Systems Computer Networks and Data Systems Internet Protocol (IP) Addressing TDC463 Winter 2011/12 John Kristoff - DePaul University 1 Why have addresses at layer 3? Aren't there already globally unique addresses

More information

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst EITF25 Internet Techniques and Applications L7: Internet Stefan Höst What is Internet? Internet consists of a number of networks that exchange data according to traffic agreements. All networks in Internet

More information

Lecture 10: Addressing

Lecture 10: Addressing Lecture 10: Addressing CSE 123: Computer Networks Alex C. Snoeren HW 2 due WEDNESDAY Lecture 10 Overview ICMP The other network-layer protocol IP Addresses Class-based addressing Subnetting Classless addressing

More information

Addressing the Network IPv4

Addressing the Network IPv4 Addressing the Network IPv4 Network Fundamentals Chapter 6 1 IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts 2 IP Addressing Structure Describe

More information

CS 43: Computer Networks. 21: The Network Layer & IP November 7, 2018

CS 43: Computer Networks. 21: The Network Layer & IP November 7, 2018 CS 43: Computer Networks 21: The Network Layer & IP November 7, 2018 The Network Layer! Application: the application (e.g., the Web, Email) Transport: end-to-end connections, reliability Network: routing

More information

5. Classless and Subnet Address Extensions 최양희서울대학교컴퓨터공학부

5. Classless and Subnet Address Extensions 최양희서울대학교컴퓨터공학부 5. Classless and Subnet Address Extensions 최양희서울대학교컴퓨터공학부 1 Introduction In the original IP addressing scheme, each physical network is assigned a unique network address Individual sites can have the freedom

More information

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ... 1 Inter-networking COS 460 & 540 2 Problem 3 LAN s are great but We want to connect them together...across the world Inter-networking 4 Internet Protocol (IP) Routing The Internet Multicast* Multi-protocol

More information

5. Providing a narrower address space is the primary design goal for IPv6.

5. Providing a narrower address space is the primary design goal for IPv6. Chapter 2: IP Addressing and Related Topics TRUE/FALSE 1. IP addresses can be represented as domain names to make it possible for users to identify and access resources on a network. T PTS: 1 REF: 59 2.

More information

Subnet Design and IP Addressing

Subnet Design and IP Addressing Subnet Design and IP Addressing Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th http://www.cpe.ku.ac.th/~cpj Computer Engineering Department Kasetsart University, Bangkok, Thailand Adapted from

More information

Linux System Administration

Linux System Administration IP Addressing Subnetting Objective At the conclusion of this module, the student will be able to: Describe how packets are routed from one network to another Describe the parts and classes of IPv4 address

More information

Binary Octet to Decimal Format Conversion

Binary Octet to Decimal Format Conversion IP Address An IP (Internet Protocol) address is a unique address that different computers on a computer network use to identify and communicate with one another. An IP address is used as an identifier

More information

CS 356: Computer Network Architectures. Lecture 15: DHCP, NAT, and IPv6. [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3

CS 356: Computer Network Architectures. Lecture 15: DHCP, NAT, and IPv6. [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3 CS 356: Computer Network Architectures Lecture 15: DHCP, NAT, and IPv6 [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3 Xiaowei Yang xwy@cs.duke.edu Dynamic Host Configuration Protocol (DHCP) Dynamic Assignment

More information

CS118 Discussion, Week 6. Taqi

CS118 Discussion, Week 6. Taqi CS118 Discussion, Week 6 Taqi 1 Outline Network Layer IP NAT DHCP Project 2 spec 2 Network layer: overview Basic functions for network layer Routing Forwarding Connection v.s. connection-less delivery

More information

TCP /IP Fundamentals Mr. Cantu

TCP /IP Fundamentals Mr. Cantu TCP /IP Fundamentals Mr. Cantu OSI Model and TCP/IP Model Comparison TCP / IP Protocols (Application Layer) The TCP/IP subprotocols listed in this layer are services that support a number of network functions:

More information

Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)

Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways) Exercise Sheet 4 Exercise 1 (Routers, Layer-3-Switches, Gateways) 1. What is the purpose of Routers in computer networks? (Also explain the difference to Layer-3-Switches.) 2. What is the purpose of Layer-3-Switches

More information

TCP/IP and the OSI Model

TCP/IP and the OSI Model TCP/IP BASICS TCP/IP and the OSI Model TCP/IP BASICS The network protocol of the Internet Composed of six main protocols IP Internet Protocol UDP User Datagram Protocol TCP Transmission Control Protocol

More information

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing Network layer: Overview Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing 1 Network Layer Functions Transport packet from sending to receiving hosts Network layer protocols in every

More information

Network layer: Overview. Network Layer Functions

Network layer: Overview. Network Layer Functions Network layer: Overview Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing 1 Network Layer Functions Transport packet from sending to receiving hosts Network layer protocols in every

More information

6 Chapter 6. Figure 1 Required Unique Addresses

6 Chapter 6. Figure 1 Required Unique Addresses 6 Chapter 6 6.1 Public and Private IP Addresses The stability of the Internet depends directly on the uniqueness of publicly used network addresses. In Figure 1 Required Unique Addresses, there is an issue

More information

Router Architecture Overview

Router Architecture Overview Chapter 4: r Introduction (forwarding and routing) r Review of queueing theory r Router design and operation r IP: Internet Protocol m IPv4 (datagram format, addressing, ICMP, NAT) m Ipv6 r Generalized

More information

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia IP - The Internet Protocol Based on the slides of Dr. Jorg Liebeherr, University of Virginia Orientation IP (Internet Protocol) is a Network Layer Protocol. IP: The waist of the hourglass IP is the waist

More information

IP Addressing. Introductory material. An entire module devoted to IP addresses. Pedro Brandão (PhD) University of Évora

IP Addressing. Introductory material. An entire module devoted to IP addresses. Pedro Brandão (PhD) University of Évora IP Addressing Introductory material. An entire module devoted to IP addresses. Pedro Brandão (PhD) University of Évora IP Addresses Structure of an IP address Subnetting CIDR IP Version 6 addresses IP

More information

CSCD 330 Network Programming Spring 2017

CSCD 330 Network Programming Spring 2017 CSCD 330 Network Programming Spring 2017 Lecture 14 Network Layer IP Addressing Reading: Chapter 4 Some slides provided courtesy of J.F Kurose and K.W. Ross, All Rights Reserved, copyright 1996-2007 1

More information

TSIN02 - Internetworking

TSIN02 - Internetworking Lecture 2: Internet Protocol Literature: Forouzan: ch (4-6), 7-9 and ch 31 2004 Image Coding Group, Linköpings Universitet Lecture 2: IP Goals: Understand the benefits Understand the architecture IPv4

More information

Addressing and Routing

Addressing and Routing Addressing and Routing Andrew Scott a.scott@lancaster.ac.uk Physical/ Hardware Addresses Aka MAC* or link(-layer) address Can only talk to things on same link Unique ID given to every network interface

More information

Figure 11 Two-level addressing in classful addressing

Figure 11 Two-level addressing in classful addressing Two-Level Addressing The whole purpose of IPv4 addressing is to define a destination for an Internet packet (at the network layer). When classful addressing was designed, it was assumed that the whole

More information

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 10: IP Routing and Addressing Extensions

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 10: IP Routing and Addressing Extensions CS 5520/ECE 5590NA: Network Architecture I Spring 2009 Lecture 10: IP Routing and Addressing Extensions This lecture provides discussion of the mechanisms used to route IP datagrams (Chapter 7). It also

More information

Networks: Communicating and Sharing Resources

Networks: Communicating and Sharing Resources Networks: Communicating and Sharing Resources 1 Network Fundamentals Networks o Links multiple computer systems and enables them to share data and resources o Types of computer networks: Local area network

More information

Top-Down Network Design

Top-Down Network Design Top-Down Network Design Chapter Six Designing Models for Addressing and Naming Copyright 2010 Cisco Press & Priscilla Oppenheimer Guidelines for Addressing and Naming Use a structured model for addressing

More information

Addressing & Subnetting

Addressing & Subnetting Addressing & Subnetting Addressing to identify and locate each host. We call it addressing. Identification: hostname, address (MAC, IP) IP add? MAC add? MAC add: local IP add: internetwork An address generally

More information

Internet Addresses Reading: Chapter 4. 2/11/14 CS125-myaddressing

Internet Addresses Reading: Chapter 4. 2/11/14 CS125-myaddressing Internet Addresses Reading: Chapter 4 1 Internet Addresses Outline/Goals IP addresses RFC 950, STD 05 Dotted-quad notation IP prefixes for aggregation Address allocation Classful addresses Classless InterDomain

More information

Internet Fundamentals

Internet Fundamentals Internet Fundamentals Lecture-10 IPv4 19.2 19-1 IPv4 ADDRESSES An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device (for example, a computer or a router)

More information

IP Address Assignment

IP Address Assignment IP Address Assignment An IP address does not identify a specific computer. Instead, each IP address identifies a connection between a computer and a network. A computer with multiple network connections

More information

Network Protocols - Revision

Network Protocols - Revision Network Protocols - Revision Luke Anderson luke@lukeanderson.com.au 18 th May 2018 University Of Sydney Overview 1. The Layers 1.1 OSI Model 1.2 Layer 1: Physical 1.3 Layer 2: Data Link MAC Addresses 1.4

More information

LECTURE -4 IP ADDRESSES. IP Addresses: Classful Addressing

LECTURE -4 IP ADDRESSES. IP Addresses: Classful Addressing LECTURE -4 IP ADDRESSES IP Addresses: Classful Addressing 1 CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing 2 INTRODUCTION 3 WHAT IS AN IP ADDRESS A

More information

ECE 461 Internetworking. Problem Sheet 1

ECE 461 Internetworking. Problem Sheet 1 ECE 461 Internetworking Problem Sheet 1 Instructions (read carefully): Try to solve the problems on your own. Solutions will be discussed in tutorials. Problem 1. Consider an Ethernet network with three

More information

Networking Potpourri: Plug-n-Play, Next Gen

Networking Potpourri: Plug-n-Play, Next Gen Networking Potpourri: Plug-n-Play, Next Gen 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross Administrivia

More information

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Lecture 4 The Network Layer Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Network layer functions Transport packet from sending to receiving hosts Network layer protocols in every

More information

Subnetting and Classless Addressing

Subnetting and Classless Addressing Subnetting and Classless Addressing CONTENTS SUBNETTING CLASSLESS ADDRSSING 1 5.1 SUBNETTING IP addresses are designed with two levels of hierarchy. 2 Figure 5-1 A network with two levels of hierarchy

More information

CSCD 330 Network Programming Spring 2018

CSCD 330 Network Programming Spring 2018 CSCD 330 Network Programming Spring 2018 Lecture 14 Network Layer IP Addressing Reading: Chapter 4 Some slides provided courtesy of J.F Kurose and K.W. Ross, All Rights Reserved, copyright 2017 Network

More information

Networking Basics. EC512 Spring /15/2015 EC512 - Prof. Thomas Skinner 1

Networking Basics. EC512 Spring /15/2015 EC512 - Prof. Thomas Skinner 1 Networking Basics EC512 Spring 2015 2/15/2015 EC512 - Prof. Thomas Skinner 1 Protocols Protocols are required in order to allow information to be extracted from the stream of bits flowing from one point

More information

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid College of Computing and Information Technology Arab bacademy for Science &T Technology and Maritime Transport Internet Protocol Suite IP Suite Dr.

More information

ECE 158A: Lecture 7. Fall 2015

ECE 158A: Lecture 7. Fall 2015 ECE 158A: Lecture 7 Fall 2015 Outline We have discussed IP shortest path routing Now we have a closer look at the IP addressing mechanism We are still at the networking layer, we will examine: IP Headers

More information

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Network Layer PREPARED BY AHMED ABDEL-RAOUF Network Layer PREPARED BY AHMED ABDEL-RAOUF Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on receiving side, delivers segments to transport

More information

CSCI Computer Networks Fall 2016

CSCI Computer Networks Fall 2016 source: computer-s-webdesign.com CSCI 4760 - Computer Networks Fall 2016 Instructor: Prof. Roberto Perdisci perdisci@cs.uga.edu These slides are adapted from the textbook slides by J.F. Kurose and K.W.

More information

TCP/IP. Model and Layers Bits and Number Bases IPv4 Addressing Subnetting Classless Interdomain Routing IPv6

TCP/IP. Model and Layers Bits and Number Bases IPv4 Addressing Subnetting Classless Interdomain Routing IPv6 TCP/IP Model and Layers Bits and Number Bases IPv4 Addressing Subnetting Classless Interdomain Routing IPv6 At the beginning of the course, we discussed two primary conceptual models of networking: OSI

More information

IP Basics Unix/IP Preparation Course June 29, 2010 Pago Pago, American Samoa

IP Basics Unix/IP Preparation Course June 29, 2010 Pago Pago, American Samoa IP Basics Unix/IP Preparation Course June 29, 2010 Layers Complex problems can be solved using the common divide and conquer principle. In this case the internals of the Internet are divided into separate

More information

Lecture 1: Introduction

Lecture 1: Introduction Int ernet w orking Lecture 1: Introduction The Internet, underlying link layer, and IP addressing Literature: Forouzan: TCP/IP Protocol Suite: Ch 1-5 The Internet today 250 million hosts 580 million users

More information

VLSM and CIDR. Routing Protocols and Concepts Chapter 6. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

VLSM and CIDR. Routing Protocols and Concepts Chapter 6. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1 VLSM and CIDR Routing Protocols and Concepts Chapter 6 Version 4.0 1 Objectives Compare and contrast classful and classless IP addressing. Review VLSM and explain the benefits of classless IP addressing.

More information

Chapter 3 - Implement an IP Addressing Scheme and IP Services to Meet Network Requirements for a Small Branch Office

Chapter 3 - Implement an IP Addressing Scheme and IP Services to Meet Network Requirements for a Small Branch Office ExamForce.com 640-822 CCNA ICND Study Guide 31 Chapter 3 - Implement an IP Addressing Scheme and IP Services to Meet Network Requirements for a Small Branch Office Describe the need and role of addressing

More information

IP Addressing: IPv4 Addressing Configuration Guide, Cisco IOS Release 12.4

IP Addressing: IPv4 Addressing Configuration Guide, Cisco IOS Release 12.4 IP Addressing: IPv4 Addressing Configuration Guide, Cisco IOS Release 12.4 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000

More information