Table of Contents 1 IP Addressing Configuration 1-1



Similar documents
APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID.

Question Question Question EdTech 552: Lab 3 Answer Sheet

Chapter 4. IP Addresses: Classful Addressing

Number of bits needed to address hosts 8

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

Lab#2: IP Addressing and Subnetting

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

Internet Addresses (You should read Chapter 4 in Forouzan)

Expert Reference Series of White Papers. Binary and IP Address Basics of Subnetting

TCP/IP works on 3 types of services (cont.): TCP/IP protocols are divided into three categories:

Chapter 5. IPv4 Addresses. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Subnetting Examples. There are three types of subnetting examples I will show in this document:

Lab IP Addressing Overview

Desirable Properties Of An Internet Addressing Scheme

Subnetting Study Guide

Module 10 Subnetting Class A, B and C addresses. Solutions to the Lab Exercises a, b, c and d

IP Addressing A Simplified Tutorial

2. IP Networks, IP Hosts and IP Ports

Topics. Subnetting. The Basics of Subnetting Subnet Mask Computing subnets and hosts Subnet Routing Creating a Subnet Example of Subnetting 1/37

How to Create Subnets To create subnetworks, you take bits from the host portion of the IP address and reserve them to define the subnet address.

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

CCNA R&S: Introduction to Networks. Chapter 9: Subnetting IP Networks


CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing

Seven Steps to Subnetting

Chapter 4 IP Addresses: Classful Addressing

You can probably work with decimal. binary numbers needed by the. Working with binary numbers is time- consuming & error-prone.

Source net: Destination net: Subnet mask: Subnet mask: Router Hub

Future Internet Technologies

Lab a Basic Subnetting

Part A:Background/Preparation

How To Make A Network Address Prefix Smaller

Classful Subnetting Explained

TCP/IP Cheat Sheet. A Free Study Guide by Boson Software, LLC

Classless Subnetting Explained

TCP/IP Addressing and Subnetting. an excerpt from: A Technical Introduction to TCP/IP Internals. Presentation Copyright 1995 TGV Software, Inc.

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

Network and Host Addresses , Cisco Systems, Inc. All rights reserved. INTRO v1.0a 6-4

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

Module 4, Assignment 3-2

Internetworking and IP Address

PART IV. Network Layer

Tutorial (03) IP addresses & Sub netting

HP 5820X & 5800 Switch Series Layer 3 - IP Services. Configuration Guide. Abstract

Subnet + CIDR. Internet Networking recitation #1. 11: , Internet Networking,

Computer Network Foundation. Chun-Jen (James) Chung. Arizona State University

Internet Protocol Address

Internet Protocol version 4 Part I

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

ICS 351: Today's plan

Internet Protocols. Addressing & Services. Updated:

IP Addressing. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing

CONFIGURING TCP/IP ADDRESSING AND SECURITY

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

2.3 IPv4 Address Subnetting Part 2

Computer Networks By Bahaa Q. Al-Mussawi Subnetting Basics Reduced network traffic Optimized network performance Simplified management

Module 2: Assigning IP Addresses in a Multiple Subnet Network

Packet Tracer - Subnetting Scenario 1 (Instructor Version)

Networking Basics for Automation Engineers

TCP/IP Basis. OSI Model

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

H3C MSR Series Routers

IP Subnetting and Related Topics A Tutorial by Chris Uriarte <chrisjur@cju.com> Updated April 2001

Subnetting/Supernetting and Classless Addressing

Chapter 19 Network Layer: Logical Addressing 19.1

IP Networking Part 3- IP Address Management A webinar to help you prepare for the CBNE Certification

IP Subnetting: Practical Subnet Design and Address Determination Example

Section #6: Addressing

Chapter 3: IP Addressing and VLSM

Mobile IP. Bheemarjuna Reddy Tamma IIT Hyderabad. Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP

HP 5120 SI Switch Series

VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers;

Technical Support Information Belkin internal use only

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

examines the ideas related to Class A, Class B, and Class C networks (in other words, classful IP networks).

1. How many unique network IDs are there in class A addresses? # of unique hosts?

Expert Reference Series of White Papers. Basics of IP Address Subnetting

3201 Computer Networks 2014/2015 Handout: Subnetting Question

Subnetting,Supernetting, VLSM & CIDR

IP Addressing and Subnetting for New Users

03 Internet Addressing

One of the most important topics in any discussion of TCP/IP is IP. IP Addressing

IT:101 Cisco Networking Academy I Subnetting

Sybex CCENT Chapter 4: Easy Subnetting. Instructor & Todd Lammle

IPv6 Addressing. Awareness Objective. IPv6 Address Format & Basic Rules. Understanding the IPv6 Address Components

IP Subnetting Colin Weaver, ITdojo

Chapter 2 TCP/IP Networking Basics

Classful IP Addressing (cont.)

WHITE PAPER. Understanding IP Addressing: Everything You Ever Wanted To Know

MS Windows DHCP Server Configuration

IP Address Structure

The Subnet Training Guide

Configuration of the DHCP server

Activity 6.7.4: IPv4 Address Subnetting Part 2

HA Proxy DNS Configuration Mode Commands

Ethernet Port Quick Start Manual

IP Addressing. IP Addresses. Introductory material.

VLSM CHAPTER 2. IP Subnet Zero

Lecture 8. IP Fundamentals

8.2 The Internet Protocol

Transcription:

Table of Contents 1 IP Addressing Configuration 1-1 IP Addressing Overview 1-1 IP Address Classes 1-1 Special IP Addresses 1-2 Subnetting and Masking 1-2 Configuring IP Addresses 1-3 Assigning an IP Address to an Interface 1-3 Displaying and Maintaining IP Addressing 1-4 i

1 IP Addressing Configuration When assigning IP addresses to interfaces on your device, go to these sections for information you are interested in: IP Addressing Overview Configuring IP Addresses Displaying and Maintaining IP Addressing IP Addressing Overview This section covers these topics: IP Address Classes Special IP Addresses IP Address Classes On an IP network, a 32-bit address is used to identify a host. An example is 01010000100000001000000010000000 in binary. To make IP addresses in 32-bit form easier to read, they are written in dotted decimal notation, each being four octets in length, for example, 10.1.1.1 for the address just mentioned. Each IP address breaks down into two parts: Net ID: The first several bits of the IP address defining a network, also known as class bits. Host-id: Identifies a host on a network. IP addresses are divided into five classes, as shown in the following figure (in which the blue parts represent the address class). Figure 1-1 IP address classes Table 1-1 describes the address ranges of these five classes. 1-1

Table 1-1 IP address classes and ranges Class Address range Remarks A B C D E 0.0.0.0 to 127.255.255.255 128.0.0.0 to 191.255.255.255 192.0.0.0 to 223.255.255.255 224.0.0.0 to 239.255.255.255 240.0.0.0 to 255.255.255.255 The IP address 0.0.0.0 is used by a host at bootstrap for temporary communication. This address is never a valid destination address. Addresses starting with 127 are reserved for loopback test. Packets destined to these addresses are processed locally as input packets rather than sent to the link. Multicast addresses. Reserved for future use except for the broadcast address 255.255.255.255. Special IP Addresses The following IP addresses are for special use, and they cannot be used as host IP addresses: IP address with an all-zero net ID: Identifies a host on the local network. For example, IP address 0.0.0.16 indicates the host with a host ID of 16 on the local network. IP address with an all-zero host ID: Identifies a network. IP address with an all-one host ID: Identifies a directed broadcast address. For example, a packet with the destination address of 192.168.1.255 will be broadcasted to all the hosts on the network 192.168.1.0. Subnetting and Masking Subnetting was developed to address the risk of IP address exhaustion resulting from fast expansion of the Internet. The idea is to break a network down into smaller networks called subnets by using some bits of the host ID to create a subnet ID. To identify the boundary between the host ID and the combination of net ID and subnet ID, masking is used. Each subnet mask comprises 32 bits related to the corresponding bits in an IP address. In a subnet mask, the part containing consecutive ones identifies the combination of net ID and subnet ID whereas the part containing consecutive zeros identifies the host ID. Figure 1-2 shows how a Class B network is subnetted. Figure 1-2 Subnet a Class B network 1-2

In the absence of subnetting, some special addresses such as the addresses with the net ID of all zeros and the addresses with the host ID of all ones, are not assignable to hosts. The same is true for subnetting. When designing your network, you should note that subnetting is somewhat a tradeoff between subnets and accommodated hosts. For example, a Class B network can accommodate 65,534 (2 16 2. Of the two deducted Class B addresses, one with an all-one host ID is the broadcast address and the other with an all-zero host ID is the network address) hosts before being subnetted. After you break it down into 512 (2 9 ) subnets by using the first 9 bits of the host ID for the subnet, you have only 7 bits for the host ID and thus have only 126 (2 7 2) hosts in each subnet. The maximum number of hosts is thus 64,512 (512 126), 1022 less after the network is subnetted. Class A, B, and C networks, before being subnetted, use these default masks (also called natural masks): 255.0.0.0, 255.255.0.0, and 255.255.255.0 respectively. Configuring IP Addresses An interface can communicate with other hosts after it obtains an IP address. Besides directly assigning an IP address to an interface, you may configure the interface to obtain one through BOOTP, DHCP, address negotiation as alternatives. If you change the way an interface obtains an IP address, from manual assignment to BOOTP for example, the IP address obtained from BOOTP will overwrite the old one manually assigned. This chapter only covers how to assign an IP address manually. For how to obtain an IP address through BOOTP or DHCP, refer to DHCP Configuration. Assigning an IP Address to an Interface Follow these steps to assign an IP address to an interface: To do Use the command Remarks Enter system view system-view Enter interface view Assign an IP address to the interface interface interface-type interface-number ip address ip-address { mask mask-length } Required No IP address is assigned by default. 1-3

Displaying and Maintaining IP Addressing To do Use the command Remarks Display information about a specified or all Layer 3 interfaces Display brief information about a specified or all Layer 3 interfaces display ip interface [ interface-type interface-number ] display ip interface brief [ interface-type [ interface-number ] ] Available in any view Available in any view 1-4