IP Addressing and Subnetting

Similar documents
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

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

Linux System Administration

IP: Addressing, ARP, Routing

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

Network+ Guide to Networks

Computer Networks Fundamental.

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

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

Internet Addresses (You should read Chapter 4 in Forouzan)

Addressing & Subnetting

Network Layer/IP Protocols

TCP/IP and the OSI Model

TCP/IP Protocol Suite and IP Addressing

Lab 8 (IP Addressing)

Figure 11 Two-level addressing in classful addressing

Full file at

Network Protocols - Revision

Data Communication & Computer Networks Week # 13

Lecture 8 Network Layer: Logical addressing

Chapter 6 Addressing the Network- IPv4

6 Chapter 6. Figure 1 Required Unique Addresses

NETWORK LAYER: IP Addressing

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

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

Module 9: TCP/IP Protocol Suite and IP Addressing

IP Addressing - Subnetting

Chapter Motivation For Internetworking

Networking: Network Layer

Internet Protocols (chapter 18)

Addressing the Network IPv4

Binary Octet to Decimal Format Conversion

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

Chapter 2 Review Questions

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

Lab Calculating IPv4 Subnets

Top-Down Network Design

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

Why we need to divide network?

Lab Calculating IPv4 Subnets

Network+ Guide to Networks 5 th Edition. Chapter 10 In-Depth TCP/IP Networking

1/18/13. Network+ Guide to Networks 5 th Edition. Objectives. Chapter 10 In-Depth TCP/IP Networking

Subnetting Questions with Detailed Answers: Subnetting Questions with Detailed Answers:

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

IP addresses and Subnetting

Network+ Guide to Networks 6 th Edition. Chapter 9 In-Depth TCP/IP Networking

Copyright 2011 Sakun Sharma

Appendix B Networks, Routing, and Firewall Basics

Chapter 7. ARP and RARP MGH T MGH C I 20

Chapter 8: Subnetting IP Networks CCENT Routing and Switching Introduction to Networks v6.0

TCP /IP Fundamentals Mr. Cantu

SEN366 (SEN374) (Introduction to) Computer Networks

Packet Tracer - Subnet Scenario 2 Topology

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Networks: Communicating and Sharing Resources

Chapter 18. Introduction to Network Layer

OSI Data Link & Network Layer

CS118 Discussion, Week 6. Taqi

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

OSI Data Link & Network Layer

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

Network Layer PREPARED BY AHMED ABDEL-RAOUF

x.x.x :: Notes: 128 binary bits

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

Chapter 6. The Protocol TCP/IP. Introduction to Protocols

Introduction to Internetworking

Chapter 9: Subnetting IP Networks

CCNA 1 Chapter 9 v5.0 Exam Answers 2013

TSIN02 - Internetworking

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


Internet Fundamentals

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

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding.

PUCPR. Internet Protocol. Edgard Jamhour E N G L I S H S E M E S T E R

Module 4. Planning the Addressing Structure

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

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

ET4254 Communications and Networking 1

Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

Lecture 11: Networks & Networking

Introduction Layer 3. IP-Header: and RFC-760 Addressing schemes Subnetting Routing. Layer 3 Solution in Trains

Department of Computer Science and Engineering. CSE 3214: Computer Network Protocols and Applications Instructor: N. Vlajic Date: Feb 23, 2016

Interconnecting Cisco Networking Devices Part 1

Static NAT Mapping with HSRP

OSI Data Link & Network Layer

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

IP Address Assignment

Just enough TCP/IP. Protocol Overview. Connection Types in TCP/IP. Control Mechanisms. Borrowed from my ITS475/575 class the ITL

1 Connectionless Routing

COSC 6377 Mid-Term #2 Fall 2000

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

Networking and IP Addressing TELECOMMUNICATIONS AND NETWORKING

Computer Network Addressing. The TCP/IP Layers and Addresses. Topics. The Internet Communication. The TCP/IP Layers and Addresses IP Address

Packet Tracer - Subnet Scenario 2 (Instructor Version)

The Internet. The Internet is an interconnected collection of netw orks.

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

Internet Protocol Addressing and Routing. Redes TCP/IP

Configuring IP addressing

Table of Contents Chapter 1 IP Addressing Configuration

Transcription:

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 Architecture Two computers, anywhere in the world, following certain hardware, software, protocol specifications, can communicate, reliably even when not directly connected. LANs are no longer scalable beyond a certain number of stations or geographic separation.

IP Addressing An IP address is a 32-bit sequence of 1s and 0s. To make the IP address easier to use, the address is usually written as four decimal numbers separated by periods. This way of writing the address is called the dotted decimal format.

IPv4 Addressing

Class A, B, C, D, and E IP Addresses

Reserved IP Addresses Certain host addresses are reserved and cannot be assigned to devices on a network. An IP address that has binary 0s in all host bit positions is reserved for the network address. An IP address that has binary 1s in all host bit positions is reserved for the broadcast address.

Public and Private IP Addresses No two machines that connect to a public network can have the same IP address because public IP addresses are global and standardized. However, private networks that are not connected to the Internet may use any host addresses, as long as each host within the private network is unique. RFC 1918 sets aside three blocks of IP addresses for private, internal use. Connecting a network using private addresses to the Internet requires translation of the private addresses to public addresses using Network Address Translation (NAT).

Subnetting Split host address range into 2 or more distinct subnets Provides addressing flexibility for the network administrator. Each LAN has its own network or subnetwork address. Provides broadcast containment and low-level security on the LAN. Provides some security since access to other subnets is only available through the services of a router.

Introduction to Subnetting Host bits must be reassigned (or borrowed ) as network bits. The starting point is always the leftmost host bit. 3 bits borrowed allows 2 3-2 or 6 subnets 5 bits borrowed allows 2 5-2 or 30 subnets 12 bits borrowed allows 2 12-2 or 4094 subnets

Establishing the Subnet Mask Address Determines which part of an IP address is the network field and which part is the host field. Follow these steps to determine the subnet mask: 1. Express the subnetwork IP address in binary form. 2. Replace the network and subnet portion of the address with all 1s. 3. Replace the host portion of the address with all 0s. 4. Convert the binary expression back to dotted-decimal notation.

Establishing the Subnet Mask Address To determine the number of bits to be used, the network designer needs to calculate how many hosts the largest subnetwork requires and the number of subnetworks needed. The slash format is a shorter way of representing the subnet mask: /25 represents the 25 one bits in the subnet mask 255.255.255.128

Establishing the Subnet Mask Address This example subnets a class C address using 3 bits for the subnet and 5 bits for the host address. What is the correct subnet mask?

Subnetting Class A and B Networks The available bits for assignment to the subnet field in a Class A address is 22 bits while a Class B address has 14 bits. Why?

Calculating the Subnetwork With ANDing ANDing is a binary process by which the router calculates the subnetwork ID for an incoming packet. 1 AND 1 = 1; 1 AND 0 = 0; 0 AND 0 = 0 The router then uses that information to forward the packet across the correct interface. Packet Address 192.168.10.65 11000000.10101000.00001010.010 00001 Subnet Mask 255.255.255.224 11111111.11111111.11111111.111 00000 Subnetwork Address 192.168.10.64 11000000.10101000.00001010.010 00000

Problems in Address Resolution In TCP/IP communications, a datagram on a local-area network must contain both a destination MAC address and a destination IP address. There needs to be a way to automatically map IP to MAC addresses. The TCP/IP suite has a protocol, called Address Resolution Protocol (ARP), which can automatically obtain MAC addresses for local transmission. TCP/IP has a variation on ARP called Proxy ARP that will provide the MAC address of an intermediate device for transmission outside the LAN to another network segment.

Address Resolution Protocol (ARP) Each device on a network maintains its own ARP table. A device that requires an IP and MAC address pair broadcasts an ARP request. If one of the local devices matches the IP address of the request, it sends back an ARP reply that contains its IP-MAC pair. If the request is for a different IP network, a router performs a proxy ARP. The router sends an ARP response with the MAC address of the interface on which the request was received, to the requesting host.