Chapter 4: VLSM, Summarization And Troubleshooting TCP/IP

Slides:



Advertisements
Similar presentations
Chapter 6: Static Routing
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
1 Computer Communication & Networks Lecture 17 & 18 Network Layer: Logical Addressing Waleed Ejaz.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
Instructor & Todd Lammle
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 3: IP Subnetting and Variable Length Subnet Masks (VLSM)
TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing Understand the concept of classless.
Understanding IP Addressing Chuck Semeria Presented by Benyuan Liu for Internet Routing Seminar Sep 19, 2000.
TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing Understand the concept of classless.
VLSM and CIDR CSE 421 CCNA Exploration 2 Chapter 6
Subnetting the subnet RD-CSY /09.  Company with 200 hosts  Assigned class C network /24  Want 6 different LANs  Subnet class C network.
Introduction to Networking (Yarnfield) Variable Length Subnet Masking (VLSM)
CCENT Study Guide Chapter 4 Easy Subnetting. Chapter 4 Objectives The CCENT Topics Covered in this chapter include: IP addressing (IPv4 / IPv6) – Describe.
Instructor & Todd Lammle
Variable Length Subnet Mask (VLSM)
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 VLSM and CIDR Routing Protocols and Concepts – Chapter 6 Modified by.
Sybex CCNA VLSMs, Summarization, and Troubleshooting TCP/IP Instructor & Todd Lammle.
Lecture Week 7 RIPv2 Routing Protocols and Concepts.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
Introduction to Classless Routing
Chapter 6 VLSM and CIDR.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 VLSM and CIDR Routing Protocols and Concepts – Chapter 6 05/07/2009.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
Advanced TCP/IP Planning and Design Variable Length Subnet Mask (VLSM) Supernetting Classless Enter Domain Routing (CIDR)
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
Routing Protocols and Concepts – Chapter 7
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
Using IP Addressing in the Network Design
Sybex CCNA Chapter 3: Subnetting, VLSM and Troubleshooting Instructor & Todd Lammle.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Subnetting IP Networks.
Lecture#7: Subnetting IP Networks
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 1 Introduction to Classless Routing.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 9: Subnetting IP Networks Introduction to Networks.
Instructor & Todd Lammle
Binary Concepts By: Nathan Miller.
LESSON Networking Fundamentals Understand IPv4.
Instructor Materials Chapter 8: Subnetting IP Networks
Chapter 5 VLSMs, Summarization and Troubleshooting TCP/IP
Instructor & Todd Lammle
CCENT Study Guide Chapter 9 IP Routing.
Routing Protocols and Concepts
Instructor Materials Chapter 8: Subnetting IP Networks
Lecture#7: Subnetting IP Networks
Introduction to Networking (Yarnfield)
Click to edit Master subtitle style
Planning the Addressing Structure
Chapter 8: Subnetting IP Networks
Subnetting Basics benefits Reduced network traffic
Troubleshooting IP Addressing
Chapter 2 Easy Subnetting
IS3120 Network Communications Infrastructure
Chapter 9 Objectives Understand TCP/IP Protocol.
Instructor & Todd Lammle
Chapter 9: Subnetting IP Networks
Chapter 8: Subnetting IP Networks
Unit 7 Advanced IP Routing Chapter 19 to 21
Chapter 9: Subnetting IP Networks
Routing Protocols and Concepts – Chapter 6 Modified by Tony Chen
Chapter 2: Static Routing
Data Communications and Networking
Planning the Addressing Structure
Routing Protocols and Concepts – Chapter 7
Click to edit Master subtitle style
Routing Protocols and Concepts – Chapter 6
Prepared by : Adeel Ahmad Updated by : Syed Ameen Quadri
Instructor: Mr. Malik Zaib Alam
IP Addressing & Subnetting
Routing Protocols and Concepts – Chapter 7
Routing Protocols and Concepts – Chapter 6
Routing Protocols and Concepts – Chapter 6
Presentation transcript:

Chapter 4: VLSM, Summarization And Troubleshooting TCP/IP Prepared by: Adeel Ahmad Lect. CNET Department. Updated by: Syed Ameen Quadri. Jazan University, Jazan.

Chapter 4 Objectives The CCENT Topics Covered in this chapter include: IP addressing (IPv4 / IPv6) Identify the appropriate IPv4 addressing scheme using VLSM and summarization to satisfy addressing requirements in a LAN/WAN environment. Troubleshooting Troubleshoot and correct common problems associated with IP addressing and host configurations. 2

What is VLSM? VLSM Stands for Variable Length Subnet Mask. It means that we can vary the length of subnet mask. We know that subnetting is splitting of a network into multiple networks, so as to avoid the wastage of IP Address. VLSM is also a part of subnetting only, or you may say that it is an advance step of subnetting. By using VLSM we can even reduce the wastage of IP Address. To understand this concept, we will take an example.

Here is our network… In this scenario, we have some LANs and some are connected to WAN, total 5 networks. That is 4 LAN and 1 WAN. Requirement : 1 LAN 30 IPs Address, 1 LAN 20s IP Address, 1 LAN 10s IP Address, 1 LAN 04 IPs Address & 1 WAN only 2 IPs address.

Network requirement diagram Required Host - 10 IP 200.10.20.0/24 Required Host - 04 Required Host - 02 Required Host - 30 Required Host - 20

First step… The IP address given in the example is 200.10.20.0 /24, it is a class C, with default mask. So we have divided it with size greater then or equal to 30. so we will get the subnet as follows. 200.10.20.32 /27 200.10.20.64 /27 200.10.20.96 /27 200.10.20.128 /27 200.10.20.160 /27 By using this method, we have divided one IP into 5 different subnets, that is – 32, 64, 96, 128 & 160

Solution continue…. Then also wastage of IP is there, because in one network we need only 2 host, we have all subnets of 30 hosts, that means 28 are waste. To reduce it again further, the procedure is VLSM, by using this method we can even reduce the wastage of IPs. And it can be used in more efficient way.

Revise the old formula. Number of Subnet / Host = 2n – 2 Where n = Number of bits taken from network Block size = 256 – Mask And remember this table for quick reference.

Our equation is…. Total 5 subnet. 1 subnet - 30 Hosts

Start subnetting for 30 Hosts Our IP address is 200.10.20.0 /24 Default subnet mask is 255.255.255.0 and its binary is 11111111.11111111.11111111.00000000 Now we need Number of Hosts required = > 30 2n – 2 = > 30, so we will take different values of n and check it for the condition of >= 30. 21 – 2 = 0 < 30, Not satisfied, 22 – 2 = 2 < 30, Not satisfied 23 – 2 = 6 < 30, Not satisfied, 24 – 2 = 14 < 30, Not satisfied 25 – 2 = 30 = 30, Satisfied, From this the value of n = 5, then Mask is 11111111.11111111.11111111.11100000 that is New subnet mask is 255.255.255.224 and in CIDR it is /27 And the block size is 256 – 224 = 32 So the subnet will be…

New subnet will be like this… Subnet 0 – 200.10.20.0 /27 (Reserved) Subnet 1 Net Add. – 200.10.20.32 /27 Host – 200.10.20.33 /27 Host – 200.10.20.62 /27 Subnet 1 Br. Add. – 200.10.20.63 /27 Subnet 2 Net Add. – 200.10.20.34 This subnet we have created for 30 Hosts.

Our equation is…. Total 5 subnet. 1 subnet - 30 Hosts [Over]

Next subnet for 20 Hosts… Our IP address is 200.10.20.64 /27 Default subnet mask is 255.255.255.0 and its binary is 11111111.11111111.11111111.00000000 Now we need Number of Hosts required = > 20 2n – 2 = > 20, so we will take different values of n and check it for the condition of >= 20. 21 – 2 = 0 < 20, Not satisfied, 22 – 2 = 2 < 20, Not satisfied 23 – 2 = 6 < 20, Not satisfied, 24 – 2 = 14 < 20, Not satisfied 25 – 2 = 30 > 20, Satisfied, From this the value of n = 5, then Mask is 11111111.11111111.11111111.11100000 that is New subnet mask is 255.255.255.224 and in CIDR it is /27 And the block size is 256 – 224 = 32 So the subnet will be…

Second subnet… Subnet 1 Br. Add – 200.10.20.63 /27 Subnet 2 Net Add. – 200.10.20.64 /27 Host – 200.10.20.35 /27 Host – 200.10.20.94 /27 Subnet 2 Br. Add. – 200.10.20.95 /27 Subnet 3 Net Add – 200.10.20.96 /27 This subnet we have created for 30 Hosts, which is near to 20 Hosts.

Up to this point we created 2 subnets 200.10.20.32 /27 200.10.20.63 /27 200.10.20.64 /27 200.10.20.95 /27 For 30 Hosts For 20 Hosts

Our equation is…. Total 5 subnet. 1 subnet - 30 Hosts [Over]

Next subnet for 10 Hosts… Our IP address is 200.10.20.96 Default subnet mask is 255.255.255.0 and its binary is 11111111.11111111.11111111.00000000 Now we need Number of Hosts required = > 10 2n – 2 = > 10, so we will take different values of n and check it for the condition of >= 10. 21 – 2 = 0 < 10, Not satisfied, 22 – 2 = 2 < 10, Not satisfied 23 – 2 = 6 < 10, Not satisfied, 24 – 2 = 14 > 10, Satisfied, From this the value of n = 4, then Mask is 11111111.11111111.11111111.11110000 that is New subnet mask is 255.255.255.240 and in CIDR it is /28 And the block size is 256 – 240 = 16 So the subnet will be…

Second subnet… Subnet 2 Br. Add – 200.10.20.95 /27 Subnet 3 Net Add. – 200.10.20.96 /28 Host – 200.10.20.97 /28 Host – 200.10.20.110 /28 Subnet 3 Br. Add. – 200.10.20.111 /28 Subnet 4 Net Add. – 200.10.20.112 This subnet we have created for 16 Hosts, which is near to 10 Hosts.

Up to this point we created 3 subnets 200.10.20.32 /27 200.10.20.63 /27 200.10.20.64 /27 200.10.20.95 /27 200.10.20.96 /28 200.10.20.111 /28 For 30 Hosts For 20 Hosts For 10 Hosts

Our equation is…. Total 5 subnet. 1 subnet - 30 Hosts [Over]

Next subnet for 04 Hosts… Our IP address is 200.10.20.112 Default subnet mask is 255.255.255.0 and its binary is 11111111.11111111.11111111.00000000 Now we need Number of Hosts required = > 04 2n – 2 = > 04, so we will take different values of n and check it for the condition of >= 04. 21 – 2 = 0 < 04, Not satisfied, 22 – 2 = 2 < 04, Not satisfied 23 – 2 = 6 > 04, Satisfied, From this the value of n = 3, then Mask is 11111111.11111111.11111111.11111000 that is New subnet mask is 255.255.255.248 and in CIDR it is /29 And the block size is 256 – 240 = 8 So the subnet will be…

Second subnet… Subnet 3 Br. Add – 200.10.20.111 /29 Subnet 4 Net Add. – 200.10.20.112 /29 Host – 200.10.20.113 /29 Host – 200.10.20.118 /29 Subnet 4 Br. Add. – 200.10.20.119 /29 Subnet 5 Net Add. – 200.10.20.120 This subnet we have created for 08 Hosts, which is near to 04 Hosts.

Up to this point we created 4 subnets 200.10.20.32 /27 200.10.20.63 /27 200.10.20.64 /27 200.10.20.95 /27 200.10.20.96 /28 200.10.20.111 /28 200.10.20.112 /29 200.10.20.119 /29 For 30 Hosts For 20 Hosts For 10 Hosts For 04 Hosts

Our equation is…. Total 5 subnet. 1 subnet - 30 Hosts [Over]

Next subnet for 02 Hosts… Our IP address is 200.10.20.120 Default subnet mask is 255.255.255.0 and its binary is 11111111.11111111.11111111.00000000 Now we need Number of Hosts required = > 02 2n – 2 = > 02, so we will take different values of n and check it for the condition of >= 02. 21 – 2 = 0 < 02, Not satisfied, 22 – 2 = 2 , Satisfied, From this the value of n = 2, then Mask is 11111111.11111111.11111111.11111100 that is New subnet mask is 255.255.255.252 and in CIDR it is /30 And the block size is 256 – 252 = 4 So the subnet will be…

Second subnet… Subnet 4 Br. Add – 200.10.20.119 /29 Subnet 5 Net Add. – 200.10.20.120 /30 Host – 200.10.20.121 /30 Host – 200.10.20.122 /30 Subnet 5 Br. Add. – 200.10.20.123 /30 Subnet 6 Net Add. – 200.10.20.124 This subnet we have created for 02 Hosts. In this way by using VLSM we have done subnetting to save the wastage of IPs…… 2 Hosts

Up to this point we created 4 subnets 200.10.20.32 /27 200.10.20.63 /27 200.10.20.64 /27 200.10.20.95 /27 200.10.20.96 /28 200.10.20.111 /28 200.10.20.112 /29 200.10.20.119 /29 For 30 Hosts For 20 Hosts For 10 Hosts For 04 Hosts For 02 Hosts

We have completed subnetting by VLSM. Total 5 subnet. 1 subnet - 30 Hosts [Over] 1 subnet - 20 Hosts [Over] 1 subnet - 10 Hosts [Over] 1 subnet - 04 Hosts [Over] 1 subnet - 02 Hosts [Over]

Figure 4.2: Classless network design Now remember that we can use different size masks on each router interface. If we use a /30 on our WAN links and a /27, /28, and /29 on our LANs, we’ll get 2 hosts per WAN interface and 30, 14, and 6 hosts per LAN interface

Figure 4.3: The VLSM table

Figure 4.4: VLSM network Ex – 1. In Figure 5.4, we have four WAN links and four LANs connected together, so we need to create a VLSM network that will save address space. Looks like we have two block sizes of 32, a block size of 16, and a block size of 8, and our WANs each have a block size of 4.

Figure 4.5: VLSM table Ex – 1.

Figure 4.6: VLSM network Ex – 2. Figure 5.6 shows a network with 11 networks, two block sizes of 64, one of 32, five of 16, and three of 4.

Figure 4.7: VLSM table Ex – 2.

Figure 4.8: Summary address used in an internetwork Figure 4.8 shows how a summary address would be used in an internetwork.

Figure 4.9: Summarization Ex – 4. The Ethernet networks connected to router R1 are being summarized to R2 as 192.168.144.0/20. Which IP addresses will R2 forward to R1 according to this summary?

Figure 4.10: Summarization Ex – 5. Okay, last one. In Figure 4.10, there are five networks connected to router R1. What’s the best summary address to R2?

Figure 4.10: Basic IP troubleshooting

Here are the four troubleshooting steps Cisco recommends: 1. Open a Command window and ping 127.0.0.1. This is the diagnostic, or loopback, address, and if you get a successful ping, your IP stack is considered initialized. If it fails, then you have an IP stack failure and need to reinstall TCP/IP on the host. 2. From the Command window, ping the IP address of the local host If that’s successful, your network interface card (NIC) is functioning. If it fails, there is a problem with the NIC. Success here doesn’t just mean that a cable is plugged into the NIC, only that the IP protocol stack on the host can communicate to the NIC via the LAN driver. 3. From the CMD window, ping the default gateway (router). If the ping works, it means that the NIC is plugged into the network and can communicate on the local network. If it fails, you have a local physical network problem that could be anywhere from the NIC to the router. 4. If steps 1 through 3 were successful, try to ping the remote server. If that works, then you know that you have IP communication between the local host and the remote server. You also know that the remote physical network is working.

Written Labs and Review Questions Read through the Exam Essentials section together in class Open your books and go through all the written labs and the review questions. Review the answers in class. http://www.powershow.com/view/1d88a3-NjQwN/Subnetting_and_Variable_Length_Subnet_Masks_powerpoint_ppt_presentation 40

Thank U!!!