Subnetting When an organization is given a block of class A, B, or C address, the first address in the block defines the network address. This address.

Slides:



Advertisements
Similar presentations
IP Addressing and Subnetting
Advertisements

Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
7/3/2015 Unit-3 : Network Layer 1 CS 1302 Computer Networks — Unit - 3 — — Network Layer — Text Book Behrouz.A. Forouzan, “Data communication and Networking”,
1 Version 3.0 Module 10 Routing Fundamentals and Subnetting.
Data Communication and Networking
Introduction to Networking (Yarnfield) Classful subnetting.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Constructing a Network Addressing Scheme.
1 Subnetting and Supernetting Oleh: Abdul Kholiq,S.Kom
Static Route. Identify Default gateway What is the default gateway for PC1 PC2 r1 r2 PC1PC2.
IP Addresses: Classful Addressing An IP address is a 32-bit address.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 19 Network Layer Logical Addressing © 2012 by McGraw-Hill Education. This is proprietary material.
Introduction to Networking
Week 3 - IP addressing 4 Introduction to IP addressing 4 Classes of IP addressing 4 Why Subnet Masks are necessary? 4 How to create subnet masks.
IP Addressing INTW What is an IP address? An unique identifier for a computer or device (host) on a TCP/IP network A 32-bit binary number usually.
Types of Addresses in IPv4 Network Range
Chap 10 Routing and Addressing Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
1 Kyung Hee University Part 4 : Network Layer. 2 Kyung Hee University Role and Position of Network Layer o Network layer in the Internet model is responsible.
IP Addressing and Network Software. IP Addressing  A computer somewhere in the world needs to communicate with another computer somewhere else in the.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
 An Internet address is made of four bytes (32 bits) that define the host connection to a network.  It is uniquely and universally defines the connection.
1 Kyung Hee University Chapter 5 IP addresses Classless Addressing.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP ADDRESSING, SUBNETTING & VLSM 1. Decimal vs. Binary Numbers – Decimal numbers are represented by the numbers 0 through 9. – Binary numbers are represented.
CS4500CS4500 Dr. ClincyLecture1 Lecture #2 Chapter 5: Addressing (Part 2 of 3)
Chapter 4 IP Addressing : Classful Addressing
Chapter 4 Objectives Upon completion you will be able to: Classful Internet Addressing Understand IPv4 addresses and classes Identify the class of an.
1 Chapter 4 IP Addressing : Classful Addressing Chapter 4 IP Addressing : Classful Addressing Mi-Jung Choi Dept. of Computer Science, KUN
1 Kyung Hee University Prof. Choong Seon HONG Subnetting/ Supernetting and Classless Addressing.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Routing and Addressing
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer PART IV.
IP ADDRESSING Lecture 2: IP addressing Networks and Communication Department 1.
CCNA Discovery Semester 3 Addressing in an Enterprise Network Chapter 4 K. Martin.
21-IP addressing Dr. John P. Abraham Professor UTPA.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
TCP/IP Protocol Suite 1 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes Identify.
Discovery 2 Internetworking Module 4 JEOPARDY K. Martin.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
UNIT 4 NETWORK LAYER. Position of network layer 7/8/2016 UNIT-3 : NETWORK LAYER 2.
Internet Architecture
Subnetting and Supernetting
Classful Subnetting IPv4
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
Network Layer, and Logical Addresses
Chapters 4 & 5 Addressing Will go over Exam 1
Chapter-5 TCP/IP Suite.
PART IV Network Layer.
IP V4 Subnetting By: Muhammad Hanif.
CS 1302 Computer Networks — Unit - 3 — — Network Layer —
IP Addresses: Classful Addressing
Lec1: Experiment Designing the network, IP addressing and Subnets, designing using Variable Length Subnet Mask Dr. Mohamed Abd-Eldayem References: CCNA.
Chapter 9: Subnetting IP Networks
LAN Chapter 5 Protocols.
Chapter 5 Addressing Dr. Clincy Lecture.
Chapter 9: Subnetting IP Networks
Chapters 4 & 5 Addressing Will go over Exam 2
Data Communications and Networking
Chapters 4 & 5 Addressing Will go over Exam 1
Chapters 4 & 5 Addressing Will go over Exam 1
Chapter 5 IP addresses Classless Addressing
IP Address (Network Layer)
Chapters 4 & 5 Addressing Will go over Exam 1
Dr. John P. Abraham Professor UTPA
Subnetting Subnetting is a method for getting the most out of the limited 32-bit IP addressing space. With any address class, subnetting provides a means.
Introduction to Network
Lec2: Experiment Designing the network, IP addressing and Subnets, designing using Variable Length Subnet Mask Dr. Mohamed Abd-Eldayem References: CCNA.
Presentation transcript:

Subnetting When an organization is given a block of class A, B, or C address, the first address in the block defines the network address. This address is used by routers outside the organization to route the packets destined for the network. The outside world, when it comes to routing, recognize the network, not individual hosts on the network. 1

Subnetting As known, the IP address is divided to netid and hostid. To reach a host on the internet, we must first reach the network by using the netid. Then we must reach the host itself by using the hostid. i.e. the IP addresses are designed with two levels of hierarchy. 2

Subnetting Sometimes, an organization needs to assemble the hosts into groups; the network needs to be divided into several subnetworks (subnets). 3

Subnetting Subnetting a network can be done for a variety of reasons: A company uses two or more types of LAN technology (for example, Ethernet, Token Ring) on their network or different physical media (such as Ethernet, FDDI, WAN, etc.) Two network segments are restricted by distance limitations (for example, remote offices linked via point-to-point circuit). Segments need to be localized for network management reasons (accounting segment, sales segment, etc.). Hosts which dominate most of the LAN bandwidth need to be isolated. Security. The most common reason is to control network traffic. 4

Subnetting In subnetting, a network is divided into several smaller groups with each subnetwork ( or subnet) having its own subnetwork address. When we divide a network into several subnets, we have three level of hierarchy, site, subnet and host. Subnetting is done by borrowing bits from the host part and add them the network part 5

How it works? The IP address is split into a network and host portion. The network portion always remains fixed for a particular network, while the remaining bits which make up the host portion can be altered to give the range of addresses to assign to hosts. To determine where the network portion ends and the host portion begins, a subnet mask is used. 6

Mask When a router receives a packet with a destination address, it needs to route the packet. The routing is based on the network address and subnetwork address. The router outside the organization routes the packet based on the network address. The router inside the organization routes the packet based on the subnetwork address. But!! How can router find the network and subnetwork address 7

Mask The router outside the organization has a routing table with one column based on the network addresses. The router inside the organization has a routing table based on the subnetwork addresses. A 32-bit number called mask is the key. The router outside the organization use a default mask. The router inside the organization use a subnet mask. 8

Default Mask A default mask is 32-bit binary number that gives the network address when ANDed with an address in the block. If the bit in the mask is 1  the corresponding bit in the address is retained ( no change). If the bit in the mask is 0  0 bit in the output is the result. 9

10

Subnet Mask The number of 1s in a subnet mask is more than the number of 1s in the corresponding default mask. In subnet mask, we change some of the leftmost 0s in the default mask to make subnet mask. The number of subnets is determine by the number of extra1s. If the number of extra 1 is n, the number of subnets is 2n. If the number of subnets is N, the number of extra 1s is log2N 11

12

Example Assume the IP address is , it is has a Class B defult mask, perfume a logical AND: IP Address Subnet Mask Network Address 13

14

Example What is the subnetwork address if the destination address is and the mask is ? 15

Solution 16

17