CS4470 Computer Networking Protocols

Slides:



Advertisements
Similar presentations
1 IP Subnetting (Modified version of slides from Rick Graziani) Karim El Defrawy Donald Bren School of Information and Computer Science University of California.
Advertisements

OUR SUBNET PLANNING MISSION: We have been assigned an address of Assume 20 subnets are needed, with 5 hosts per subnet. Our mission is to.
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
Lecture Slide Rizwan Rehman, CCS. Classless and Subnet Address Extensions (CIDR) Topics: –There are problems with the IP addressing scheme we’ve studied.
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 Chapter Overview Subnet. What is a subnet When you break a network into a few smaller networks, you have created several subnets Like IP address where.
IP Addresses: Classful Addressing An IP address is a 32-bit address.
Functions 1.  How long is MAC address?  How is mac address used in data communication?  What is a frame?  What does an IP address look like? 2.
Information & Communication Technology
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.
1 TCOM 509 – Internet Protocols (TCP/IP) Lecture 02_b Instructor: Dr. Li-Chuan Chen Date: 09/08/2003 Based in part upon slides of Prof. J. Kurose (U Mass),
Addressing of Internet Koji OKAMURA Kyushu University.
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.
Subnet & Classless Address Extensions Linda Wu (CMPT )
Chap 10 Routing and Addressing Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
1 Chapter 24 TCP/IP. 2 An Internet According to TCP/IP.
ECE 4110 – Internetwork Programming Subnetting, Supernetting, and Classless Addressing.
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.
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
1 IP Addressing: Classful 0 network host 10 network host 110 networkhost 1110 multicast address A B C D class to to
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
TCP/IPTCP/IP Dr. ClincyLecture1 Chapter 5: Addressing (Part 2 of 3) Agenda Special Addresses Classful - Subnetting Classful - Supernetting.
Fragmentation Fragmentation and reassembly are done by the IP layer Fragmentation and reassembly are done by the IP layer Identification (16 bits) Identification.
CSE5803 Advanced Internet Protocols and Applications (2) Universal Identifier In general, addressing in a network is closely linked with the issue.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 4 Network Layer.
CLASSLESS INTER-DOMAIN ROUTING {CIDR} & SUBNETTING PHILLIP LAFLEUR NATHAN GRAMMES JONATHAN BENNETT.
21-IP addressing Dr. John P. Abraham Professor UTPA.
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.
Universal Identifier UNIVERSAL IDENTIFIER Universal network = globally accepted method for identifying each computer. Host identifier = host is identify.
Chapter 4 Objectives Upon completion you will be able to: Classful Internet Addressing Understand IPv4 addresses and classes Identify the class of an.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 9 TCP/IP Protocol Suite and IP Addressing.
Hour 5 Subnetting 1. you will be able to Explain how subnets and supernets are used Explain the benefits of subnetting Develop a subnet mask that meets.
Chapter 5b.  Upon completion of this chapter, you should be able to:  Subnet an IPv4 address to make separate networks out of one address given  Use.
21-IP addressing Dr. John P. Abraham Professor UTPA.
CS470 Computer Networking Protocols
Devices function at Layers. Teaching Topology SUBNETTING The highly dreaded….
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
Ethernet Basics – 7 IP Addressing. Introducing IP Addressing  IP address (TCP/IP address)  Not unique (but should be), user assigned  Layer 3  4 byte.
IP Addressing. A 32-bit logical naming convention A dotted-decimal notation is used: – –Each number represents 8 bits. Number is Part.
Subnetting Subnetting is not in the CIS221-3 Syllabus
Subnetting Divide a network to smaller networks (subnets) Reasons
Internet Architecture
Instructor Materials Chapter 8: Subnetting IP Networks
CS4470 Computer Networking Protocols
Chapter-5 TCP/IP Suite.
Chap 10 IP Addressing Andres, Wen-Yuan Liao
PART IV Network Layer.
Chapter 8: Subnetting IP Networks
CS4470 Computer Networking Protocols
CS4470 Computer Networking Protocols
IP Addresses: Classful Addressing
Objective: Classful Internet Addressing
CS4470 Computer Networking Protocols
Chapter 8: Subnetting IP Networks
Cases in Subnetting.
כתובות IP.
Subnetting Surasak Sanguanpong
Dr. John P. Abraham Professor UTPA
CISCO Acadamic Instructor (CCAI) - Adressing, Routing, Subnetting
IP Addressing Introductory material
Dr. John P. Abraham Professor UTRGV
CISCO Acadamic Instructor (CCAI) - Adressing, Routing, Subnetting
IP Addressing & Subnetting
Classless and Subnet Address Extensions (CIDR)
Subnets in TCP/IP Networks © N. Ganesan, Ph.D.
Dr. John P. Abraham Professor UTPA
Presentation transcript:

CS4470 Computer Networking Protocols 7/23/2018 CS4470 Computer Networking Protocols 10. Subnetting Huiping Guo Department of Computer Science California State University, Los Angeles

7/23/2018 Subnetting Subnetting is the division of a single network into smaller subnets. Each subnet functions as if it were an independent network As far as entries in the routing table are concerned All subnets of a given network number use the same network-prefix but different subnet numbers. 10. Subnetting CS4470_F17

Why are subnets created? Provides greater organization of large networks. Remember: a Class A network can have up to 16 million hosts. It allows you to have additional networks without applying for more IP addresses. Decreases broadcast traffic by reducing broadcast domain size. Broadcasts are not forwarded out of a subnet. 10. Subnetting CS4470_F17

How to subnet a network? Borrow bits from the host field of an IP address. All the subnets have the same network prefix Subnets are only visible to routers inside the network Netid subnetid hostid 16 24 31 10. Subnetting CS4470_F17

Subnet a network: steps Determine the number of subnets How many bits to be borrowed? For each subnet, determine The network address subnet bits cannot be all on or off at the same time The host address range The broadcast address Determine the number of required host per subnet: One for each host One for each router interface 10. Subnetting CS4470_F17

Subnetting example 1: You are assigned a network address 214.97.254/23. You want to create 2 subnets. What are the network addresses and broadcast addresses of the 2 subnets? What are the address range in the 2 subnets? 10. Subnetting CS4470_F17

Subnetting example 1: 11010110 01100001 11111110 0 000 0000 Subnet 1: 23 Subnet bits 11010110 01100001   11111110  0 000 0000 Subnet 1: Network address: 11010110 01100001   11111110  1000 0000/25 Broadcast address: 11010110 01100001   11111110  1111 1111/25 Address range: 11010110 01100001   11111110  1000 0001/25 11010110 01100001   11111110  1111 1110/25 126 IP addresses 10. Subnetting CS4470_F17

Subnetting example 1: Subnet 2: Network address: 11010110 01100001   11111111  0000 0000/25 Broadcast address: 11010110 01100001   11111111  0111 1111/25 Address range: 11010110 01100001   11111111  0000 0001/25 11010110 01100001   11111111  0111 1110/25 126 IP addresses 10. Subnetting CS4470_F17

Subnetting example 2: You are assigned a network address 214.97.254/23. If you assign 3 bits to the subnets. How many subnets can be created What are the network addresses and broadcast addresses of the subnets? What are the address range of the subnets? 10. Subnetting CS4470_F17

Subnetting example 2: 23 Subnet bits 11010110 01100001   11111110  0000 0000 The number of subnets: 23-2=6 Subnet 1: Network address: 11010110 01100001   11111110  0100 0000/26 Broadcast address: 11010110 01100001   11111110 0111 1111/26 Address range: 11010110 01100001   11111110  0100 0001/26 11010110 01100001   11111110  0111 1110/26 26-2=62 IP addresses 10. Subnetting CS4470_F17

Subnetting example 2: Subnet 2: Network address: 11010110 01100001   11111110  1000 0000/26 Broadcast address: 11010110 01100001   11111110 1011 1111 Address range: 11010110 01100001   11111110  1000 0001 11010110 01100001   11111110  1011 1110 26-2=62 IP addresses 10. Subnetting CS4470_F17

Subnetting example 2: Subnet 3: Network address: 11010110 01100001   11111110  1100 0000/26 Broadcast address: 11010110 01100001   11111110 1111 1111 Address range: 11010110 01100001   11111110  1100 0001 11010110 01100001   11111110  1111 1110 26-2=62 IP addresses 10. Subnetting CS4470_F17

Subnetting example 2: Subnet 4: Network address: 11010110 01100001   11111111  0000 0000/26 Broadcast address: 11010110 01100001   11111111  0011 1111 Address range: 11010110 01100001   11111111  0000 0001 11010110 01100001   11111111  0011 1110 26-2=62 IP addresses 10. Subnetting CS4470_F17

Subnetting example 2: Subnet 5: Network address: 11010110 01100001   11111111  0100 0000/26 Broadcast address: 11010110 01100001   11111111  0111 1111 Address range: 11010110 01100001   11111111  0100 0001 11010110 01100001   11111111  0111 1110 26-2=62 IP addresses 10. Subnetting CS4470_F17

Subnetting example 2: Subnet 6: Network address: 11010110 01100001   11111111  1000 0000/26 Broadcast address: 11010110 01100001   11111111  1011 1111 Address range: 11010110 01100001   11111111  1000 0001 11010110 01100001   11111111  1011 1110 26-2=62 IP addresses 10. Subnetting CS4470_F17

Subnetting example 3 A large number of consecutive IP address are available starting at 123.132.0.0/16. Suppose that six  organizations, A,B,C, D and E, F, request 2000, 2000, 4000, 4000, 8000 and 8000 addresses, respectively, and in that order. For each of  organizations, give the network address, broadcast address, the first IP address assigned and the last IP address assigned in the w.x.y.z/s notation. 10. Subnetting CS4470_F17

Subnetting example 3 A needs 11 bits for host id, which have 2048 IP addresses available. Network A   01111011  10000100  00001000  00000000                      Network Address: 123.132.8.0/21                    Broadcast Address: 123.132.15.255/21                      2046 IP Addresses: 123.132.8.1/21 – 123.132.15.254/21   B needs 11 bits for host id, which have 2048 IP addresses available. Network B  01111011  10000100  00010000  00000000                   Network Address: 123.132.16.0.21                  Broadcast Address: 123.132.23.255/21                  2046 IP Addresses: 123.132.16.1/21 – 123.132.23.254/21 10. Subnetting CS4470_F17

Subnetting example 3 C needs 12 bits for host id, which have 4096 IP addresses available. Network C  01111011  10000100  00100000  00000000                    Network Address: 123.132.32.0/20                    Broadcast Address: 123.132.47.255/20                    4094 IP Addresses: 123.132.32.1/20 – 123.132.47.254/20   D needs 12 bits for host id, which have 4096 IP addresses available. Network D  01111011  10000100  00110000  00000000                    Network Address: 123.132.48.0/20                    Broadcast Address: 123.132.63.255/20                    4094 IP Addresses: 123.132.48.1/20 – 123.132.63.254/20 10. Subnetting CS4470_F17

Subnetting example 3 E needs 13 bits for host id, which have 8192 IP addresses available. Network E  01111011  10000100  01000000  00000000                    Network Address: 123.132.64.0/19                    Broadcast Address: 123.132.95.255/19                    8190 IP Addresses: 123.132.64.1/19 – 123.132.95.254/19   F needs 13 bits for host id, which have 8192 IP addresses available. Network F  01111011  10000100  01100000  00000000                    Network Address: 123.132.96.0/19                    Broadcast Address: 123.132.127.255/19                    8190 IP Addresses: 123.132.96.1/19 – 123.132.127.254/19 10. Subnetting CS4470_F17