IP Addressing And The Routing Process

Size: px
Start display at page:

Download "IP Addressing And The Routing Process"

Transcription

1 The Ultimate CCNA Study Package - ICND 1 Chris Bryant, CCIE # Back To Index IP Addressing And The Routing Process Introduction To IP Addressing IP Addressing and Binary Conversions IP Address Classes Private IP Address Classes Introduction To The Routing Process Routing To Directly Connected Networks Routing To Non-Connected Networks Keeping Subnets On One "Side" Of The Router Introduction To Layer 3 Addresses For one host to successfully send data to another host, the sending host needs two addresses for the destination: destination MAC address destination IP address

2 In this section, we're going to concentrate on Internet Protocol (IP) addressing. IP addresses are often referred to as "Network addresses" or "Layer 3 addresses", since that is the OSI layer at which these addresses are used. The IP address format you're familiar with - addresses such as " " - are IP version 4 addresses. That address type is the focus of this section. IP version 6 addresses are now in use as well, and they're radically different from IPv4 addresses. IPv6 is a CCNA and CCNP topic, but is not covered on the CCENT exam. Even if you do not go on to the CCNA (and why wouldn't you?), you should become familiar with IPv6 addressing in your future networking studies. IPv6 looks really intimidating at first, but it's not that bad once you get over the initial shock of 128-bit addresses, as compared to IPv4's 32-bit addressing. The routing process and IP both operate at the Network layer of the OSI model, and the routing process uses IP addresses to move packets across the network in the most effective manner possible. In this section, we're going to first take a look at IP addresses in general, and then examine how routers make a decision on how to get data from source to destination. The routing examples in this section are simple ones, but they illustrate important fundamentals that you must have a firm grasp on before moving on to more complex examples. To do any routing, we've got to understand IP addressing, so let's start there! IP Addressing And An Introduction To Binary Conversions If you've worked as a network admin for any length of time, you're already familiar with IP addresses. Every PC on a network will have one, as will other devices such as printers. The term for a network device with an IP address is host, and I'll try to use that term as often as possible to get you used to it! The PC...err, the host I'm creating this document on has an IP address, shown here with the Microsoft command ipconfig. C:\>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: IP Address : Subnet Mask :

3 Default Gateway : We're going to discuss the default gateway setting later in this section, but for now let's concentrate on that IP address and the subnet mask. We're going to compare the IP address and subnet mask, because that will allow us to see what network this particular host belongs to. And to do so, we're going to convert both the IP address and the subnet mask to binary strings. Take a deep breath. It's not bad at all! We're going to look at binary conversions and subnetting in more detail in a future section, but this is a good place to introduce you to these conversions. And as you'll see later in this section, there's a very good reason I'm showing you how to do this now! First, we'll convert the IP address to a binary string. The format that we're used to seeing IP addresses take - like the shown here - is often called a dotted decimal address, since the values are in decimal and there are dots separating the decimals. (Clever, eh?) Each one of those numbers in the address - 192, 168, 1, and are decimal representations of a binary string, and a binary string is simply a string of ones and zeroes. Remember - "it's all ones and zeroes"! We'll convert the decimal 192 to binary first. All we need to do is use the following series of numbers and write the decimal that requires conversion on the left side: And all you have to do now is work from left to right and ask yourself one question: "Can I subtract this number from the current remainder?" Let's walk through this example and you'll see how easy it is! Looking at that chart, ask yourself "Can I subtract 128 from 192?" Certainly we can. That means we put a "1" under "128" Subtract 128 from 192 and the remainder is 64. so now we ask ourselves

4 "Can I subtract 64 from 64?" Certainly we can! Let's put a "1" under "64" Subtract 64 from 64, and you've got zero. You're practically done with your first binary conversion. Once you reach zero, just put a zero under every other remaining value, and you have your binary string! The resulting binary string for the decimal 192 is That's all there is to it! We're going to get plenty of practice with this skill before you take the CCENT and CCNA exams, but I'm sure you'll agree that it's a pretty simple process and nothing to be anxious about. If you know the basics of binary and decimal conversions, AND practice these skills diligently, you can answer any subnetting question Cisco asks you. But that's a topic for another chapter! I'll go ahead and show you the entire binary string for the IP address below, and the subnet mask is expressed in binary directly below it = = The subnet mask indicates where the network bits and host bits are. The network bits of the IP address are indicated by a "1" in the subnet mask, and the host bits are where the subnet mask has a "0". This address has 24 network bits, and the network portion of this address is in decimal. Here's why I showed you this conversion now - any IP addresses that have the exact same network portion are considered to be on the same subnet. If the network is configured correctly, hosts on the same subnet should be found on one "side" of the router, as shown below.

5 Assuming a subnet mask of for all hosts, we have two separate subnets x and x. Hosts on the same subnet are not separated by the router. What you don't want is the following: This could lead to a problem, since hosts in the same subnet are separated by a router. We'll see why this could be a problem when we examine the routing process later in this section, but for now keep in mind that having hosts in the same subnet separated by a router is not a good idea! The IP Address Classes Way back in the ancient times of technology - September 1981, to be exact - IP address classes were defined in RFC 791. If you'd like to read the actual RFC, you can find it quickly using that number and your favorite search engine. RFCs are Requests For Comments, which are technical proposals and/or documentation. Not always exciting, but it's well worth reading the RFC

6 that deals with the subject you're studying. Advanced technical exams occasionally like to ask about RFC numbers for a particular protocol or network service. To earn your CCENT and CCNA certifications, you've got to know these address classes and be able to identify what class an IP address belongs to. Here are the three ranges of addresses that can be assigned to hosts: Class A: Class B: Class C: The following classes are reserved and cannot be assigned to hosts: Class D: Reserved for multicasting, a topic not covered on the CCENT or CCNA exams. Class E: Reserved for future use, also called "experimental addresses". Any address with a first octet of 127 is reserved for loopback interfaces. This range is *not* for Cisco router loopback interfaces, though. For your exams, I would strongly recommend that you know which ranges can be assigned to hosts and which ones cannot. Also, be able to identify which class a given IP address belongs to. It's straightforward, but I can practically guarantee those skills will serve you well on exam day! The rest of this section concentrates on Class A, B, and C networks. Each class has its own default network mask, default number of network bits, and default number of host bits. We'll manipulate these bits just a bit in the subnetting section, but you must know the following values in order to answer subnetting questions successfully - in the exam room or on the job! Class A: Default network mask: Default number of network bits: 8 Default number of host bits: 24 Class B: Default network mask: Default number of network bits: 16 Default number of host bits: 16 Class C: Default network mask:

7 Default number of network bits: 24 Default number of host bits: 8 We worked just a bit with the network and host bits earlier in this section, and we're going to work with them a lot more in the subnetting sections later in the course. For now, make sure that you know... How to identify the class of an IP address Which addresses can be assigned to hosts (Class A, B, C) Which addresses cannot be assigned to hosts (Class D, E, any address beginning with 127) The default network mask, network bits, and host bits for Class A, B, and C addresses I'll remind you of the default masks, network bits, and host bits when we get to subnetting! The RFC 1918 Private Address Classes If you've worked on different networks in your IT career, you may have noticed that the hosts at different sites use similar IP addresses. That's because certain IP address ranges have been reserved for internal networks - that is, networks with hosts that do not need to communicate with other hosts outside their own little internal network, and that do not need to access the internet. Address classes A, B, and C all have their own reserved range of addresses. You should be able to recognize an address from any of these ranges immediately. Class A: Class B: Class C: You should be ready to identify those ranges in that format, or with the dotted decimal masks, or with prefix notation. More about prefix notation later in this section. Class A: , or /8 Class B: , or /12 Class C: , or /16 You may already be thinking "Hey, we use some of those addresses on our network hosts and they get out to the Internet with no problem at all." The network services NAT and PAT (Network Address Translation and Port Address Translation) make that possible, but these are not default behaviors. We have to configure NAT and PAT manually. We're going to do just that later in this course, but for now, make sure you know those

8 three address ranges cold! Introduction To The Routing Process You've probably heard the term "routing protocol", and we're going to look at one popular routing protocol before the end of this course. Before we start working with protocols, we need to understand the very basics of the routing process and how routers decide where to send packets. Remember, we're at Layer 3 of the OSI model here, so the data is in the form of packets. First we'll take a look at a very basic setup and follow the decision-making process from the point of view of the host, then the router. We'll then examine the previous example in this section to see why it's a bad idea to have hosts from the same subnet separated by a router. Let's take another look at a PC's ipconfig output. C:\>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: IP Address : Subnet Mask : Default Gateway : When this host is ready to send data, there are two and only two possibilities: The destination IP address is on the network It's on another network If the destination is on the same subnet as the host, the packet's destination IP address will be that of the destination host. In the following example, this PC is sending packets to , a host on the same subnet, so there is no need for the router to get involved. In effect, those packets go straight to

9 If wants to send packets to the host at , the sending host knows it's not on the same subnet as In that case, the host will send the packets to its default gateway - in this case, the router's ethernet0 interface. The host is basically saying "I have no idea where this address is, so I'll send it to my default gateway and let that device figure it out." When a router receives a packet, there are three possibilities regarding its destination: Destined for a directly connected network

10 Destined for a non-directly connected network that the router has an entry for in its routing table Destined for a non-directly connected network that the router does not have an entry for How A Router Handles A Packet Destined For A Directly Connected Network We'll use the following network in this section: The router has two Ethernet interfaces, referred to in the rest of this example as "E0" and "E1". The switch ports will not have IP addresses, but the router's Ethernet interfaces will and they are shown in the exhibit. Host A sends a packet destined for Host B at The router will receive that packet on its E0 interface and see the destination IP address of The router will then check its routing table to see if there's an entry for the network. Assuming no static routes or dynamic routing protocols have been configured, the router's IP routing table will look like this:

11 R1#show ip route Codes: C - connected, S - static Gateway of last resort is not set C C /8 is directly connected, Ethernet /8 is directly connected, Ethernet0 See the "C" and the "S" next to the word "codes"? You'll usually see anywhere from different types of routes there, and I've removed those for clarity's sake. You'll see the full table later in the course. Also note that you don't see the mask expressed as " " - you see it as "/8" instead. This is called prefix notation, and the number simply represents the number of 1s at the beginning of the network mask when it's expressed in binary. That "/8" is pronounced "slash eight" = binary string = /8 We'll get plenty of practice with prefix notation in the subnetting section! Also, earlier in this section I listed the prefix notation equivalent of the dotted decimal mask with the RFC 1918 private address ranges. Make sure you're ready to identify those ranges no matter if you're presented with dotted decimal masks or prefix notation. Now back to our network! The "C" indicates a directly connected network, and there is an entry for The router will then send the packet out its E1 interface and Host B will receive it. Simple enough, right? Of course, the destination network will not always be directly connected - we're not getting off that easy! How The Router Handles A Packet Destined For A Remote Network That Is Present - Or Not - In The Routing Table

12 Here's the topology for this example: If Host A wants to transmit packets to Host C, we've got an issue right off the bat. The packets will not get there if Router 1 ("R1") is not using some kind of static route or dynamic routing protocol - and neither of those is present by default. Once we apply those IP addresses and then open the interfaces, we'll see some connected routes, but that's it. When R1 receives the packet destined for , R1 will perform a routing table lookup to see if there's a route for The problem is that there is no such route, since R1 only knows about the directly

13 connected networks and R1#show ip route Codes: C - connected, S - static Gateway of last resort is not set C C /8 is directly connected, Ethernet /8 is directly connected, Ethernet0 Without some kind of route to , the packet will simply be dropped by R1. As you'll see later in the course, we can use a static route or a dynamic routing protocol to get that route - but hey, why wait? Here's what such a static route would look like, and remember that we'll spend a lot of time with that route type later in the course. Static routes are created with the ip route command. R1(config)#ip route ethernet1 The routing table now displays a route for the /8 network. The letter "S" indicates a static route. R1#show ip route Codes: C - connected, S - static C C S /8 is directly connected, Ethernet /8 is directly connected, Ethernet /8 is directly connected, Ethernet1 R1 now has an entry for the network, and sends the packet out its E1 interface. R2 will have no problem forwarding the packet destined for , since R2 is directly connected to that network.

14 If Host C wants to respond to Host A's packet, there would be a problem at R2, since the incoming destination address would be , and R2 has no entry for that network. A static route or dynamic routing protocol would be needed to get such a route into R2's routing table. Why We Want To Keep Hosts In One Subnet On One Side Of The Router Earlier in this section, the following topology served as an example of how not to configure a network.

15 Now that we've gone through some routing process examples, let's see why this is a bad idea. Let's say a packet destined for is coming in on another router interface. The router receives that packet and performs a routing table lookup for , and sees that network is directly connected - via interface E0. The router will then send the packet out the E0 interface, even though the destination IP address is actually found off the E1 interface!

16 In future studies, you'll learn ways where you could get the packets to but for your CCENT and CCNA exams, just keep in mind that it's a good practice to keep all members of a given subnet on one side of a router. It's good practice for production networks, too! Back To Index Copyright 2008 The Bryant Advantage. All Rights Reserved.

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

Expert Reference Series of White Papers. Binary and IP Address Basics of Subnetting Expert Reference Series of White Papers Binary and IP Address Basics of Subnetting 1-800-COURSES www.globalknowledge.com Binary and IP Address Basics of Subnetting Alan Thomas, CCNA, CCSI, Global Knowledge

More information

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.

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. APPENDIX B IP Subnetting IP Addressing Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID. IP Classes An IP address is

More information

CCNA / CCNP Tutorial: Introduction To NAT

CCNA / CCNP Tutorial: Introduction To NAT CCNA / CCNP Tutorial: Introduction To NAT By Chris Bryant, CCIE #12933 A Free Excerpt From The Bryant Advantage Ultimate CCNA Study Guide Network Address Translation (NAT) is not only an important topic

More information

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

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved. IP Addressing and Subnetting 2002, Cisco Systems, Inc. All rights reserved. 1 Objectives Upon completion, you will be able to: Discuss the Types of Network Addressing Explain the Form of an IP Address

More information

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

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University Computer Networks Introduc)on to Naming, Addressing, and Rou)ng Week 09 College of Information Science and Engineering Ritsumeikan University MAC Addresses l MAC address is intended to be a unique identifier

More information

Lab 10.4.1 IP Addressing Overview

Lab 10.4.1 IP Addressing Overview Lab 10.4.1 IP ing Overview Estimated time: 30 min. Objectives: Background: This lab will focus on your ability to accomplish the following tasks: Name the five different classes of IP addresses Describe

More information

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

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above CCNA1 V3.0 Mod 10 (Ch 8) 1. How many bits are in an IP C. 64 2. What is the maximum value of each octet in an IP A. 28 55 C. 256 3. The network number plays what part in an IP A. It specifies the network

More information

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

IP Networking Part 3- IP Address Management A webinar to help you prepare for the CBNE Certification IP Networking Part 3- IP Address Management A webinar to help you prepare for the CBNE Certification Wayne M. Pecena, CPBE, CBNE Texas A&M Information Technology Educational Broadcast Services IP Networking,

More information

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

Expert Reference Series of White Papers. Basics of IP Address Subnetting Expert Reference Series of White Papers Basics of IP Address Subnetting 1-800-COURSES www.globalknowledge.com Basics of IP Address Subnetting Norbert Gregorio, Global Knowledge Instructor Introduction

More information

IT:101 Cisco Networking Academy I Subnetting

IT:101 Cisco Networking Academy I Subnetting IT:101 Cisco Networking Academy I Subnetting The IPv4 address is 32 bits long and it is written in the form of dotted decimal notation. IP address in binary format: 11000000.00000001.00000001.00000020

More information

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

You can probably work with decimal. binary numbers needed by the. Working with binary numbers is time- consuming & error-prone. IP Addressing & Subnetting Made Easy Working with IP Addresses Introduction You can probably work with decimal numbers much easier than with the binary numbers needed by the computer. Working with binary

More information

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

CCNA R&S: Introduction to Networks. Chapter 9: Subnetting IP Networks CCNA R&S: Introduction to Networks Chapter 9: Subnetting IP Networks Frank Schneemann Chapter 9: Subnetting IP Networks Subnetting IP Networks In this chapter, you will be learning how devices can be grouped

More information

SUBNETTING SCENARIO S

SUBNETTING SCENARIO S SUBNETTING SCENARIO S This white paper provides several in-depth scenario s dealing with a very confusing topic, subnetting. Many networking engineers need extra practice to completely understand the intricacies

More information

http://computernetworkingnotes.com/ccna-study-guide/basic-of-network-addressing.html

http://computernetworkingnotes.com/ccna-study-guide/basic-of-network-addressing.html Subnetting is a process of dividing large network into the smaller networks based on layer 3 IP address. Every computer on network has an IP address that represent its location on network. Two version

More information

Lab 10.3.5a Basic Subnetting

Lab 10.3.5a Basic Subnetting Lab 10.3.5a Basic Subnetting Objective How to identify reasons to use a subnet mask How to distinguish between a default subnet mask and a custom subnet mask What given requirements determine the subnet

More information

Computer Networks I Laboratory Exercise 1

Computer Networks I Laboratory Exercise 1 Computer Networks I Laboratory Exercise 1 The lab is divided into two parts where the first part is a basic PC network TCP/IP configuration and connection to the Internet. The second part is building a

More information

Switching Basics and Intermediate Routing CCNA 3 Labs and Study Guide Allan Johnson

Switching Basics and Intermediate Routing CCNA 3 Labs and Study Guide Allan Johnson Switching Basics and Intermediate Routing CCNA 3 Labs and Allan Johnson Introduction Switching Basics and Intermediate Routing CCNA 3 Labs and s is a supplement to your classroom and laboratory experience

More information

Lab#2: IP Addressing and Subnetting

Lab#2: IP Addressing and Subnetting IP Addressing Lab#2: IP Addressing and Subnetting Each Network Interface Card (NIC or Network card) present in a PC is assigned one Network address called as IP address. This IP address is assigned by

More information

The Subnet Training Guide

The Subnet Training Guide The Subnet Training Guide A Step By Step Guide on Understanding and Solving Subnetting Problems by Brendan Choi v25 easysubnetcom The Subnet Training Guide v25 easysubnetcom Chapter 1 Understanding IP

More information

Interconnecting Cisco Network Devices 1 Course, Class Outline

Interconnecting Cisco Network Devices 1 Course, Class Outline www.etidaho.com (208) 327-0768 Interconnecting Cisco Network Devices 1 Course, Class Outline 5 Days Interconnecting Cisco Networking Devices, Part 1 (ICND1) v2.0 is a five-day, instructorled training course

More information

Expert Reference Series of White Papers. The Basics of Configuring and Using Cisco Network Address Translation

Expert Reference Series of White Papers. The Basics of Configuring and Using Cisco Network Address Translation Expert Reference Series of White Papers The Basics of Configuring and Using Cisco Network Address Translation 1-800-COURSES www.globalknowledge.com The Basics of Configuring and Using Cisco Network Address

More information

100-101: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

100-101: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1) 100-101: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1) Course Overview This course provides students with the knowledge and skills to implement and support a small switched and routed network.

More information

Interconnecting Cisco Networking Devices, Part 1 (ICND1) v3.0

Interconnecting Cisco Networking Devices, Part 1 (ICND1) v3.0 Interconnecting Cisco Networking Devices, Part 1 (ICND1) v3.0 COURSE OVERVIEW: Interconnecting Cisco Networking Devices, Part 1 (ICND1) v3.0 is a five-day, instructor-led training course that teaches learners

More information

INTERCONNECTING CISCO NETWORK DEVICES PART 1 V2.0 (ICND 1)

INTERCONNECTING CISCO NETWORK DEVICES PART 1 V2.0 (ICND 1) INTERCONNECTING CISCO NETWORK DEVICES PART 1 V2.0 (ICND 1) COURSE OVERVIEW: Interconnecting Cisco Networking Devices, Part 1 (ICND1) v2.0 is a five-day, instructor-led training course that teaches learners

More information

Expert Reference Series of White Papers. Solving the Mysteries of Subnetting 1-800-COURSES. www.globalknowledge.com

Expert Reference Series of White Papers. Solving the Mysteries of Subnetting 1-800-COURSES. www.globalknowledge.com Expert Reference Series of White Papers Solving the Mysteries of Subnetting 1-800-COURSES www.globalknowledge.com Solving the Mysteries of Subnetting Raj Tolani, Global Knowledge Instructor Introduction

More information

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

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA) Lecture 15 IP Address Each host and router on the Internet has an IP address, which consist of a combination of network number and host number. The combination is unique; no two machines have the same

More information

Subnetting Study Guide

Subnetting Study Guide Subnetting Study Guide by Boson Software, LLC An octet is a binary number of 8 bits, with the lowest possible number being 00000000 and the highest possible number being 11111111, or 28. The binary number

More information

Source net: 200.1.1.0 Destination net: 200.1.2.0 Subnet mask: 255.255.255.0 Subnet mask: 255.255.255.0. Router Hub

Source net: 200.1.1.0 Destination net: 200.1.2.0 Subnet mask: 255.255.255.0 Subnet mask: 255.255.255.0. Router Hub then to a router. Remember that with a Class C network address, the first 3 octets, or 24 bits, are assigned as the network address. So, these are two different Class C networks. This leaves one octet,

More information

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

TCP/IP Cheat Sheet. A Free Study Guide by Boson Software, LLC boson_logo_tcpip.pdf 9/23/2010 11:28:19 AM TCP/IP Cheat Sheet A Free Study Guide by Boson Software, LLC Table 1 Address Class Summary Class s Hosts per Range of Network IDs (First Octet) Class A 126 16,777,214

More information

Packet Tracer 3 Lab VLSM 2 Solution

Packet Tracer 3 Lab VLSM 2 Solution Packet Tracer 3 Lab VLSM 2 Solution Objective Create a simulated network topology using Packet Tracer Design an IP addressing scheme using a Class B subnetwork address and VLSM Apply IP addresses to the

More information

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

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet Review questions 1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet C Media access method D Packages 2 To which TCP/IP architecture layer

More information

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

TCP/IP Addressing and Subnetting. an excerpt from: A Technical Introduction to TCP/IP Internals. Presentation Copyright 1995 TGV Software, Inc. TCP/IP Addressing and Subnetting an excerpt from: A Technical Introduction to TCP/IP Internals Presentation Copyright 1995 TGV Software, Inc. IP Addressing Roadmap Format of IP Addresses Traditional Class

More information

Lab - Using IOS CLI with Switch MAC Address Tables

Lab - Using IOS CLI with Switch MAC Address Tables Topology Addressing Table Objectives Device Interface IP Address Subnet Mask Default Gateway R1 G0/1 192.168.1.1 255.255.255.0 N/A S1 VLAN 1 192.168.1.11 255.255.255.0 192.168.1.1 S2 VLAN 1 192.168.1.12

More information

IP Addressing A Simplified Tutorial

IP Addressing A Simplified Tutorial Application Note IP Addressing A Simplified Tutorial July 2002 COMPAS ID 92962 Avaya Labs 1 All information in this document is subject to change without notice. Although the information is believed to

More information

Networking Test 4 Study Guide

Networking Test 4 Study Guide Networking Test 4 Study Guide True/False Indicate whether the statement is true or false. 1. IPX/SPX is considered the protocol suite of the Internet, and it is the most widely used protocol suite in LANs.

More information

Expert Reference Series of White Papers. Solving the Mysteries of Subnetting

Expert Reference Series of White Papers. Solving the Mysteries of Subnetting Expert Reference Series of White Papers Solving the Mysteries of Subnetting 1-800-COURSES www.globalknowledge.com Solving the Mysteries of Subnetting Raj Tolani, Global Knowledge Instructor Introduction

More information

3201 Computer Networks 2014/2015 Handout: Subnetting Question

3201 Computer Networks 2014/2015 Handout: Subnetting Question Subnetting Questions with Answers Question1: Given the following: Network address: 192.168.10.0 Subnet mask: 255.255.255.224 1. How many subnets? Ans: 6 2. How many hosts? Ans: 30 3. What are the valid

More information

Activity 6.7.4: IPv4 Address Subnetting Part 2

Activity 6.7.4: IPv4 Address Subnetting Part 2 Activity 6.7.4: IPv4 Address Subnetting Part 2 Learning Objectives Upon completion of this activity, you will be able to determine subnet information for a given IP address and subnetwork mask. Background

More information

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

CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing CE363 Data Communications & Networking Chapter 6 Network Layer: Logical Addressing TCP/IP and OSI model APPLICATION APPLICATION PRESENTATION SESSION TRANSPORT NETWORK Host-Network TRANSPORT NETWORK DATA

More information

Sample Configuration Using the ip nat outside source list C

Sample Configuration Using the ip nat outside source list C Sample Configuration Using the ip nat outside source list C Table of Contents Sample Configuration Using the ip nat outside source list Command...1 Introduction...1 Before You Begin...1 Conventions...1

More information

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

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

More information

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

Subnetting Examples. There are three types of subnetting examples I will show in this document: Subnetting Examples There are three types of subnetting examples I will show in this document: 1) Subnetting when given a required number of networks 2) Subnetting when given a required number of clients

More information

Internet Addresses (You should read Chapter 4 in Forouzan)

Internet Addresses (You should read Chapter 4 in Forouzan) Internet Addresses (You should read Chapter 4 in Forouzan) IP Address is 32 Bits Long Conceptually the address is the pair (NETID, HOSTID) Addresses are assigned by the internet company for assignment

More information

Internet Protocol Address

Internet Protocol Address SFWR 4C03: Computer Networks & Computer Security Jan 17-21, 2005 Lecturer: Kartik Krishnan Lecture 7-9 Internet Protocol Address Addressing is a critical component of the internet abstraction. To give

More information

- IPv4 Addressing and Subnetting -

- IPv4 Addressing and Subnetting - 1 Hardware Addressing - IPv4 Addressing and Subnetting - A hardware address is used to uniquely identify a host within a local network. Hardware addressing is a function of the Data-Link layer of the OSI

More information

IPv4 Addressing Simplified. by Ken Foster B.S. IT Information; Security and Forensics Kaplan University January 23, 2011

IPv4 Addressing Simplified. by Ken Foster B.S. IT Information; Security and Forensics Kaplan University January 23, 2011 IPv4 Addressing Simplified by Ken Foster B.S. IT Information; Security and Forensics Kaplan University January 23, 2011 The concept of IP Addressing is foundational to overall routing in general. Without

More information

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

Guide to TCP/IP, Third Edition. Chapter 2: IP Addressing and Related Topics Guide to TCP/IP, Third Edition Chapter 2: IP Addressing and Related Topics Objectives Understand IP addressing, anatomy and structures, and addresses from a computer s point of view Recognize and describe

More information

WakeMyPC technical user guide

WakeMyPC technical user guide USER GUIDE WakeMyPC technical user guide WakeMyPC is the name for the new Wake-on-LAN (WoL) service that allows you to boot your office PC or Apple Mac from home. With this new service you no longer need

More information

ICS 351: Today's plan

ICS 351: Today's plan ICS 351: Today's plan Quiz, on overall Internet function, linux and IOS commands, network monitoring, protocols IPv4 addresses: network part and host part address masks IP interface configuration IPv6

More information

Sample Configuration Using the ip nat outside source static

Sample Configuration Using the ip nat outside source static Sample Configuration Using the ip nat outside source static Table of Contents Sample Configuration Using the ip nat outside source static Command...1 Introduction...1 Before You Begin...1 Conventions...1

More information

TCP/IP Basis. OSI Model

TCP/IP Basis. OSI Model TCP/IP Basis 高 雄 大 學 資 訊 工 程 學 系 嚴 力 行 Source OSI Model Destination Application Presentation Session Transport Network Data-Link Physical ENCAPSULATION DATA SEGMENT PACKET FRAME BITS 0101010101010101010

More information

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

WHITE PAPER. Understanding IP Addressing: Everything You Ever Wanted To Know WHITE PAPER Understanding IP Addressing: Everything You Ever Wanted To Know Understanding IP Addressing: Everything You Ever Wanted To Know CONTENTS Internet Scaling Problems 1 Classful IP Addressing 3

More information

IP Addressing. and Subnetting. Workbook Version 1.5. Student Name:

IP Addressing. and Subnetting. Workbook Version 1.5. Student Name: IP Addressing and Subnetting Workbook Version.5 Student Name: IP Address Classes Class A 27 (Network 27 is reserved for loopback and internal testing) Leading bit pattern... Network. Host. Host. Host Class

More information

UNDERSTANDING IP ADDRESSING

UNDERSTANDING IP ADDRESSING 52-20-31 DATA COMMUNICATIONS MANAGEMENT UNDERSTANDING IP ADDRESSING Gilbert Held INSIDE The IP Addressing Scheme; Dotted Decimal Notation; Basic Workstation Configuration; Reserved Addresses; Subnetting;

More information

Networking Basics for Automation Engineers

Networking Basics for Automation Engineers Networking Basics for Automation Engineers Page 1 of 10 mac-solutions.co.uk v1.0 Oct 2014 1. What is Transmission Control Protocol/Internet Protocol (TCP/IP)------------------------------------------------------------

More information

VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers;

VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers; VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers; 1 Given the network address of 112.44.0.0 and the network mask of 255.255.0.0 Would the two stations with addresses 112.44.22.19/16 and 112.44.23.2/16

More information

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.

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. SUBNET MASK To define the network and host portions of an address, the devices use a separate 32-bit pattern called a subnet mask. We express the subnet mask in the same dotted decimal format as the IPv4

More information

2. IP Networks, IP Hosts and IP Ports

2. IP Networks, IP Hosts and IP Ports 1. Introduction to IP... 1 2. IP Networks, IP Hosts and IP Ports... 1 3. IP Packet Structure... 2 4. IP Address Structure... 2 Network Portion... 2 Host Portion... 3 Global vs. Private IP Addresses...3

More information

Part A:Background/Preparation

Part A:Background/Preparation Lab no 1 PC Network TCP/IP Configuration In this lab we will learn about Computer Networks Configuration Introduction to IP addressing Identify tools used for discovering a computer s network configuration

More information

IP Addressing Introductory material.

IP Addressing Introductory material. IP Addressing Introductory material. A module devoted to IP addresses. Addresses & Names Hardware (Layer 2) Lowest level Ethernet (MAC), Serial point-to-point,.. Network (Layer 3) IP IPX, SNA, others Transport

More information

CCNA Discovery 4.0.3.0 Networking for Homes and Small Businesses Student Packet Tracer Lab Manual

CCNA Discovery 4.0.3.0 Networking for Homes and Small Businesses Student Packet Tracer Lab Manual 4.0.3.0 Networking for Homes and Small Businesses Student Packet Tracer Lab Manual This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial

More information

Topic 7 DHCP and NAT. Networking BAsics.

Topic 7 DHCP and NAT. Networking BAsics. Topic 7 DHCP and NAT Networking BAsics. 1 Dynamic Host Configuration Protocol (DHCP) IP address assignment Default Gateway assignment Network services discovery I just booted. What network is this? What

More information

Classful Subnetting Explained

Classful Subnetting Explained Classful ting Explained When given an IP Address and a Mask, how can you determine other information such as: The subnet address of this subnet The broadcast address of this subnet The range of Host Addresses

More information

BASIC ANALYSIS OF TCP/IP NETWORKS

BASIC ANALYSIS OF TCP/IP NETWORKS BASIC ANALYSIS OF TCP/IP NETWORKS INTRODUCTION Communication analysis provides powerful tool for maintenance, performance monitoring, attack detection, and problems fixing in computer networks. Today networks

More information

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

One of the most important topics in any discussion of TCP/IP is IP. IP Addressing IP Addressing 125 machine, called a RARP server, responds with the answer, and the identity crisis is over. RARP uses the information it does know about the machine s MAC address to learn its IP address

More information

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

1. How many unique network IDs are there in class A addresses? # of unique hosts? CS445: IPv4 Addresses In-class activity Names: Part 1: Address Classes Original three classes of IPv4 addresses: A: 0 network (7 bits) host (24 bits) B: 10 network (14 bits) host (16 bits) C: 110 network

More information

Lab 9.1.1 Organizing CCENT Objectives by OSI Layer

Lab 9.1.1 Organizing CCENT Objectives by OSI Layer Lab 9.1.1 Organizing CCENT Objectives by OSI Layer Objectives Organize the CCENT objectives by which layer or layers they address. Background / Preparation In this lab, you associate the objectives of

More information

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

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław Computer Networks Lecture 3: IP Protocol Marcin Bieńkowski Institute of Computer Science University of Wrocław Computer networks (II UWr) Lecture 3 1 / 24 In previous lectures We learned about layer 1

More information

Concepts in IP Addressing...

Concepts in IP Addressing... 3 Concepts in IP Addressing Terms You ll Need to Understand: Binary Hexadecimal Decimal Octet IP address Subnet Mask Subnet Host Increment Techniques You ll Need to Master: Identifying Address Class and

More information

Cisco - Configure the 1721 Router for VLANs Using a Switch Module (WIC-4ESW)

Cisco - Configure the 1721 Router for VLANs Using a Switch Module (WIC-4ESW) Page 1 of 20 Configure the 1721 Router for VLANs Using a Switch Module (WIC-4ESW) Document ID: 50036 Contents Introduction Prerequisites Requirements Components Used Network Diagram The Role of Switched

More information

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

examines the ideas related to Class A, Class B, and Class C networks (in other words, classful IP networks). This chapter covers the following subjects: Classful Network Concepts: This section examines the ideas related to Class A, Class B, and Class C networks (in other words, classful IP networks). Practice

More information

2.1.2.2.2 Variable length subnetting

2.1.2.2.2 Variable length subnetting 2.1.2.2.2 Variable length subnetting Variable length subnetting or variable length subnet masks (VLSM) allocated subnets within the same network can use different subnet masks. Advantage: conserves the

More information

TCP/IP Drill Pack. By Donna Warren. Created by Donna P. Warren Revised: 1/2/2012 Page 1 of 19

TCP/IP Drill Pack. By Donna Warren. Created by Donna P. Warren Revised: 1/2/2012 Page 1 of 19 TCP/IP Drill Pack By Donna Warren Created by Donna P. Warren Revised: 1/2/2012 Page 1 of 19 Drill 1: OSI vs DOD and the TCP/IP Protocol Suite Complete the following chart. On the next page give a brief

More information

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address Objectives University of Jordan Faculty of Engineering & Technology Computer Engineering Department Computer Networks Laboratory 907528 Lab.4 Basic Network Operation and Troubleshooting 1. To become familiar

More information

The Basics. As we begin our discussion of TCP/IP networking with Windows 2000 we first look at the basics of TCP/IP. We look at all PART ONE

The Basics. As we begin our discussion of TCP/IP networking with Windows 2000 we first look at the basics of TCP/IP. We look at all PART ONE ch01.qxd 3/19/01 3:05 PM Page 1 PART ONE The Basics As we begin our discussion of TCP/IP networking with Windows 2000 we first look at the basics of TCP/IP. We look at all those funny numbers and talk

More information

Classless Subnetting Explained

Classless Subnetting Explained Classless Subnetting Explained When given an IP Address, Major Network Mask, and a Subnet Mask, how can you determine other information such as: The subnet address of this subnet The broadcast address

More information

Table of Contents 1 IP Addressing Configuration 1-1

Table of Contents 1 IP Addressing Configuration 1-1 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

More information

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

Network and Host Addresses 1.3. 2003, Cisco Systems, Inc. All rights reserved. INTRO v1.0a 6-4 IP Addressing To facilitate the routing of packets over a network, the TCP/IP protocol suite uses a 32-bit logical address known as an IP address. This topic introduces the components of an IP address.

More information

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network. Course Name: TCP/IP Networking Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network. TCP/IP is the globally accepted group of protocols

More information

Module 2: Assigning IP Addresses in a Multiple Subnet Network

Module 2: Assigning IP Addresses in a Multiple Subnet Network Module 2: Assigning IP Addresses in a Multiple Subnet Network Contents Overview 1 Lesson: Assigning IP Addresses 2 Lesson: Creating a Subnet 19 Lesson: Using IP Routing Tables 29 Lesson: Overcoming Limitations

More information

Number of bits needed to address hosts 8

Number of bits needed to address hosts 8 Advanced Subnetting Example 1: Your ISP has assigned you a Class C network address of 198.47.212.0. You have 3 networks in your company with the largest containing 134 hosts. You need to figure out if

More information

Section #6: Addressing

Section #6: Addressing Section #6: Addressing Problem 1: Routing entries Consider the following routing table for router A, given in CIDR ( slash-n ) notation: 56.162.0.0/15: Port 0 56.164.0.0/15: Port 1 56.166.0.0/16: Port

More information

MS Windows DHCP Server Configuration

MS Windows DHCP Server Configuration MS Windows DHCP Server Configuration Abstract This document describes how to configure option 43 on a Microsoft Windows 2000/2003 DHCP server. This information may be used in an Aruba Networks solution

More information

JOB READY ASSESSMENT BLUEPRINT COMPUTER NETWORKING FUNDAMENTALS - PILOT. Test Code: 4514 Version: 01

JOB READY ASSESSMENT BLUEPRINT COMPUTER NETWORKING FUNDAMENTALS - PILOT. Test Code: 4514 Version: 01 JOB READY ASSESSMENT BLUEPRINT COMPUTER NETWORKING FUNDAMENTALS - PILOT Test Code: 4514 Version: 01 Specific Competencies and Skills Tested in this Assessment: PC Principles Identify physical and equipment

More information

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

Sybex CCENT 100-101 Chapter 4: Easy Subnetting. Instructor & Todd Lammle Sybex CCENT 100-101 Chapter 4: Easy Subnetting Instructor & Todd Lammle Chapter 4 Objectives The CCENT Topics Covered in this chapter include: IP addressing (IPv4 / IPv6) Describe the operation and necessity

More information

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004 5 th lecture Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004 1 43 Last lecture Lecture room hopefully all got the message lecture on tuesday and thursday same

More information

2.3 IPv4 Address Subnetting Part 2

2.3 IPv4 Address Subnetting Part 2 .3 IPv4 Address Subnetting Part Objective Upon completion of this activity, you will be able to determine subnet information for a given IP address and subnetwork mask. When given an IP address, network

More information

Essential Curriculum Computer Networking 1. PC Systems Fundamentals 35 hours teaching time

Essential Curriculum Computer Networking 1. PC Systems Fundamentals 35 hours teaching time Essential Curriculum Computer Networking 1 PC Systems Fundamentals 35 hours teaching time Part 1----------------------------------------------------------------------------------------- 2.3 hours Develop

More information

IP Subnetting: Practical Subnet Design and Address Determination Example

IP Subnetting: Practical Subnet Design and Address Determination Example IP Subnetting: Practical Subnet Design and Address Determination Example When educators ask students what they consider to be the most confusing aspect in learning about networking, many say that it is

More information

IP Addressing and Subnetting for New Users

IP Addressing and Subnetting for New Users IP Addressing and Subnetting for New Users Document ID: 13788 Contents Introduction Prerequisites Requirements Components Used Additional Information Conventions Understanding IP Addresses Network Masks

More information

This unit contains the following two lessons: Lessons Pages Length Lesson 3-1: Network Layer Addressing 98-136 5 hours

This unit contains the following two lessons: Lessons Pages Length Lesson 3-1: Network Layer Addressing 98-136 5 hours Unit 3 Let s Route Overview Description This unit contains two lessons: The first lesson introduces the format for addressing data that travels across the Internet. The lesson focuses on the underlying

More information

Network Basics GRAPHISOFT. for connecting to a BIM Server. 2009 (version 1.0)

Network Basics GRAPHISOFT. for connecting to a BIM Server. 2009 (version 1.0) for connecting to a BIM Server GRAPHISOFT 2009 (version 1.0) Basic Vocabulary...3 Local Area Networks...5 Examples of Local Area Networks...5 Example 1: LAN of two computers without any other network devices...5

More information

Desirable Properties Of An Internet Addressing Scheme

Desirable Properties Of An Internet Addressing Scheme Desirable Properties Of An Internet Addressing Scheme Compact Universal Works with all network hardware Supports efficient decision making - Test whether a destination can be reached directly - Decide

More information

CCNA Tutorial Series SUBNETTING

CCNA Tutorial Series SUBNETTING CCNA Tutorial Series This document contains the Course Map For The Interactive flash tutorial at: http://www.semsim.com/ccna/tutorial/subnetting/subnetting.html HOME PAGE Course Objectives Pre-test By

More information

IP Subnetting and Addressing

IP Subnetting and Addressing Indian Institute of Technology Kharagpur IP Subnetting and Addressing Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology Kharagpur Lecture 6: IP Subnetting and Addressing

More information

Layer 3 Routing User s Manual

Layer 3 Routing User s Manual User s Manual Second Edition, July 2011 www.moxa.com/product 2011 Moxa Inc. All rights reserved. User s Manual The software described in this manual is furnished under a license agreement and may be used

More information

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób) QUESTION NO: 8 David, your TestKing trainee, asks you about basic characteristics of switches and hubs for network connectivity. What should you tell him? A. Switches take less time to process frames than

More information