SlideShare ist ein Scribd-Unternehmen logo
1 von 13
CIDR
Classless Inter-Domain Routing
2
Address Allocation Problem
• Exhaustion of the class B network address space
• The lack of a network class of size which is
appropriate for mid-sizes organization
– class C, with a max of 254 hosts, too small
– While class B, with a max of 65534 hosts, too
large
• Allocate block of class C instead and downside is
more routes entry in routing table
CIDR - Classless Interdomain Routing
• Goals:
– Restructure IP address assignments to increase efficiency
– Hierarchical routing aggregation to minimize route table
entries
Key Concept: The length of the network id (prefix) in IP
addresses is arbitrary/flexible and is defined by the
network hierarchy.
• Consequence:
– Routers use the IP address and the length of the prefix for
forwarding.
– All advertised IP addresses must include a prefix
CIDR Example
• CIDR notation of a network address:
192.0.2.0/18
• "18" says that the first 18 bits are the network part of the
address
• The network part is called the network prefix
• Example:
– Assume that a site requires an IP network domain that can support 1000 IP
host addresses
– With CIDR, the network is assigned a continuous block of 1024 = 210 (>1000)
addresses with a 32-10 = 22-bit long prefix
IPv6 vs. IPv4: Address Comparison
• IPv4 has a maximum of
232  4 billion addresses
• IPv6 has a maximum of
2128 = (232)4  4 billion x 4 billion x 4 billion x 4 billion
addresses
Notation of IPv6 addresses
• Convention: The 128-bit IPv6 address is written as
eight 16-bit integers (using hexadecimal digits for
each integer)
CEDF:BP76:3245:4464:FACE:2E50:3025:DF12
• Short notation:
• Abbreviations of leading zeroes:
CEDF:BP76:0000:0000:009E:0000:3025:DF12
 CEDF:BP76:0:0:9E :0:3025:DF12
• “:0000:0000” can be written as “::”
CEDF:BP76:0:0:FACE:0:3025:DF12  CEDF:BP76::FACE:0:3025:DF12
• IPv6 addresses derived from IPv4 addresses have different formats. Convention
allows to use IPv4 notation for the last 32 bits.
128.143.137.144 -> 0:0:0:0:0:ffff:808F:8990 or
128.143.137.144 -> 2002:808f:8990:0:0:0:0:0 (called 6to4 address)
IPv6 Provider-Based Addresses
• The first IPv6 addresses will be allocated to a provider-
based plan
• Type: Set to “010” for provider-based addresses
• Registry: identifies the agency that registered the
address
The following fields have a variable length (recommeded length in “()”)
• Provider: Id of Internet access provider (16 bits)
• Subscriber: Id of the organization at provider (24 bits)
• Subnetwork: Id of subnet within organization (32 bits)
• Interface: identifies an interface at a node (48 bits)
Registry
ID
Provider
ID
010
Subscriber
ID
Interface
ID
Subnetwork
ID
More on IPv6 Addresses
• The provider-based addresses have a similar
flavor as CIDR addresses
• IPv6 provides address formats for:
– Unicast – identifies a single interface
– Multicast – identifies a group. Datagrams sent to a
multicast address are sent to all members of the
group
– Anycast – identifies a group. Datagrams sent to an
anycast address are sent to one of the members in the
group.
10
Packet Forwarding
11
Hop-by-Hop Packet Forwarding
• Each router has a forwarding table
– Maps destination addresses…
– … to outgoing interfaces
• Upon receiving a packet
– Inspect the destination IP address in the header
– Index into the table
– Determine the outgoing interface
– Forward the packet out that interface
• Then, the next router in the path repeats
– And the packet travels along the path to the
destination
12
Separate Entry Per 24-bit Prefix
• If the router had an entry per 24-bit prefix
– Look only at the top 24 bits of the destination address
– Index into the table to determine the next-hop interface
host host host
LAN 1
...
host host host
LAN
...
router router router
WAN WAN
1.2.3.4 1.2.3.7 1.2.3.156 5.6.7.8 5.6.7.9 5.6.7.212
1.2.3.0/24
5.6.7.0/24
forwarding table
13
Separate Entry Classful Address
• If the router had an entry per classful prefix
– Mixture of Class A, B, and C addresses
– Depends on the first couple of bits of the destination
• Identify the mask automatically from the address
– First bit of 0: class A address (/8)
– First two bits of 10: class B address (/16)
– First three bits of 110: class C address (/24)
• Then, look in the forwarding table for the match
– E.g., 1.2.3.4 maps to 1.2.3.0/24
– Then, look up the entry for 1.2.3.0/24
– … to identify the outgoing interface
Longest Prefix Match Forwarding
• Forwarding tables in IP routers
– Maps each IP prefix to next-hop link(s)
• Destination-based forwarding
– Packet has a destination address
– Router identifies longest-matching prefix
– Cute algorithmic problem: very fast lookups
4.0.0.0/8
4.83.128.0/17
201.10.0.0/21
201.10.6.0/23
126.255.103.0/24
201.10.6.17
destination
forwarding table
Serial0/0.1
outgoing link

Weitere ähnliche Inhalte

Was ist angesagt? (20)

IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6
 
Ip address
Ip addressIp address
Ip address
 
Sub Netting
Sub NettingSub Netting
Sub Netting
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
 
Routing
RoutingRouting
Routing
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
Routing Presentation
Routing PresentationRouting Presentation
Routing Presentation
 
ccna networking ppt
ccna networking pptccna networking ppt
ccna networking ppt
 
Subnetting
SubnettingSubnetting
Subnetting
 
Acl
AclAcl
Acl
 
Subnet Masks
Subnet MasksSubnet Masks
Subnet Masks
 
Data link layer
Data link layer Data link layer
Data link layer
 
IPV6 Addressing
IPV6 Addressing IPV6 Addressing
IPV6 Addressing
 
IPV4 vs IPV6
IPV4 vs IPV6IPV4 vs IPV6
IPV4 vs IPV6
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 
IP Address
IP AddressIP Address
IP Address
 
The constrained application protocol (CoAP)
The constrained application protocol (CoAP)The constrained application protocol (CoAP)
The constrained application protocol (CoAP)
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer Networks
 
Eigrp.ppt
Eigrp.pptEigrp.ppt
Eigrp.ppt
 

Ähnlich wie Classless inter domain routing

IP and CIDR ipv6 addressing.ppt
IP and CIDR ipv6 addressing.pptIP and CIDR ipv6 addressing.ppt
IP and CIDR ipv6 addressing.pptAkkiKumar26
 
module03-ipaddr.ppt
module03-ipaddr.pptmodule03-ipaddr.ppt
module03-ipaddr.pptImXaib
 
this is a presentationon ip and cidr.ppt
this is a presentationon ip and cidr.pptthis is a presentationon ip and cidr.ppt
this is a presentationon ip and cidr.pptBlackHat41
 
network-addressing.pptx
network-addressing.pptxnetwork-addressing.pptx
network-addressing.pptxFidaBaloch8
 
Basics of Network Layer and Transport Layer
Basics of Network Layer and Transport LayerBasics of Network Layer and Transport Layer
Basics of Network Layer and Transport LayerRubal Sagwal
 
Microsoft Offical Course 20410C_05
Microsoft Offical Course 20410C_05Microsoft Offical Course 20410C_05
Microsoft Offical Course 20410C_05gameaxt
 
Lecture 3 network layer
Lecture 3 network layerLecture 3 network layer
Lecture 3 network layerRonoh Kennedy
 
Chap2. ipv4-arp-icmp
Chap2. ipv4-arp-icmpChap2. ipv4-arp-icmp
Chap2. ipv4-arp-icmp東原 李
 
8-Lect_8 Addressing the Network.tcp.pptx
8-Lect_8 Addressing the Network.tcp.pptx8-Lect_8 Addressing the Network.tcp.pptx
8-Lect_8 Addressing the Network.tcp.pptxZahouAmel1
 
Network_Layer_and_Internet_Protocols_IPv.pptx
Network_Layer_and_Internet_Protocols_IPv.pptxNetwork_Layer_and_Internet_Protocols_IPv.pptx
Network_Layer_and_Internet_Protocols_IPv.pptx20CE112YASHPATEL
 

Ähnlich wie Classless inter domain routing (20)

Module3
Module3Module3
Module3
 
IP and CIDR ipv6 addressing.ppt
IP and CIDR ipv6 addressing.pptIP and CIDR ipv6 addressing.ppt
IP and CIDR ipv6 addressing.ppt
 
module03-ipaddr.ppt
module03-ipaddr.pptmodule03-ipaddr.ppt
module03-ipaddr.ppt
 
this is a presentationon ip and cidr.ppt
this is a presentationon ip and cidr.pptthis is a presentationon ip and cidr.ppt
this is a presentationon ip and cidr.ppt
 
Ramakant tyagi presentation on ip addressing
Ramakant tyagi presentation on ip addressingRamakant tyagi presentation on ip addressing
Ramakant tyagi presentation on ip addressing
 
IP Address
IP AddressIP Address
IP Address
 
network-addressing.pptx
network-addressing.pptxnetwork-addressing.pptx
network-addressing.pptx
 
Basics of Network Layer and Transport Layer
Basics of Network Layer and Transport LayerBasics of Network Layer and Transport Layer
Basics of Network Layer and Transport Layer
 
IPV6.ppt
IPV6.pptIPV6.ppt
IPV6.ppt
 
Microsoft Offical Course 20410C_05
Microsoft Offical Course 20410C_05Microsoft Offical Course 20410C_05
Microsoft Offical Course 20410C_05
 
Chapter6
Chapter6Chapter6
Chapter6
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
Lecture 3 network layer
Lecture 3 network layerLecture 3 network layer
Lecture 3 network layer
 
Chap2. ipv4-arp-icmp
Chap2. ipv4-arp-icmpChap2. ipv4-arp-icmp
Chap2. ipv4-arp-icmp
 
8-Lect_8 Addressing the Network.tcp.pptx
8-Lect_8 Addressing the Network.tcp.pptx8-Lect_8 Addressing the Network.tcp.pptx
8-Lect_8 Addressing the Network.tcp.pptx
 
Network_Layer_and_Internet_Protocols_IPv.pptx
Network_Layer_and_Internet_Protocols_IPv.pptxNetwork_Layer_and_Internet_Protocols_IPv.pptx
Network_Layer_and_Internet_Protocols_IPv.pptx
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Ipv4 address
Ipv4 addressIpv4 address
Ipv4 address
 
gofortution
gofortutiongofortution
gofortution
 
Network.pptx
Network.pptxNetwork.pptx
Network.pptx
 

Kürzlich hochgeladen

Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsSachinPawar510423
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxVelmuruganTECE
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptNarmatha D
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadaditya806802
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 

Kürzlich hochgeladen (20)

Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documents
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptx
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.ppt
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasad
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 

Classless inter domain routing

  • 2. 2 Address Allocation Problem • Exhaustion of the class B network address space • The lack of a network class of size which is appropriate for mid-sizes organization – class C, with a max of 254 hosts, too small – While class B, with a max of 65534 hosts, too large • Allocate block of class C instead and downside is more routes entry in routing table
  • 3. CIDR - Classless Interdomain Routing • Goals: – Restructure IP address assignments to increase efficiency – Hierarchical routing aggregation to minimize route table entries Key Concept: The length of the network id (prefix) in IP addresses is arbitrary/flexible and is defined by the network hierarchy. • Consequence: – Routers use the IP address and the length of the prefix for forwarding. – All advertised IP addresses must include a prefix
  • 4. CIDR Example • CIDR notation of a network address: 192.0.2.0/18 • "18" says that the first 18 bits are the network part of the address • The network part is called the network prefix • Example: – Assume that a site requires an IP network domain that can support 1000 IP host addresses – With CIDR, the network is assigned a continuous block of 1024 = 210 (>1000) addresses with a 32-10 = 22-bit long prefix
  • 5. IPv6 vs. IPv4: Address Comparison • IPv4 has a maximum of 232  4 billion addresses • IPv6 has a maximum of 2128 = (232)4  4 billion x 4 billion x 4 billion x 4 billion addresses
  • 6. Notation of IPv6 addresses • Convention: The 128-bit IPv6 address is written as eight 16-bit integers (using hexadecimal digits for each integer) CEDF:BP76:3245:4464:FACE:2E50:3025:DF12 • Short notation: • Abbreviations of leading zeroes: CEDF:BP76:0000:0000:009E:0000:3025:DF12  CEDF:BP76:0:0:9E :0:3025:DF12 • “:0000:0000” can be written as “::” CEDF:BP76:0:0:FACE:0:3025:DF12  CEDF:BP76::FACE:0:3025:DF12 • IPv6 addresses derived from IPv4 addresses have different formats. Convention allows to use IPv4 notation for the last 32 bits. 128.143.137.144 -> 0:0:0:0:0:ffff:808F:8990 or 128.143.137.144 -> 2002:808f:8990:0:0:0:0:0 (called 6to4 address)
  • 7. IPv6 Provider-Based Addresses • The first IPv6 addresses will be allocated to a provider- based plan • Type: Set to “010” for provider-based addresses • Registry: identifies the agency that registered the address The following fields have a variable length (recommeded length in “()”) • Provider: Id of Internet access provider (16 bits) • Subscriber: Id of the organization at provider (24 bits) • Subnetwork: Id of subnet within organization (32 bits) • Interface: identifies an interface at a node (48 bits) Registry ID Provider ID 010 Subscriber ID Interface ID Subnetwork ID
  • 8. More on IPv6 Addresses • The provider-based addresses have a similar flavor as CIDR addresses • IPv6 provides address formats for: – Unicast – identifies a single interface – Multicast – identifies a group. Datagrams sent to a multicast address are sent to all members of the group – Anycast – identifies a group. Datagrams sent to an anycast address are sent to one of the members in the group.
  • 10. 11 Hop-by-Hop Packet Forwarding • Each router has a forwarding table – Maps destination addresses… – … to outgoing interfaces • Upon receiving a packet – Inspect the destination IP address in the header – Index into the table – Determine the outgoing interface – Forward the packet out that interface • Then, the next router in the path repeats – And the packet travels along the path to the destination
  • 11. 12 Separate Entry Per 24-bit Prefix • If the router had an entry per 24-bit prefix – Look only at the top 24 bits of the destination address – Index into the table to determine the next-hop interface host host host LAN 1 ... host host host LAN ... router router router WAN WAN 1.2.3.4 1.2.3.7 1.2.3.156 5.6.7.8 5.6.7.9 5.6.7.212 1.2.3.0/24 5.6.7.0/24 forwarding table
  • 12. 13 Separate Entry Classful Address • If the router had an entry per classful prefix – Mixture of Class A, B, and C addresses – Depends on the first couple of bits of the destination • Identify the mask automatically from the address – First bit of 0: class A address (/8) – First two bits of 10: class B address (/16) – First three bits of 110: class C address (/24) • Then, look in the forwarding table for the match – E.g., 1.2.3.4 maps to 1.2.3.0/24 – Then, look up the entry for 1.2.3.0/24 – … to identify the outgoing interface
  • 13. Longest Prefix Match Forwarding • Forwarding tables in IP routers – Maps each IP prefix to next-hop link(s) • Destination-based forwarding – Packet has a destination address – Router identifies longest-matching prefix – Cute algorithmic problem: very fast lookups 4.0.0.0/8 4.83.128.0/17 201.10.0.0/21 201.10.6.0/23 126.255.103.0/24 201.10.6.17 destination forwarding table Serial0/0.1 outgoing link