Addressing & Subnetting

Similar documents
IP Addressing and Subnetting

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

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

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

Network Layer: Logical Addressing

CCE1030 Computer Networking

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

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

Networking and IP Addressing TELECOMMUNICATIONS AND NETWORKING

6 Chapter 6. Figure 1 Required Unique Addresses

OSI Data Link & Network Layer

Chapter 6 Addressing the Network- IPv4

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

Module 4. Planning the Addressing Structure

OSI Data Link & Network Layer

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

Address Class (Exercise) B A

NETWORK LAYER: IP Addressing

Lab 8 (IP Addressing)

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

Internet Fundamentals

IT220 Network Standards & Protocols. Unit 8: Chapter 8 The Internet Protocol (IP)

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

Chapter 8: Subnetting IP networks. Introduction to Networks v5.1

Internet Protocols (chapter 18)

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

Computer Networks and Data Systems

Module 9: TCP/IP Protocol Suite and IP Addressing

OSI Data Link & Network Layer

Data Communication & Computer Networks Week # 13

Binary Octet to Decimal Format Conversion

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

Lecture 8 Network Layer: Logical addressing

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

TCP /IP Fundamentals Mr. Cantu

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Network Layer/IP Protocols

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

Computer Networks and Data Systems

Internet Addresses (You should read Chapter 4 in Forouzan)

Lab Calculating IPv4 Subnets

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: VLSM and Classless Inter Domain Routing. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved.

Lab Calculating IPv4 Subnets

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

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

IP addresses and Subnetting

IP Addresses. IP Addresses

Chapter 18. Introduction to Network Layer

Chapter 8: Subnetting IP Networks

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

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

Internet Protocol Addressing and Routing. Redes TCP/IP

Table of Contents. Cisco IP Addressing and Subnetting for New Users

Network+ Guide to Networks

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

Network Basic v0.1. Network Basic v0.1. Chapter 3 Internet Protocol. Chapter 3. Internet Protocol

Top-Down Network Design

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

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

Chapter 6. Variable Length Subnet Masking (VLSM) Classless Inter-Domain Routing (CIDR) CCNA2-1 Chapter 6

A few notes. The following slides are NOT from the online curriculum. However, they do cover the same topics using different examples.

Subnet Design and IP Addressing

LECTURE -4 IP ADDRESSES. IP Addresses: Classful Addressing

Addressing the Network IPv4

Packet Tracer - Subnet Scenario 2 Topology

CS118 Discussion, Week 6. Taqi

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

Lecture 10: Addressing

TDC 563 Protocols and Techniques for Data Networks

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

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

Chapter Motivation For Internetworking

Internet Network Protocols IPv4/ IPv6

Chapter 19 Network Layer: Logical Addressing 19.1

CHAPTER-2 IP CONCEPTS

SEN366 (SEN374) (Introduction to) Computer Networks

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address

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

TCP/IP and the OSI Model

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

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

Chapter 19 Network Layer: Logical Addressing 19.1

Network Layer PREPARED BY AHMED ABDEL-RAOUF

No need to operate a DHCP server. If a server s IP address changes, clients will lose the ability to access it!

IP: Addressing, ARP, Routing

BTEC Level 3 Extended Diploma Unit 9 Computer Network IP Addresses

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

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

INTRODUCTORY INFORMATION TECHNOLOGY COMMUNICATING OVER NETWORKS. Faramarz Hendessi


CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

NUMERIC SYSTEMS USED IN NETWORKING

Linux System Administration

TCP/IP Protocol Suite and IP Addressing

Al-Mustansiriyah University Fourth Year ( )

Note: This case study utilizes Packet Tracer. Please see the Chapter 4 Packet Tracer file located in Supplemental Materials.

6.6 Subnetting and Variable Length Subnet Masks (VLSMs)

NT1210. Final Exam Review 8 to 10

setting IP addresses copyright 2015 Robert Montante

Transcription:

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 represents the connection to the network

Addressing unique address: letter (network address) and number (host address)

IP Address (IPv4) IP address is 32-bit long. It is often writen in dotted decimal format.

Addressing IP add has two parts: net-id & host-id Two different networks must have different network address (net-id). Two different hosts in the same network must have different host address (host-id). Hosts in the same network have the same network address. Broadcast domain: one network add Network address= IP address AND Subnet mask

Example 1: SM : 255.255.255.0 Net/host id: N.N.N.H Net E1 (Net-ID): 192.168.11.0 Net E2 : 192.168.10.0 Net E3 : 192.168.12.0 Number broadcast domain?

Example 2: SM: 255.255.255.0 Net add: 192.168.10.0 Net/host id: N.N.N.H H: hhhhhhhh 00000000 00000001 00000010 00000011 00000100 11111110 11111111

Example 3: IP add: 192.168.100.1 Subnet mask: 255.255.255.0 Net add: 192.168.100.0 Net/Host ID: N.N.N.H IP add : 11000000.10101000.01100100.00000001 SM : 11111111.11111111.11111111.00000000 Net add : 11000000.10101000.01100100.00000000

Example 4: IP add: 192.168.100.1 Subnet mask: 255.255.224.0 Net add:? IP add : 11000000.10101000.01100100.00000001 SM : 11111111.11111111.11100000.00000000 Net add : 11000000.10101000.01100000.00000000 Note: subnetmask

Hierachical addressing scheme As a hierachical addressing scheme, IP addresses are divided into classes.

Classes of IP Addresses Class A addresses are assigned to larger networks. Class B addresses are used for mediumsized networks Class C for small networks.

Classes of IP Addresses First octet order bits: Class A: 00000000 (0) 00000001 (1) 01111110 (126) 01111111 (127) First octet order bits: Class B: 10000000 (128) 10000001 (129) 10111110 (190) 10111111 (191) First octet order bits: Class C: 11000000 (192) 11000001 (193) 11011110 (222) 11011111 (223) First octet order bits: Class D: 11100000 (224) 11100001 (225) 11101110 (238) 11101111 (239)

Classes of IP Addresses

Network Address When all host-bits are zeros (0), we have a number that represents network address. This address is reserved, namely it cannot be assigned to any host.

Broadcast Address When host-bits are all one (1), we have a number that represents broadcast address. This address is also reserved, namely it cannot be assigned to any host. Exp: ping 10.0.6.255

Reference: broadcast Address The router supports the following kinds of broadcast types: Limited broadcast - A packet is sent to a specific network or series of networks. In a limited broadcast packet destined for a local network, the network identifier portion and host identifier portion of the destination address is either all ones (255.255.255.255) or all zeros (0.0.0.0). Flooded broadcast - A packet is sent to every network. Directed broadcast - A packet is sent to a specific destination address where only the host portion of the IP address is either all ones or all zeros (such as 192.20.255.255 or 190.20.0.0).

Unicast and Broadcast Transmission Unicast transmission Broadcast transmission The concept of unicast and broadcast transmission exist in both layer 2 and layer 3 protocols. There are refelections in the addressing scheme.

Reserved IP Address Host-bits = all zeros (network address); exp: 176.10.0.0 Host-bits = all ones (broadcast address); exp: 176.10.255.255 Network-bits = all ones; exp: 01111111.x.x.x Network-bits = all zeros; exp: 00000000.x.x.x 127.x.x.x (loopback address = 127.0.0.1).

Reference: Reserved IP Address all 0s -This host, exp: 0.0.0.0 all 0s.host - Host on this net, exp:0.x.x.x all 1s - Limitted broadcast (local net),exp: 255.255.255.255 Net.all 1s - Directed broadcast for net, exp: 192.168.100.255 127.anything (often 1) - Loopback, (127.0.0.1) Exp: ping 0.0.0.0 0.0.6.156 255.255.255.255 10.0.6.255

Public IP Addresses Public IP addresses are unique. No two machines that connect to a public network can have the same IP address. (X#Y#Z ) Public IP addresses must be obtained from an Internet service provider (ISP) or a registry at some expense. With the rapid growth of the Internet, public IP addresses were beginning to run out (IP address depletion). New addressing schemes, such as classless interdomain routing (CIDR) and IPv6 were developed to help solve the problem. Private IP addresses are another solution.

Private IP Addresses

Private IP Addresses RFC 1918 sets aside three blocks of IP addresses for private, internal use. These three blocks consist of one Class A, a range of Class B addresses, and a range of Class C addresses. Addresses that fall within these ranges are not routed on the Internet backbone. Internet routers immediately discard private addresses.

Using Private Addresses When addressing a nonpublic intranet, a test lab, or a home network, we normally use private addresses instead of globally unique addresses. Private addresses can be used to address point-to-point serial links without wasting real IP addresses. Connecting a network using private addresses to the Internet requires translation of the private addresses to public addresses. This translation process is referred to as Network Address Translation (NAT).

Subnetting Net 1: 172.16.0.0 Net 2: 172.17.0.0 Net 3: 172.18.0.0 Net 4: 172.19.0.0 Hosts per network (usable): 2^16-2= 65534!!! IP add for poin-to-point link (router router): 2 hosts 2 IP add Waste!!! Exp: Net add: 192.168.100.0; SM: 255.255.255.0; Number hosts usable: 2^8-2=254 If hosts per network is 60 used: 6 bits host: xxhhhhhh, 2^6-2=62 hosts; unused: 2 bits host xxhhhhhh xx000000 (0) xx000001 xx000010 xx111110 xx111111 (63)

Subnetting Subnetting is another method of managing IP addresses. This method of dividing full network address classes into smaller pieces has prevented complete IP address exhaustion. The network is no longer limited to the default Class A, B, or C network masks and there is more flexibility in the network design. Subnet addresses include the network (N) portion, plus a subnet (sn) field and a host (H) field. To create a subnet address, a network administrator borrows bits from the host field and designates them as the subnet field.

Subnetting Host bit must be reassigned as network bit.the starting borrow bit is the leftmost hosting bit. Providing broadcast contentment and low level security.

Subnetting 1 net add: 192.168.10.0; SM: 255.255.255.0; 254 hosts hosts per network: 30; networks: 6? Borrows bits: 3 2^3-2= 6 subnets Host bits: 5 2^5-2=30 hosts SM: 255.255.255.224 Subnets: 192.168.10.32 192.168.10.64 192.168.10.96.128 192.168.10.192 Exp: xxxhhhhh 000 (0) 001 (32) 010 (64) 011 (96) 100 (128) 101 (160) 110 (192) 111 (224)

Establishing SM address The number of bits in the subnet will depend on the maximum number of hosts required per subnet. The subnet mask: using binary ones in the host octet(s) (2 power of borrowed bits ) 2 = usable subnets (2 power of remaining host bits ) 2= usable hosts

Applying the Subnet Mask Exp: subnet 192.168.10.32/27 Host Range??? 192.168.10.001hhhhh.00100000.00100001 (33).00100010.00100011 192.168.10.00111110 (62).00111111

Example 5: Primary network 192.168.10.0/24 Hosts per network: 30 Number subnets: 4 Borrows bits? Subnets? IP add for hosts?