Subnetting.

Slides:



Advertisements
Similar presentations
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA TCP/IP Protocol Suite and IP Addressing Halmstad University Olga Torstensson
Advertisements

CCNA1 v3 Module 9 v3 CCNA 1 Module 9 JEOPARDY K. Martin Galo Valencia.
Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
IP Addressing and Subnetting
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Introduction to TCP/IP
CSE452:Computer Networks
1 Version 3.0 Module 9 TCP/IP Protocol and IP Addressing.
Host Configuration: BOOTP and DHCP
Copyright 2003 CCNA 1 Chapter 7 TCP/IP Protocol Suite and IP Addressing By Your Name.
Network Layer (Part IV). Overview A router is a type of internetworking device that passes data packets between networks based on Layer 3 addresses. A.
1 Dynamic Host Configuration Protocol (DHCP). 2 Dynamic Assignment of IP addresses Dynamic assignment of IP addresses is desirable for several reasons:
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
Lesson 3 Introduction to Networking Concepts Lesson 3.
Support Protocols and Technologies. Topics Filling in the gaps we need to make for IP forwarding work in practice – Getting IP addresses (DHCP) – Mapping.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Addressing Networking for Home and Small Businesses – Chapter.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Addressing Networking for Home and Small Businesses – Chapter.
1 26-Aug-15 Addressing the network using IPv4 Lecture # 2 Engr. Orland G. Basas Prepared by: Engr. Orland G. Basas IT Lecturer.
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
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
DHCP: Dynamic Host Configuration Protocol
Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,
WXES2106 Network Technology Semester /2005 Chapter 4 TCP/IP CCNA1: Module 9, 10.3 and 11.
23-Support Protocols and Technologies Dr. John P. Abraham Professor UTPA.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
1 Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about dynamic assignment of IP addresses with DHCP.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
Cisco 1 - Networking Basics Perrine. J Page 19/17/2015 Chapter 9 What transport layer protocol does TFTP use? 1.TCP 2.IP 3.UDP 4.CFTP.
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Chapter 15 DHCP. Dynamic Host Configuration Protocol An Application Layer Protocol A client server protocol that automatically provides an IP host with.
1 CS 4396 Computer Networks Lab Dynamic Host Configuration Protocol (DHCP)
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
Connecting The Network Layer to Data Link Layer. ARP in the IP Layer The Address Resolution Protocol (ARP) The Address Resolution Protocol (ARP) Part.
Addressing IP v4 W.Lilakiatsakun. Anatomy of IPv4 (1) Dotted Decimal Address Network Address Host Address.
Cisco – Chapter 8&9 - Ethernet Technologies and Ethernet Switching TCP/IP IP Addressing ARP and RARP.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
TCP/IP Protocol Suite 1 Chapter 16 Upon completion you will be able to: Host Configuration: BOOTP and DHCP Know the types of information required by a.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
12/6/2015CST Computer Networks1 Reverse Address Resolution CST 415.
1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Dynamic Host Configuration Protocol (DHCP)
Chapter 18 Host Configuration : DHCP
1 Network Address Translation (NAT) and Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about private networks and NAT.
Allocating IP Addressing by Using Dynamic Host Configuration Protocol.
( Address Resolution Protocol )
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
Data Communications (SEE5523) - Chap.8a1/24 SET5534 Data Communication and Switching System Chapter 8 IP Addressing Alias Mohd FKE, UTM
Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Introduction to Networking Technologies Dynamic Host Configuration Protocol (DHCP)
Network Layer IP Address.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
1 Layer 3: Protocols Honolulu Community College Cisco Academy Training Center Semester 1 Version
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
IP: Addressing, ARP, Routing
Unit 2 dhcp, apipa and ntp.
Chapter 21 Address Mapping
Host Configuration: BOOTP and DHCP
BOOTP and DHCP Objectives
Net 431 D: ADVANCED COMPUTER NETWORKS
Introduction  Hector Macleod  CCNA student  Systems Integration Engineer  Subject - IP addressing.
Host Configuration: BOOTP and DHCP
Chapter 18 Host Configuration : DHCP
Module 9: TCP/IP Protocol Suite and IP Addressing
TCP/IP Protocol Suite & IP Addressing
TCP/IP Protocol Suite and IP Addressing
Chapter 18 Host Configuration : DHCP
Presentation transcript:

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. It is impossible to cover TCP/IP without mentioning subnetting. It is not always necessary to subnet a small network. However, for large or extremely large networks, subnetting is required.

Subnetting a network means to use the subnet mask to divide the network and break a large network up into smaller, more efficient and manageable segments, or subnets. With subnetting, the network is not 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 portion, plus a subnet field and a host field. The subnet field and the host field are created from the original host portion for the entire network.

To create a subnet address, a network administrator borrows bits from the host field and designates them as the subnet field. The minimum number of bits that can be borrowed is two. When creating a subnet, where only one bit was borrowed the network number would be the .0 network. The broadcast number would then be the .255 network. The maximum number of bits that can be borrowed can be any number that leaves at least two bits remaining, for the host number.

Addresses in a network with and without subnetting

Subnet mask

Example Subnet mask 255.255.255.192 will create 4 subnet

Many hosts in different networks may use the same private space addresses. Packets using these addresses as the source or destination should not appear on the public Internet. The router or firewall device at the perimeter of these private networks must block or translate these addresses. Even if these packets were to make their way to the Internet, the routers would not have routes to forward them to the appropriate private network.

Who hold the address?

Range NAT (Network Address Translation) Private addresses (others are called Public IP or Global address) : Range Total 10.0.0.0 to 10.255.255.255 224 172.16.0.0 to 172.31.255.255 220 192.168.0.0 to 192.168.255.255 216

NAT can be implemented on a device at the edge of the private network. NAT allows the hosts in the network to "borrow" a public address for communicating to outside networks. While there are some limitations and performance issues with NAT, clients for most applications can access services over the Internet without noticeable problems.

Address translation

Translation Using One IP address Another types of translations are : Using a Pool of IP address : several private hosts can communicate with the same external host at the same time Using both IP address and Port Numbers  PAT (Port address translation)

Private Address Private Port External Address External Port Using both IP address and Port Numbers e.g. Five-column translation table Private Address Private Port External Address External Port Transport Protocol 172.18.3.1 1400 25.8.3.2 80 TCP 172.18.3.2 1401 ... Reduce the ambiguity of the previous type of translation.

ARP (Address Resolution Protocol) Know the IP, ask hardware address (MAC address) Mapping a logical address with the physical layer

ARP packet

Mapping Physical address to Logical address RARP BOOTP DHCP

Mapping Physical address to Logical address RARP BOOTP DHCP

RARP Reverse Address Resolution Protocol (RARP) associates a known MAC addresses with an IP addresses. This association allows network devices to encapsulate data before sending the data out on the network. A network device, such as a diskless workstation, might know its MAC address but not its IP address. RARP allows the device to make a request to learn its IP address. Devices using RARP require that a RARP server be present on the network to answer RARP requests.

the source initiates a process called a RARP request the source initiates a process called a RARP request. This request helps the source device detect its own IP address. RARP requests are broadcast onto the LAN (within a network) and are responded to by the RARP server which is usually a router.

In RARP request (sent by the workstation which needs an IP address): Operation code : 3 Source MAC address : its own MAC address Destination MAC address : FF:FF:FF:FF:FF:FF (makes an RARP request broadcast) Source IP address : undefined Destination IP address : undefined In RARP reply (sent by an RARP server): Operation code : four Source MAC address : MAC address of the RARP server Destination MAC address : MAC address of the workstation that sends the RARP request Source IP address : IP address of the RARP server Destination IP address :given IP address

BOOTP The bootstrap protocol (BOOTP) operates in a client-server environment and only requires a single packet exchange to obtain IP information.   However, unlike RARP, BOOTP packets can include the IP address, as well as the address of a router, the address of a server, and vendor-specific information. One problem with BOOTP, however, is that it was not designed to provide dynamic address assignment.

In BOOTP request (sent by the workstation which needs an IP address): Source MAC address : its own MAC address Destination MAC address : FF:FF:FF:FF:FF:FF (makes an BOOTP request broadcast) Source IP address : undefined Destination IP address : 255.255.255.255 In BOOTP reply (sent by an BOOTP server): Source MAC address : MAC address of the BOOTP server Destination MAC address : MAC address of workstation sends the BOOTP request Source IP address : - IP address of the BOOTP server Destination IP address :- given IP address - IP broadcast

DHCP Dynamic host configuration protocol (DHCP) is the successor to BOOTP. Unlike BOOTP, DHCP allows a host to obtain an IP address dynamically without the network administrator having to set up an individual profile for each device. All that is required when using DHCP is a defined range of IP addresses on a DHCP server. As hosts come online, they contact the DHCP server and request an address.

The DHCP server chooses an address and leases it to that host The DHCP server chooses an address and leases it to that host. With DHCP, the entire network configuration of a computer can be obtained in one message. The major advantage that DHCP has over BOOTP is that it allows users to be mobile. The importance to this DHCP advancement is its ability to lease an IP address to a device and then reclaim that IP address for another user after the first user releases it.

In DHCP request (sent by the workstation which needs an IP address): Source MAC address : its own MAC address Destination MAC address : FF:FF:FF:FF:FF:FF (makes an DHCP request broadcast) Source IP address : undefined Destination IP address : 255.255.255.255 In DHCP reply (sent by an DHCP server): Source MAC address : MAC address of the DHCP server Destination MAC address : MAC address of workstation sends the BOOTP request Source IP address : - IP address of the DHCP server Destination IP address :- given IP address - IP broadcast Gateway information

Comparison RARP: BOOTP : DHCP RARP server and its client are in each network Static assignment of the IP address and manually configuration by admin RARP request is broadcast BOOTP : Application-layer process The BOOTP server and its client can be in different networks with an aid of a relay agent Still static assignment of IP address and manually configuration DHCP Provide both static address allocation and dynamic address allocation Automatically assignment of IP address and configuration Mobile user can be supported