- Classful vs. Classless Routing -



Similar documents
- IGRP - IGRP v1.22 Aaron Balchunas

- Routing Information Protocol -

VLSM and CIDR Malin Bornhager Halmstad University

Router and Routing Basics

Configuring a Gateway of Last Resort Using IP Commands

Packet Tracer 3 Lab VLSM 2 Solution

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

Administrative Distance

Vocia MS-1 Network Considerations for VoIP. Vocia MS-1 and Network Port Configuration. VoIP Network Switch. Control Network Switch

O /27 [110/129] via , 00:00:05, Serial0/0/1

Variable length subnetting

IP Addressing A Simplified Tutorial

Using OSPF in an MPLS VPN Environment

Introduction to Dynamic Routing Protocols

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

Teldat Router. ARP Proxy

OSPF Configuring Multi-Area OSPF

Advanced IP Addressing

ITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1

Sample Configuration Using the ip nat outside source list C

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


Cisco Discovery 3: Introducing Routing and Switching in the Enterprise hours teaching time

Sample Configuration Using the ip nat outside source static

Network Simulator Lab Study Plan

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

Chapter 10 Link-State Routing Protocols

Transitioning to BGP. ISP Workshops. Last updated 24 April 2013

Chapter 1 Implement EIGRP operations Chapter 2 Implement multiarea OSPF operations Chapter 4 Implement Cisco IOS routing features...

Table of Contents. Cisco How Does Load Balancing Work?

Part2. Chapter 8. Advanced TCP/IP Network Design - CLASSLESS ADDRESSING AND VARIABLE- LENGTH SUBNET MASKS

Cisco Configuring Commonly Used IP ACLs

Session Title: Exploring Packet Tracer v5.3 IP Telephony & CME. Scenario

Internetworking and Internet-1. Global Addresses

IP Subnetting and Addressing

Cisco Configuring Basic MPLS Using OSPF

Route Optimization. rek Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 1

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

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

- Route Filtering and Route-Maps -

- IPv4 Addressing and Subnetting -

VLSMs, Summarization, and Troubleshooting TCP/IP. Chapter. IP addressing (IPv4 / IPv6) Troubleshooting

Skills Assessment Student Training Exam

How To Configure InterVLAN Routing on Layer 3 Switches

Internet Protocol Address

04 Internet Protocol (IP)

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

ICS 351: Today's plan

Routing with OSPF. Introduction

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

Layer 3 Routing User s Manual

CCT vs. CCENT Skill Set Comparison

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Lab Configuring OSPF with Loopback Addresses

Interconnecting Cisco Network Devices 1 Course, Class Outline

FINAL ASSESSMENT/EXAMINATION JULY 2015 PLEASE READ ALL INSTRUCTIONS CAREFULLY BEFORE YOU BEGIN THIS EXAMINATION

Network-Wide Change Management Visibility with Route Analytics

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

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

Understanding Route Aggregation in BGP

CompTIA Exam N CompTIA Network+ certification Version: 5.1 [ Total Questions: 1146 ]

(Refer Slide Time: 02:17)

Enabling NAT and Routing in DGW v2.0 June 6, 2012

This chapter discusses the following advanced IP addressing topics: IP Address Planning Hierarchical Addressing Using Variable-Length Subnet Masks

DG Forwarding Algorithm

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

VLSM Static routing. Computer networks. Seminar 5

Juniper Exam JN0-343 Juniper Networks Certified Internet Specialist (JNCIS-ENT) Version: 10.1 [ Total Questions: 498 ]

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

Internet Protocol version 4 Part I

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

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

RARP: Reverse Address Resolution Protocol

Lab Load Balancing Across Multiple Paths Instructor Version 2500

configure WAN load balancing

Introduction to Routing and Packet Forwarding. Routing Protocols and Concepts Chapter 1

21.4 Network Address Translation (NAT) NAT concept

CCNA : Cisco Certified Network Associate Study Guide, 5th Edition ( ) Todd Lammle

BGP: Border Gateway Protocol

Interconnecting Cisco Networking Devices Part 2

Type of addressing in IPv4

IP Routing Configuring RIP, OSPF, BGP, and PBR

SURF Feed Connection Guide

Routing Protocols OSPF CHAPTER. The following topics describe supported routing protocols. Topics include OSPF, page 9-1 IS-IS Protocol, page 9-3

CIDR: Classless Interdomain Routing

Objectives. Router as a Computer. Router components and their functions. Router components and their functions

What is VLAN Routing?

Cisco Networking Professional-6Months Project Based Training

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

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

During this lab time you will configure the routing protocol OSPF with IPv4 addresses.

Lab#2: IP Addressing and Subnetting

Savera Tanwir. Internet Protocol

OSPF Version 2 (RFC 2328) Describes Autonomous Systems (AS) topology. Propagated by flooding: Link State Advertisements (LSAs).

IP-6600 Router Configuration Quickstart Backing Up a Broadband Connection with Dialup

Lab Load Balancing Across Multiple Paths

Interconnecting Cisco Networking Devices: Accelerated (CCNAX) 2.0(80 Hs) 1-Interconnecting Cisco Networking Devices Part 1 (40 Hs)

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

Transcription:

lassful vs lassless outing v1.10 Aaron Balchunas 1 - lassful vs. lassless outing - lassful vs lassless routing protocols lassful routing protocols do not send subnet mask information with their routing updates. A router running a classful routing protocol will react in one of two ways when receiving a route: If the router has a directly connected interface belonging to the same major network, it will apply the same subnet mask as that interface. If the router does not have any interfaces belonging to the same major network, it will apply the classful subnet mask to the route. Belonging to same major network simply indicates that they belong to the same classful network. For example: 10.3.1.0 and 10.5.5.0 belong to the same major network (10.0.0.0) 10.1.4.5 and 11.1.4.4 do not belong to the same major network 192.168.1.1 and 192.168.1.254 belong to the same major network (192.168.1.0) 192.168.1.5 and 192.167.2.5 do not belong to the same major network. Take the following example (assume the routing protocol is classful): If outer B sends a routing update to outer A, it will not include the subnet mask for the 10.2.0.0 network. Thus, outer A must make a decision. If outer A has a directly connected interface that belongs to the same major network (10.0.0.0), it will use the subnet mask of that interface for the route. For example, if outer A has an interface on the 10.4.0.0/16 network, it will apply a subnet mask of /16 to the 10.2.0.0 network. If outer A does not have a directly connected interfacing belonging to the same major network, it will apply the classful subnet mask of /8. This can obviously cause routing difficulties. When using classful routing protocols, the subnet mask must remain consistent throughout your entire network.

lassful vs lassless outing v1.10 Aaron Balchunas 2 lassful vs lassless routing protocols (continued) lassless routing protocols do send the subnet mask with their updates. Thus, Variable Length Subnet Masks (VLSMs) are allowed when using classless routing protocols. Examples of classful routing protocols include IPv1 and IGP. Examples of classless routing protocols include IPv2, EIGP, OSPF, and IS-IS. The IP lassless ommand The preceding section described how classful and classless protocols differ when sending routing updates. Additionally, the router itself can operate either classfully or classlessly when actually routing data. When a classful router has an interface connected to a major network, it believes it knows all routes connected to that major network. For example, a router may have an interface attached to the 10.1.5.0/24 network. It may also have routes from a routing protocol, also for the 10.x.x.x network. However, if the classful router receives a packet destined for a 10.x.x.x subnet that is not in the routing table, it will drop that packet, even if there is a default route. Again, a classful router believes it knows all possible destinations in a major network. To configure your router in classful mode: outer(config)# no ip classless To configure your router in classless mode (this is default in IOS 12.0 and greater): outer(config)# ip classless (eference: http://www.cisco.com/en/us/tech/tk365/technologies_tech_note09186a0080094823.shtml)

lassful vs lassless outing v1.10 Aaron Balchunas 3 Limitations of lassful outing Example The following section will illustrate the limitations of classful routing, using IPv1 as an example. onsider the following diagram: This particular scenario will work when using IPv1, despite the fact that we ve subnetted the major 10.0.0.0 network. Notice that the subnets are contiguous (that is, they belong to the same major network), and use the same subnet mask. When outer A sends a IPv1 update to outer B via Serial0, it will not include the subnet mask for the 10.1.0.0 network. However, because the 10.3.0.0 network is in the same major network as the 10.1.0.0 network, it will not summarize the address. The route entry in the update will simply state 10.1.0.0. outer B will accept this routing update, and realize that the interface receiving the update (Serial0) belongs to the same major network as the route entry of 10.1.0.0. It will then apply the subnet mask of its Serial0 interface to this route entry. outer will similarly send an entry for the 10.2.0.0 network to outer B. outer B s routing table will thus look like: outerb# show ip route 10.0.0.0/16 is subnetted, 4 subnets 10.3.0.0 is directly connected, Serial0 10.4.0.0 is directly connected, Serial1 10.1.0.0 [120/1] via 10.3.5.1, 00:00:00, Serial0 10.2.0.0 [120/1] via 10.4.5.1, 00:00:00, Serial1

lassful vs lassless outing v1.10 Aaron Balchunas 4 Limitations of lassful outing Example onsider the following, slightly altered, example: We ll assume that IPv1 is configured correctly on all routers. Notice that our networks are no longer contiguous. Both outer A and outer contain subnets of the 10.0.0.0 major network (10.1.0.0 and 10.2.0.0 respectively). Separating these networks now are two lass subnets (192.168.123.0 and 192.168.111.0). Why is this a problem? Again, when outer A sends a IPv1 update to outer B via Serial, it will not include the subnet mask for the 10.1.0.0 network. Instead, outer A will consider itself a border router, as the 10.1.0.0 and 192.168.123.0 networks do not belong to the same major network. outer A will summarize the 10.1.0.0/16 network to its classful boundary of 10.0.0.0/8. outer B will accept this routing update, and realize that it does not have a directly connected interface in the 10.x.x.x scheme. Thus, it has no subnet mask to apply to this route. Because of this, outer B will install the summarized 10.0.0.0 route into its routing table. outer, similarly, will consider itself a border router between networks 10.2.0.0 and 192.168.111.0. Thus, outer will also send a summarized 10.0.0.0 route to outer B.

lassful vs lassless outing v1.10 Aaron Balchunas 5 Limitations of lassful outing Example outer B s routing table will then look like: outerb# show ip route 192.168.123.0 is directly connected, Serial0 192.168.111.0 is directly connected, Serial1 10.0.0.0 [120/1] via 192.168.123.1, 00:00:00, Serial0 [120/1] via 192.168.111.2, 00:00:00, Serial1 That s right, outer B now has two equal metric routes to get to the summarized 10.0.0.0 network, one through outer A and the other through outer. outer B will now load balance all traffic to any 10.x.x.x network between routers A and. Suffice to say, this is not a good thing. It gets better. outer B then tries to send routing updates to outer A and outer, including the summary route of 10.0.0.0/8. outer A s routing table looks like: outera# show ip route 192.168.123.0 is directly connected, Serial0 10.0.0.0/16 is subnetted, 1 subnet 10.1.0.0 is directly connected, Ethernet0 outer A will receive the summarized 10.0.0.0/8 route from outer B, and will reject it. This is because it already has the summary network of 10.0.0.0 in its routing table, and it s directly connected. outer will respond exactly the same, and the 10.1.0.0/16 and 10.2.0.0/16 networks will never be able to communicate.