IP Addressing Basics LAB 8.

Slides:



Advertisements
Similar presentations
Classifying Network Addressing
Advertisements

Addressing the Network IPv4
CIM 2465 IP Addressing Scheme1 IP Addressing Scheme (Topic 4) Textbook: Networking Basics, CCNA 1 Companion Guide, Cisco Press Cisco Networking Academy.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Internet Layer.
IP Addressing and Subnetting
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
Prepared By: Eng.Ola M. Abd El-Latif
Fundamentals of Networking Discovery 1, Chapter 5 Network Addressing.
Copyright 2003 CCNA 1 Chapter 7 TCP/IP Protocol Suite and IP Addressing By Your Name.
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 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.
By Junaid Shaikh SE Computer
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.
Network Addressing Networking for Home & Small Business.
© 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.
1 26-Aug-15 S Ward Abingdon and Witney College CCNA Exploration Semester 1 Addressing the network IPv4 CCNA Exploration Semester 1 Chapter 6.
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
DIT314 ~ Client Operating System & Administration CHAPTER 9 SUPPORTING TCP/IP, DNS USING WINDOWS XP Prepared By : Suraya Alias.
LECTURE # 20 IP ADDRESSING 1. Binary 2  All digital electronics use a binary method for communication.  Binary can be expressed using only two values:
Network Addressing IP Addresses. IP Address Space The Structure of an IP Address – Binary Representation The only thing a network device understands,
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
IP Addressing Basics LAB 8.
30/11/ Q & A on Networking. Question No. 1 What is Networking? Two or more computers that are linked in order to share – Resources (such as printers.
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
Chapter 8 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the structure of an IPv4 address.  Describe.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
TCP/IP Addressing & Subnetting Unit objectives Discuss TCP/IP addressing and determine the IP address class and default subnet mask Discuss subnetting.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
ES 101. Module 2 IP Addressing & Routing. Last Lecture Wide area networking Definition of “packets”
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 2: Configuring Network Protocols.
Network Addressing Networking for Home & Small Business.
The Saigon CTT Semester 1 CHAPTER 10 Le Chi Trung.
SYSTEM ADMINISTRATION Chapter 8 Internet Protocol (IP) Addressing.
Addressing IP v4 W.Lilakiatsakun. Anatomy of IPv4 (1) Dotted Decimal Address Network Address Host Address.
Layer 3: Internet Protocol.  Content IP Address within the IP Header. IP Address Classes. Subnetting and Creating a Subnet. Network Layer and Path Determination.
IP addresses IPv4 and IPv6. IP addresses (IP=Internet Protocol) Each computer connected to the Internet must have a unique IP address.
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
Chapter 3 - Page 1 Infogem Institute of Technology CCNA Course IP Addressing & Subnetting IP ADDRESSING & SUBNETTING.
Chapter 5.  Upon completion of this chapter, you should be able to:  Configure IP addresses  Identify & select valid IP addresses for networks  Configure.
1 Network Principles FdSc Computing Technologies TCP-IP – Addressing & Sub-Netting Carl Smith – 2004 (Revised 2013)
NT1210 Introduction to Networking
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the network IPv4 CCNA Exploration Semester 1 – Chapter 6.
Ethernet Basics – 7 IP Addressing. Introducing IP Addressing  IP address (TCP/IP address)  Not unique (but should be), user assigned  Layer 3  4 byte.
Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Introduction to Networking Technologies Introduction to TCP/IP.
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
Layer 3 Routing and Addressing. Layer 3 Responsibilities Move data through a set of networks. Use a hierarchical addressing scheme. Segment network and.
Networks Connecting Two Computers With UTP. Every machine on a network has a unique identifier. Just as you would address a letter to send in the mail,
Internet Architecture
IP Addressing and Subnetting
LESSON Networking Fundamentals Understand IPv4.
Networking for Home and Small Businesses – Chapter 5
Instructor Materials Chapter 4: Network Addressing
OSI Model IP address.
Networking for Home and Small Businesses – Chapter 5
Chapter-5 TCP/IP Suite.
PART IV Network Layer.
Ip addressing Chapter 5a 6-7 days including test.
Chapter 2 Easy Subnetting
Networking for Home and Small Businesses – Chapter 5
IP Address.
Chapter 5 Working with IP Addresses
Week 6: Network Protocols Part 2
Chapter 2 Easy Subnetting
IP Addressing & Subnetting
Network Addressing.
Presentation transcript:

IP Addressing Basics LAB 8

Objective Name the five different classes of IP addresses Describe the characteristics and use of the different IP address classes Identify the class of an IP address based on the network number Determine which part, or octet, of an IP address is the network ID and which part is the host ID Identify valid and invalid IP host addresses based on the rules of IP addressing Define the range of addresses and default subnet mask for each class

Background IP addresses are used to uniquely identify individual TCP/IP networks and hosts, such as computers and printers, on those networks in order for devices to communicate. Workstations and servers on a TCP/IP network are called hosts and each has a unique IP address. This address is referred to as its host address. TCP/IP is the most widely used protocol in the world. The Internet or World Wide Web only uses IP addressing. In order for a host to access the Internet, it must have an IP address. In its basic form, the IP address has two parts: •A network address •A host address

Background The network portion of the IP address is assigned to a company or organization by the Internet Network Information Center (InterNIC). Routers use the IP address to move data packets between networks. IP addresses are 32 bits long according to the current version IPv4 and are divided into 4 octets of 8 bits each. They operate at the network layer (Layer 3) of the Open System Interconnection (OSI) model, which is the Internet layer of the TCP/IP model.

Background IP addresses are assigned in the following ways: Statically - manually, by a network administrator Dynamically - automatically, by a Dynamic Host Configuration Protocol (DHCP) server The IP address of a workstation, or host is a logical address, meaning it can be changed. The Media Access Control (MAC) address of the workstation is a 48-bit physical address. This address is burned into the network interface card (NIC) and cannot change unless the NIC is replaced. The combination of the logical IP address and the physical MAC address helps route packets to their proper destination.

Background There are five different classes of IP addresses, and depending on the class, the network and host part of the address will use a different number of bits. In this lab, different classes of IP addresses will be worked with and to help become familiar with the characteristics of each. The understanding of IP addresses is critical to the understanding of TCP/IP and internetworks in general. The following • PC workstation with Windows 9x/NT/2000/XP installed • Access to the Windows Calculator

Step 1 Review IP address classes and their characteristics There are five classes of IP addresses, A through E. Only the first three classes are used commercially. A Class A network address is discussed in the table to get started. The first column is the class of IP address. The second column is the first octet, which must fall within the range shown for a given class of addresses. The Class A address must start with a number between 1 and 126. The first bit of a Class A address is always a zero, meaning the High Order Bit (HOB) or the 128 bit cannot be used. 127 is reserved for loopback testing. The first octet alone defines the network ID for a Class A network address.

Step 1 Review IP address classes and their characteristics Default subnet mask The default subnet mask uses all binary ones, decimal 255, to mask the first 8 bits of the Class A address. The default subnet mask helps routers and hosts determine if the destination host is on this network or another one. Because there are only 126 Class A networks, the remaining 24 bits, or 3 octets, can be used for hosts. Each Class A network can have 224, or over 16 million hosts. It is common to subdivide the network into smaller groupings called subnets by using a custom subnet mask.

Step 1 Review IP address classes and their characteristics Network and host address The network or host portion of the address cannot be all ones or all zeros. As an example, the Class A address of 118.0.0.5 is a valid IP address. The network portion, or first 8 bits, which are equal to 118, is not all zeros and the host portion, or last 24 bits, is not all zeros or all ones. If the host portion were all zeros, it would be the network address itself. If the host portion were all ones, it would be a broadcast for the network address. The value of any octet can never be greater than decimal 255 or binary 11111111.

Step 1 Review IP address classes and their characteristics

Step 2 Determine basic IP addressing Use the IP address chart and your knowledge of IP address classes to answer the following questions: 1. What is the decimal and binary range of the first octet of all possible Class B IP addresses? Decimal: From: ________ To: ________ Binary: From: ________ To: ________ 2. Which octet(s) represent the network portion of a Class C IP address? ___________________

Step 2 Determine basic IP addressing Use the IP address chart and your knowledge of IP address classes to answer the following questions: 1. What is the decimal and binary range of the first octet of all possible Class B IP addresses? Decimal: From: 128 To: 191 Binary: From: 10000000 To: 101111111 2. Which octet(s) represent the network portion of a Class C IP address? first 3 octets

Step 2 Determine basic IP addressing 3. Which octet(s) represent the host portion of a Class A IP address? ______________________ 4. What is the maximum number of useable hosts with a Class C network address? ___________ 5. How many Class B networks are there? ___________________ 6. How many hosts can each Class B network have? __________________________ 7. How many octets are there in an IP address? ________How many bits per octet? __________

Step 2 Determine basic IP addressing 3. Which octet(s) represent the host portion of a Class A IP address? Last 3 octets 4. What is the maximum number of useable hosts with a Class C network address? 254 5. How many Class B networks are there? 16,382 6. How many hosts can each Class B network have? 65534 7. How many octets are there in an IP address? 4 octets many bits per octet? 8 bits/octet

Step 3 Determine the host and network portions of the IP address With the following IP host addresses, indicate the following: Class of each address Network address or ID Host portion Broadcast address for this network Default subnet mask The host portion will be all zeros for the network ID. Enter just the octets that make up the host. The host portion will be all ones for a broadcast. The network portion of the address will be all ones for the subnet mask. Fill in the following table:

Step 3 Determine the host and network portions of the IP address Host IP Address Address Class Network Address Host Address Network Broadcast Address Default Subnet Mask 216.14.55.137 123.1.1.15 150.127.221.244 194.125.35.199 175.12.239.244

Step 3 Determine the host and network portions of the IP address Host IP Address Address Class Network Address Host Address Network Broadcast Address Default Subnet Mask 216.14.55.137 C 216.14.55.0 0.0.0.137 216.14.55.255 255.255.255.0 123.1.1.15 A 123.0.0.0 0.1.1.15 123.255.255.255 255.0.0.0 150.127.221.244 B 150.127.0.0 0.0.221.244 150.127.255.255 255.255.0.0 194.125.35.199 194.125.35.0 0.0.0.199 194.125.35.255 175.12.239.244 175.12.0.0 0.0.239.244 175.12.255.255

Step 4 Given an IP address of 142. 226. 15 and a subnet mask of 255 Step 4 Given an IP address of 142.226.0.15 and a subnet mask of 255.255.255.0, answer the following questions: What is the binary equivalent of the second octet? _________________________ What is the class of the address? _________________________________________________ What is the network address of this IP address? ______________________________________ Is this a valid IP host address (Y/N)? ______________________________________________ Why or why not? ________________________________________________________________ ________________________________________________________________

Step 4 Given an IP address of 142. 226. 15 and a subnet mask of 255 Step 4 Given an IP address of 142.226.0.15 and a subnet mask of 255.255.255.0, answer the following questions: What is the binary equivalent of the second octet? 11100010 What is the class of the address? Class B What is the network address of this IP address? 142.226.0.0 Is this a valid IP host address (Y/N)? Yes Why or why not? The network part of the address (the first 2 octets or 16 bits) is 142.226 which is a valid class B address. The host part (last 2 octets or 16 bits) is 0.15 or 00000000.00001111. Since all 16 bits of the host ID are not all zeros or all ones it is a valid host address.

Step 5 Determine which IP host addresses are valid for commercial networks For the following IP host addresses, determine which are valid for commercial networks and indicate why or why not. Valid means it could be assigned to any of the following: • Workstation • Server • Printer • Router interface • Any other compatible device

Step 5 Determine which IP host addresses are valid for commercial networks Fill in the following table: IP Host Address Valid Address?(Y/N) Why or Why not? 150.100.255.255 175.100.255.18 195.234.253.0 100.0.0.23 188.258.221.176 127.34.25.189 224.156.217.73

Step 5 Determine which IP host addresses are valid for commercial networks Valid Address?(Yes/No) Why or Why not? 150.100.255.255 No 150.100.0.0.is a Class B network. This is a broadcast address for a class B (host portion 3rd and 4th octets is all ones) and cannot be used for a host address. 175.100.255.18 Yes 175.100.0.0 is a class B network. The host portion is the 3rd and 4th octets (16 bits taken together)11111111.00010010 and is not all zeros or all ones. It is valid even though the 3rd octet is all ones. 195.234.253.0 195.234.253.0 is a Class C network. This is the network address or ID for this network and cannot be used for a host address since all the host bits are zeros. 100.0.0.23 100.0.0.0 is a Class A network. The host portion of the address is the 2nd, 3rd and 4th octets (24 bits taken together) 00000000.00000000.00010111 and is not all zeros or all ones. It is valid even though the 2nd and 3rd octets are all zeros 188.258.221.176 This would be a class B network but is invalid because the 2nd octet is greater than 255. No octet can be greater then 255 (all ones) in any IP address(network or host). 127.34.25.189 This would be a Class A network but is invalid because the 127 can't be used in the first octet since it is reserved for diagnostic testing. 224.156.217.73 This is a Class D network and class D is reserved for multicasting and can't be used as a commercial IP address.