1 Internet Networking Spring 2006 Tutorial 1 Subnetting and CIDR.

Slides:



Advertisements
Similar presentations
IP Addressing Introductory material.
Advertisements

Chapter 19 Network Layer: Logical Addressing Stephen Kim.
Chapter 18. IP: Internet Protocol Addresses
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
IP Addressing. TCP/IP addresses -Addressing in TCP/IP is specified by the Internet Protocol (IP) -Each host is assigned a 32-bit number -Called the IP.
COS 420 DAY 7. Agenda Assignment 2 posted Due Feb 13 (next class) Individual Projects Assigned Due March 20 & 23 Classless And Subnet Address Extensions.
Oct 28, 2004CS573: Network Protocols and Standards1 IP: Routing and Subnetting Network Protocols and Standards Autumn
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #1 Subnet + CIDR.
1 Internet Networking Spring 2004 Tutorial 1 Subnetting and CIDR Proxy ARP.
Oct 26, 2004CS573: Network Protocols and Standards1 IP: Routing and Subnetting Network Protocols and Standards Autumn
Understanding IP Addressing Chuck Semeria Presented by Benyuan Liu for Internet Routing Seminar Sep 19, 2000.
CSE5803 Advanced Internet Protocols and Applications (7) Introduction The IP addressing scheme discussed in Chapter 2 are classful and can be summarised.
Slides of the course was made by TAs of this and previous semesters 1 Internet Networking Spring 2002 Tutorial 1 Subnets, Proxy ARP.
Slides of the course was made by TAs of this and previous semesters 1 Internet Networking Spring 2003 Tutorial 1 Subnets, Proxy ARP.
Lecture Slide Rizwan Rehman, CCS. Classless and Subnet Address Extensions (CIDR) Topics: –There are problems with the IP addressing scheme we’ve studied.
CS 6401 Efficient Addressing Outline Addressing Subnetting Supernetting.
IP Addressing. Each TCP/IP host is identified by a logical IP address. –The IP address is a network layer address –No dependence on the Data-Link layer.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 19 Network Layer Logical Addressing © 2012 by McGraw-Hill Education. This is proprietary material.
Layering and the TCP/IP protocol Suite  The TCP/IP Protocol only contains 5 Layers in its networking Model  The Layers Are 1.Physical -> 1 in OSI 2.Network.
21-IP addressing Dr. John P. Abraham Professor UTPA.
IP Addressing. Dotted Decimal Notation IP addresses are written in a so-called dotted decimal notation Each byte is identified by a decimal number in.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
Types of Addresses in IPv4 Network Range
Subnet & Classless Address Extensions Linda Wu (CMPT )
4: Addressing Working At A Small-to-Medium Business or ISP.
Chap 10 Routing and Addressing Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
ECE 4110 – Internetwork Programming Subnetting, Supernetting, and Classless Addressing.
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
Classless and Subnet Address Extensions (CIDR)
CIDR Classless Inter-Domain Routing
IP Addressing Introductory material. An entire module devoted to IP addresses.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing in an Enterprise Network Introducing Routing and Switching in the.
Efficient Addressing Outline Addressing Subnetting Supernetting CS 640.
Chapter 18 IP: Internet Protocol Addresses
Chapter 4, slide: 1 CS 372 – introduction to computer networks* Friday July 23, 2010 Announcements: r Midterms are graded. r Lab 4 is posted. Acknowledgement:
Chapter 6 VLSM and CIDR.
Chapter 6 VLSM and CIDR CIS 82 Routing Protocols and Concepts Rick Graziani Cabrillo College Last Updated: 3/30/2008.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing in an Enterprise Network Introducing Routing and Switching 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.
Universal Identifier UNIVERSAL IDENTIFIER Universal network = globally accepted method for identifying each computer. Host identifier = host is identify.
SUBNET Communication Technologies CIS 505 Prepare by Thanantinee Tantivejakul.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Planning the Addressing Structure Working at a Small-to-Medium Business.
Data Communications and Networks Chapter 7 – IP Addressing ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
Chapter 4 Objectives Upon completion you will be able to: Classful Internet Addressing Understand IPv4 addresses and classes Identify the class of an.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
IP Internet Protocol Fundamental packet format that computers use to exchange information. Is a set of technical rules that defines how computers communicate.
CS470 Computer Networking Protocols
IP ADDRESSING Lecture 2: IP addressing Networks and Communication Department 1.
CCNA Discovery Semester 3 Addressing in an Enterprise Network Chapter 4 K. Martin.
COMPUTER NETWORKS CS610 Lecture-26 Hammad Khalid Khan.
IP Addressing. A 32-bit logical naming convention A dotted-decimal notation is used: – –Each number represents 8 bits. Number is Part.
Planning the Addressing Structure
Internet Architecture
IP – Subnetting and CIDR
IP Addressing Introductory material.
4.3 Network Layer Logical Addressing
Internet Networking recitation #1
4 Network Layer Part I Computer Networks Tutun Juhana
CS4470 Computer Networking Protocols
Objective: Classful Internet Addressing
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) to the Internet.
IP Addressing Introductory material.
IP Addressing Introductory material.
Supernetting Recall: subnetting allows an organization to share a single IP network address among multiple physical networks Supernetting (a.k.a. classless.
IP Addressing Introductory material
Planning the Addressing Structure
Planning the Addressing Structure
Dr. John P. Abraham Professor UTPA
Layering and the TCP/IP protocol Suite
Presentation transcript:

1 Internet Networking Spring 2006 Tutorial 1 Subnetting and CIDR

2 Administrative Information Course site: webcourse.cs.technion.ac.il/ Assistant: Anna Levin, Taub 323, (829)

3 IP Addressing: Original Classful Scheme IP Address – 32-bit integer globally unique address Dotted Notation: IP Classes – dividing an address to net id and host id The prefix (net id) identifies a network. The suffix (host id) identifies a host on this network.

4 IP Addressing: Original Classful Scheme Class A – 7 bits to net id, 24 bits to host id – Class B – 14 bits to net id, 16 bits to host id – Class C – 21 bits to net id, 8 bits to host id – Class D – for multicasting Class E – reserved for future use (used for private addresses)

5 Weaknesses of Classful Scheme Growth of routing tables in routers Tens of thousands small (class C) networks. Each network must be advertised. Inflexible Lack of a network classes for mid-sized organization (between class B and C). Address space will be eventually exhausted

6 Classless Inter-Domain Routing (CIDR) The concept of network "class" is deprecated. Routing destinations are represented by network and mask pairs. Routing is performed on a longest-match basis Advantages: Flexibility Enabling network aggregation; thereby reducing the size of routing table. Defined in RFC 1519.

7 Subnet Addressing A site has a single IP network address assigned to it, but has two or more physical networks. Different technologies. Limits of technologies. Network congestion. Security consideration. VLAN – separate one physical network into a few logical networks. Administration (e.g. deferent departments in academic institute).

8 Subnet Addressing From outside it looks like a single network Only local routers know about multiple physical networks inside and how to route traffic among them Host ID is divided into a subnet ID and host ID Accepted as a standard at 1985 (RFC 950).

9 Subnet Routing When a router gets a packet, it isolates by Net mask the packet net id address. Each routing entry contain a net mask. Routing is done on a longest-match basis. If the packet is destined to other network then the router sends it to another router. Otherwise the router sends the packet to the appropriate host on its attached networks.

10 Subnetting - Example R. Network /24 H1H1 H2H2 Network /24 H3H3 H4H Rest of the Internet All traffic to /16 A site with two physical networks. Using subnetting, R advertise these networks as a single network (thus, R accepts all traffic for net ) Internal routing is done according to subnet id (i.e. the third octet of the address).

11 Variable-Length Subnetting Motivation: Consider the case when an organization has a few network of different sizes. When we choose the subnet partitioning, we actually define constant number of possible physical subnetworks with maximum number of hosts on them. Difficult to keep small (waist of subnet numbers) and big (the host id needs more bits) sub networks and there could be unnecessary spending of address space. Solution: Variable-Length Subnetting. A subnet partition is selected on a per-network basis.

12 Example – Configuring a Network with Variable-Length Subnetting We have a network with IP /24 We need to support next sub networks: 6 networks with 26 hosts 3 networks with 10 hosts 4 networks with 2 hosts

13 Example – Configuring a Network with Variable-Length Subnetting If we take subnet mask of /27 bits then we can get 8 sub networks of 30 hosts (all 0’s and all 1’s of host addresses are reserved) We need only 6 such sub networks.

14 Example – Configuring a Network with Variable-Length Subnetting The rest 2 sub networks we will partition by subnet mask of /28 bits. We will get 4 sub networks of 14 hosts in each We need only 3 such sub networks.

15 Example – Configuring a Network with Variable-Length Subnetting The rest we will partition by subnet mask of /30 bits. We will get 4 sub networks of 2 hosts in each.

16 Example – Configuring a Network with Variable-Length Subnetting Subnet mask #1 = / Subnet mask #2 = / Subnet mask #3 = /