SlideShare a Scribd company logo
Connecting DevicesConnecting Devices
and Multi-Homed Machinesand Multi-Homed Machines
Layer 1 (Physical) DevicesLayer 1 (Physical) Devices
Repeater:Repeater:

Extends distances by repeating a signalExtends distances by repeating a signal

Any slight variations in the carrier wave for individualAny slight variations in the carrier wave for individual
bits is corrected when the carrier wave is reproducedbits is corrected when the carrier wave is reproduced
Hub:Hub:

As above, but re-creates the carrier wave on multipleAs above, but re-creates the carrier wave on multiple
portsports

Hubs do not decide whether or not to copy data, theyHubs do not decide whether or not to copy data, they
do it (necessary or unnecessary)do it (necessary or unnecessary)

All ports are part of the same collision domainAll ports are part of the same collision domain
With a hub as the centre of the star, any 2 hosts can haveWith a hub as the centre of the star, any 2 hosts can have
frame collisionsframe collisions
Layer 2 (Data Link) DevicesLayer 2 (Data Link) Devices
Layer 2 switch:Layer 2 switch:

Serves the same purpose as a hubServes the same purpose as a hub

Can dynamically determine if a frame should be placed on a portCan dynamically determine if a frame should be placed on a port
(and which one)(and which one)

The data link layer (e.g. MAC) address is used to make thisThe data link layer (e.g. MAC) address is used to make this
determinationdetermination

A table of MAC addresses and corresponding ports is built usingA table of MAC addresses and corresponding ports is built using
incoming framesincoming frames

Each LAN segment (port) becomes its own collision domainEach LAN segment (port) becomes its own collision domain
Only 2 hosts on the same LAN segment can have frame collisionsOnly 2 hosts on the same LAN segment can have frame collisions
Layer 2 bridgeLayer 2 bridge

As above, but the connected networks do not necessarily haveAs above, but the connected networks do not necessarily have
to be of the same typeto be of the same type
Layer 2/3 DevicesLayer 2/3 Devices
Broadband (Cable/DSL) or Wireless RouterBroadband (Cable/DSL) or Wireless Router

Primarily operates as a layer 2 switch / access pointPrimarily operates as a layer 2 switch / access point

However, theseHowever, these routersrouters often have additional features (some ofoften have additional features (some of
which are in layer 3):which are in layer 3):
Dynamic host configuration (DHCP) – IP address assignment forDynamic host configuration (DHCP) – IP address assignment for
network hosts, for examplenetwork hosts, for example
DNS capability (local or distributed) – Provides naming of hostsDNS capability (local or distributed) – Provides naming of hosts
inside the networkinside the network
IP masquerading – TheIP masquerading – The routerrouter can use one IP given by a broadbandcan use one IP given by a broadband
provider, but allow all of its hosts to use different IPs inside theprovider, but allow all of its hosts to use different IPs inside the
networknetwork
Layer 3 SwitchLayer 3 Switch

Uses layer 3 routing to determine a path for packetsUses layer 3 routing to determine a path for packets

Once a path is found, subsequent packets are switchedOnce a path is found, subsequent packets are switched
This switching typically occurs on layer 2This switching typically occurs on layer 2
These devices will be discussed in more detail laterThese devices will be discussed in more detail later
Layer 3 (Network) DevicesLayer 3 (Network) Devices
Layer 3 BridgeLayer 3 Bridge

A bridge that uses network layer addresses (e.g. IP) in itsA bridge that uses network layer addresses (e.g. IP) in its
forwarding database, instead of data link layer addresses (e.g.forwarding database, instead of data link layer addresses (e.g.
MAC)MAC)

This type of bridge more readily allows different types of networkThis type of bridge more readily allows different types of network
to be joined, since they need not share an address typeto be joined, since they need not share an address type

Cannot handle multiple paths effectively/efficiently: a host isCannot handle multiple paths effectively/efficiently: a host is
either on a given port or it is noteither on a given port or it is not
RouterRouter

Determines routes for each packet using network layerDetermines routes for each packet using network layer
addresses (e.g. IP)addresses (e.g. IP)

Can connect any type of network togetherCan connect any type of network together

Is capable of determining preferred paths where multiple pathsIs capable of determining preferred paths where multiple paths
existexist
RoutersRouters
What is a Router Made of?What is a Router Made of?
A router has many of the sameA router has many of the same
components as your computer:components as your computer:

CPUCPU

MemoryMemory

I/O Interfaces (mostly network interfaces)I/O Interfaces (mostly network interfaces)

Operating SystemOperating System
Routers Through HistoryRouters Through History
Gateways:Gateways:

A computer with installed software to forward packetsA computer with installed software to forward packets

These are obsolete, but were common in the early days ofThese are obsolete, but were common in the early days of
ARPANetARPANet
Routers:Routers:

A computer with specialized hardware and operating systemA computer with specialized hardware and operating system
designed for forwarding packetsdesigned for forwarding packets
Switching Routers:Switching Routers:

A computer with specialized hardware (switching fabric) thatA computer with specialized hardware (switching fabric) that
allows packets to be forwarded directly in hardwareallows packets to be forwarded directly in hardware

The specialized hardware is, in many respects, similar to that ofThe specialized hardware is, in many respects, similar to that of
a switch (e.g. ATM switch)a switch (e.g. ATM switch)
Router HardwareRouter Hardware
Input buffers (one for each network interface):Input buffers (one for each network interface):

Used to store incoming packets before they are processedUsed to store incoming packets before they are processed
Routing processor:Routing processor:

This is often software running on a CPU which:This is often software running on a CPU which:
Maintains and exchanges routing data with other routersMaintains and exchanges routing data with other routers
Controls the switching fabric to forward packetsControls the switching fabric to forward packets

With high-end routers, each network interface may have a localWith high-end routers, each network interface may have a local
routing processor (for forwarding) so that each can forward therouting processor (for forwarding) so that each can forward the
packets in its own input buffer independentlypackets in its own input buffer independently
Switching fabric:Switching fabric:

A network of connections between network interfaces (and theirA network of connections between network interfaces (and their
input and output buffers)input and output buffers)
Output buffers (one for each network interface):Output buffers (one for each network interface):

Used to store outgoing packets after they are processed, butUsed to store outgoing packets after they are processed, but
before the network is available for transmissionbefore the network is available for transmission
Routers: Network InterfacesRouters: Network Interfaces
Often, routers have modularized networkOften, routers have modularized network
interfacesinterfaces

One can add/remove/replace network interfaces asOne can add/remove/replace network interfaces as
needs changeneeds change

Some routers can accept network interface modulesSome routers can accept network interface modules
of different types (e.g. Ethernet, Token Ring)of different types (e.g. Ethernet, Token Ring)

Each network interface would have its own:Each network interface would have its own:
Input bufferInput buffer
Output bufferOutput buffer
Routing processor (in high-end routers)Routing processor (in high-end routers)
Routers: Input BuffersRouters: Input Buffers
The incoming packets of a network interface are placedThe incoming packets of a network interface are placed
in input buffersin input buffers

These are banks of very high speed memory for packet queuingThese are banks of very high speed memory for packet queuing
prior to processingprior to processing

The packet is stored here until the routing processor is availableThe packet is stored here until the routing processor is available
The network interface may have a routing processor,The network interface may have a routing processor,
which would:which would:

…… have a copy of the forwarding table (to prevent concurrenthave a copy of the forwarding table (to prevent concurrent
access)access)

…… lookup the destination address in this forwarding table, tolookup the destination address in this forwarding table, to
determine the correct output portdetermine the correct output port

…… configure the switching fabric to forward the packet to theconfigure the switching fabric to forward the packet to the
correct output buffercorrect output buffer
Low-end routers would share one routing processorLow-end routers would share one routing processor
Routers: Routing ProcessorsRouters: Routing Processors
Routing processors have two functions:Routing processors have two functions:
1.1. Maintain and exchange routing data withMaintain and exchange routing data with
other routers in the networkother routers in the network
Often this involves computing the forwardingOften this involves computing the forwarding
table from data received by other routerstable from data received by other routers
1.1. Use the forwarding table data toUse the forwarding table data to
configure the switching fabric to forwardconfigure the switching fabric to forward
the packet to the correct output portthe packet to the correct output port
Routers: Routing ProcessorsRouters: Routing Processors
A routing processor is software which executesA routing processor is software which executes
on a CPU:on a CPU:

Off-the-shelf CPUOff-the-shelf CPU
These are very inexpensiveThese are very inexpensive
However, the performance of these CPUs is low since theyHowever, the performance of these CPUs is low since they
are not optimized for the types of operations a routerare not optimized for the types of operations a router
typically needs to performtypically needs to perform

Application-Specific Integrated Circuit (ASIC)Application-Specific Integrated Circuit (ASIC)
These are expensive to design (time and money)These are expensive to design (time and money)
They are optimized for typical routing operationsThey are optimized for typical routing operations
High-end routers use these to achieve higher performanceHigh-end routers use these to achieve higher performance
levelslevels
Routers: Switching FabricRouters: Switching Fabric
Switching fabric’s job is to move packetsSwitching fabric’s job is to move packets
from the input buffer into the correct outputfrom the input buffer into the correct output
bufferbuffer

The routing processor determines the correctThe routing processor determines the correct
output port, using the forwarding tableoutput port, using the forwarding table
Routers: Switching FabricRouters: Switching Fabric
Switching fabric comes in 3 major types:Switching fabric comes in 3 major types:

In-memory switching fabric:In-memory switching fabric:
The packets are input into the routing processor’sThe packets are input into the routing processor’s
memory, and output into the correct output buffermemory, and output into the correct output buffer

Bus-based switching fabric:Bus-based switching fabric:
The packets move along a shared bus (similar to aThe packets move along a shared bus (similar to a
network bus) to the correct output buffernetwork bus) to the correct output buffer

Crossbar switching fabric:Crossbar switching fabric:
The packets move along a grid of redundant busesThe packets move along a grid of redundant buses
If any bus fails, alternate paths exist so thatIf any bus fails, alternate paths exist so that
forwarding can continueforwarding can continue
Routers: Output BuffersRouters: Output Buffers
The switching fabric gets the packet to theThe switching fabric gets the packet to the
right output portright output port

However, that port’s network may not beHowever, that port’s network may not be
immediately availableimmediately available

The packets are stored in the output bufferThe packets are stored in the output buffer
until the network is availableuntil the network is available
Router PerformanceRouter Performance
Several methods to improve router performanceSeveral methods to improve router performance
have been discussed:have been discussed:

Use application-specific integrated circuitsUse application-specific integrated circuits
Optimized for routing operationsOptimized for routing operations
Include much routing functionality otherwise executed asInclude much routing functionality otherwise executed as
software (in memory)software (in memory)
Many routing functions can execute in parallel, adding newMany routing functions can execute in parallel, adding new
functionality without decreasing throughputfunctionality without decreasing throughput

Use efficient switching fabricUse efficient switching fabric
Bus or crossbar-based switching fabrics reduce the need forBus or crossbar-based switching fabrics reduce the need for
in-memory processingin-memory processing
MPLSMPLS
Multi-Protocol Label SwitchingMulti-Protocol Label Switching
MPLSMPLS
MPLS is another way to improve routerMPLS is another way to improve router
performanceperformance
Label switching tries to leverage some of theLabel switching tries to leverage some of the
performance of virtual circuit switched networksperformance of virtual circuit switched networks
(e.g. ATM)(e.g. ATM)
Packets are assigned a label upon entering anPackets are assigned a label upon entering an
MPLS networkMPLS network
This label is used (instead of the IP address) forThis label is used (instead of the IP address) for
making forwarding decisionsmaking forwarding decisions
MPLS LabelsMPLS Labels
An MPLS label is an arbitrary valueAn MPLS label is an arbitrary value

This value is typically a numeric identifierThis value is typically a numeric identifier
However, labels could also be the frequency (i.e. colour) ofHowever, labels could also be the frequency (i.e. colour) of
light used in multi-mode optical fibrelight used in multi-mode optical fibre

The label can change from one label-switching routerThe label can change from one label-switching router
(LSR) to the next(LSR) to the next

The label must only be unique for the sending andThe label must only be unique for the sending and
receiving routerreceiving router
IP addresses, in contrast, are usually unique across theIP addresses, in contrast, are usually unique across the
networknetwork

A value could even be chosen to help the routingA value could even be chosen to help the routing
processor choose the correct output portprocessor choose the correct output port
MPLS: SimplifiedMPLS: Simplified
MPLS LSR
MPLS LSR MPLS LSR
MPLS LSR
MPLS LSR
MPLS LSR
Web Server
E-Mail Server
User
MPLS: SimplifiedMPLS: Simplified
MPLS LSR
MPLS LSR MPLS LSR
MPLS LSR
MPLS LSR
MPLS LSR
Web Server
E-Mail Server
User
• Here, the label is shown as colour
• Notice the simplicity of the router’s job:
• Red: Up
• Blue: Right
MPLS: SimplifiedMPLS: Simplified
MPLS LSR
MPLS LSR MPLS LSR
MPLS LSR
MPLS LSR
MPLS LSR
Web Server
E-Mail Server
User
• Notice that two labels can be directed
down the same link
MPLS: Label ValuesMPLS: Label Values
MPLS LSR
MPLS LSR MPLS LSR
MPLS LSR
MPLS LSR
MPLS LSR
Web Server
E-Mail Server
User
• Notice that label values are not
globally unique
• Each pair of routers agrees on a label
7
15
31
7
31
47
MPLS PacketsMPLS Packets
MPLS adds a small pre-header to the start of any IPv4MPLS adds a small pre-header to the start of any IPv4
(or IPv6, IPX, etc.) packet(or IPv6, IPX, etc.) packet

In other words, between the data link and network headersIn other words, between the data link and network headers
Label
20 bits
Class of Service3 bits
Stack1 bit
Hop Limit8 bits
The label value
The QoS class of the packet attached (e.g. discardable?)
Is there a stack of labels?
The hop limit, copied from/to the IP header
MPLS and ATMMPLS and ATM
LSRs can be ATM-enabledLSRs can be ATM-enabled

An LSR can forward a packet (as cells) through anAn LSR can forward a packet (as cells) through an
ATM networkATM network
This can be for any number of hops through the ATMThis can be for any number of hops through the ATM
networknetwork

In this situation the source and destination ATMIn this situation the source and destination ATM
switches must be LSRsswitches must be LSRs
Other switches in between can be normal ATM switches,Other switches in between can be normal ATM switches,
howeverhowever
The source LSR will use AAL segmentation to send the cellsThe source LSR will use AAL segmentation to send the cells
on the ATM network using a VPI/VCI for the destination LSRon the ATM network using a VPI/VCI for the destination LSR
The destination LSR will extract the packet and continueThe destination LSR will extract the packet and continue
transmission using MPLStransmission using MPLS

More Related Content

What's hot

Underlying Technologies Part I (Lecture #4 ET3003 Sem1 2014/2015)
Underlying Technologies Part I (Lecture #4 ET3003 Sem1 2014/2015)Underlying Technologies Part I (Lecture #4 ET3003 Sem1 2014/2015)
Underlying Technologies Part I (Lecture #4 ET3003 Sem1 2014/2015)
Tutun Juhana
 
Routing Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.pptRouting Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.ppt
umardanjumamaiwada
 
Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01
Sachin Morya
 
Ccna day5-140715152501-phpapp01
Ccna day5-140715152501-phpapp01Ccna day5-140715152501-phpapp01
Ccna day5-140715152501-phpapp01
Sachin Morya
 
Spanning Tree Protocol
Spanning Tree ProtocolSpanning Tree Protocol
Spanning Tree Protocol
Manoj Gharate
 
Alp Stp
Alp StpAlp Stp
Alp Stp
Alp isik
 
Ethernet technology
Ethernet technologyEthernet technology
Ethernet technology
Josekutty James
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
N.Jagadish Kumar
 
Lecture 07
Lecture 07Lecture 07
Lecture 07
Anwal Mirza
 
Design and Implementation of Dynamic Routing in Wireless Networks
Design and Implementation of Dynamic Routing in Wireless NetworksDesign and Implementation of Dynamic Routing in Wireless Networks
Design and Implementation of Dynamic Routing in Wireless Networks
Satish Reddy
 
Practice
PracticePractice
Practice
Avinash Singal
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
Bhagyashri Dhoke
 
BASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKSBASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKS
KABILESH RAMAR
 
Juniper Networks Router Architecture
Juniper Networks Router ArchitectureJuniper Networks Router Architecture
Juniper Networks Router Architecture
lawuah
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
NetProtocol Xpert
 
Evolution of Routing Techniques
Evolution of  Routing TechniquesEvolution of  Routing Techniques
Evolution of Routing Techniques
Tusharadri Sarkar
 
Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02
Sachin Morya
 
Routing Protocols
Routing ProtocolsRouting Protocols
Difference b/w STP RSTP PVST & MSTP
Difference b/w STP RSTP PVST & MSTPDifference b/w STP RSTP PVST & MSTP
Difference b/w STP RSTP PVST & MSTP
Netwax Lab
 
communication networks
communication networkscommunication networks
communication networks
Ghana Technology University College
 

What's hot (20)

Underlying Technologies Part I (Lecture #4 ET3003 Sem1 2014/2015)
Underlying Technologies Part I (Lecture #4 ET3003 Sem1 2014/2015)Underlying Technologies Part I (Lecture #4 ET3003 Sem1 2014/2015)
Underlying Technologies Part I (Lecture #4 ET3003 Sem1 2014/2015)
 
Routing Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.pptRouting Technique Table Type by Umar danjuma maiwada.ppt
Routing Technique Table Type by Umar danjuma maiwada.ppt
 
Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01
 
Ccna day5-140715152501-phpapp01
Ccna day5-140715152501-phpapp01Ccna day5-140715152501-phpapp01
Ccna day5-140715152501-phpapp01
 
Spanning Tree Protocol
Spanning Tree ProtocolSpanning Tree Protocol
Spanning Tree Protocol
 
Alp Stp
Alp StpAlp Stp
Alp Stp
 
Ethernet technology
Ethernet technologyEthernet technology
Ethernet technology
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
Lecture 07
Lecture 07Lecture 07
Lecture 07
 
Design and Implementation of Dynamic Routing in Wireless Networks
Design and Implementation of Dynamic Routing in Wireless NetworksDesign and Implementation of Dynamic Routing in Wireless Networks
Design and Implementation of Dynamic Routing in Wireless Networks
 
Practice
PracticePractice
Practice
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
BASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKSBASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKS
 
Juniper Networks Router Architecture
Juniper Networks Router ArchitectureJuniper Networks Router Architecture
Juniper Networks Router Architecture
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Evolution of Routing Techniques
Evolution of  Routing TechniquesEvolution of  Routing Techniques
Evolution of Routing Techniques
 
Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Difference b/w STP RSTP PVST & MSTP
Difference b/w STP RSTP PVST & MSTPDifference b/w STP RSTP PVST & MSTP
Difference b/w STP RSTP PVST & MSTP
 
communication networks
communication networkscommunication networks
communication networks
 

Similar to Switches androuters

Answer sheet of switching & routing
Answer sheet of switching & routingAnswer sheet of switching & routing
Answer sheet of switching & routing
Md. Mashiur Rahman
 
PPT Backbone And Networks
PPT Backbone And NetworksPPT Backbone And Networks
PPT Backbone And Networks
kishorekommu kommu
 
unit5-190409094326.pdf
unit5-190409094326.pdfunit5-190409094326.pdf
unit5-190409094326.pdf
FranzLawrenzDeTorres1
 
Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5
Raj vardhan
 
Networking hardware-objectives-identify-major-hardware4986
Networking hardware-objectives-identify-major-hardware4986Networking hardware-objectives-identify-major-hardware4986
Networking hardware-objectives-identify-major-hardware4986
sherifmeetme
 
Lecture 07
Lecture 07Lecture 07
Lecture 07
Anwal Mirza
 
Basic Networking
Basic NetworkingBasic Networking
Basic Networking
CEC Landran
 
network layer
network layernetwork layer
network layer
BishalWosti1
 
equipment list.pdf
equipment list.pdfequipment list.pdf
equipment list.pdf
ngusyirga
 
Computer network_network devices
Computer network_network devicesComputer network_network devices
Computer network_network devices
Sweta Kumari Barnwal
 
Network cables-Imdad Hussain
Network cables-Imdad HussainNetwork cables-Imdad Hussain
Network cables-Imdad Hussain
COMSATS Institute of Information Technology
 
Hubs vs switches vs routers
Hubs vs switches vs routersHubs vs switches vs routers
Hubs vs switches vs routers
3Anetwork com
 
Routers vs-switch
Routers vs-switchRouters vs-switch
Routers vs-switch
Nitesh Singh
 
Router vs switch
Router vs switchRouter vs switch
Router vs switch
IT Tech
 
Types of Networks
Types of NetworksTypes of Networks
1164 Routers
1164 Routers1164 Routers
1164 Routers
techbed
 
6.switching vla ns
6.switching vla ns6.switching vla ns
6.switching vla ns
CYBERINTELLIGENTS
 
Ethernet and switches
Ethernet and switchesEthernet and switches
Ethernet and switches
Bhavik Vashi
 
Rajesh basics of networking and routing
Rajesh basics of networking and routingRajesh basics of networking and routing
Rajesh basics of networking and routing
r123027
 
Network Topologies, L1-L2 Basics, Networking Devices
Network Topologies, L1-L2 Basics, Networking DevicesNetwork Topologies, L1-L2 Basics, Networking Devices
Network Topologies, L1-L2 Basics, Networking Devices
Aalok Shah
 

Similar to Switches androuters (20)

Answer sheet of switching & routing
Answer sheet of switching & routingAnswer sheet of switching & routing
Answer sheet of switching & routing
 
PPT Backbone And Networks
PPT Backbone And NetworksPPT Backbone And Networks
PPT Backbone And Networks
 
unit5-190409094326.pdf
unit5-190409094326.pdfunit5-190409094326.pdf
unit5-190409094326.pdf
 
Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5
 
Networking hardware-objectives-identify-major-hardware4986
Networking hardware-objectives-identify-major-hardware4986Networking hardware-objectives-identify-major-hardware4986
Networking hardware-objectives-identify-major-hardware4986
 
Lecture 07
Lecture 07Lecture 07
Lecture 07
 
Basic Networking
Basic NetworkingBasic Networking
Basic Networking
 
network layer
network layernetwork layer
network layer
 
equipment list.pdf
equipment list.pdfequipment list.pdf
equipment list.pdf
 
Computer network_network devices
Computer network_network devicesComputer network_network devices
Computer network_network devices
 
Network cables-Imdad Hussain
Network cables-Imdad HussainNetwork cables-Imdad Hussain
Network cables-Imdad Hussain
 
Hubs vs switches vs routers
Hubs vs switches vs routersHubs vs switches vs routers
Hubs vs switches vs routers
 
Routers vs-switch
Routers vs-switchRouters vs-switch
Routers vs-switch
 
Router vs switch
Router vs switchRouter vs switch
Router vs switch
 
Types of Networks
Types of NetworksTypes of Networks
Types of Networks
 
1164 Routers
1164 Routers1164 Routers
1164 Routers
 
6.switching vla ns
6.switching vla ns6.switching vla ns
6.switching vla ns
 
Ethernet and switches
Ethernet and switchesEthernet and switches
Ethernet and switches
 
Rajesh basics of networking and routing
Rajesh basics of networking and routingRajesh basics of networking and routing
Rajesh basics of networking and routing
 
Network Topologies, L1-L2 Basics, Networking Devices
Network Topologies, L1-L2 Basics, Networking DevicesNetwork Topologies, L1-L2 Basics, Networking Devices
Network Topologies, L1-L2 Basics, Networking Devices
 

Recently uploaded

➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka KALYAN MATKA |
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka KALYAN MATKA |➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka KALYAN MATKA |
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka KALYAN MATKA |
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
Clouded storyboard why does the title need to be so long
Clouded storyboard why does the title need to be so longClouded storyboard why does the title need to be so long
Clouded storyboard why does the title need to be so long
Karina Young
 
chemistry projectdssssssssssssssssssssssssssssssssssss
chemistry projectdsssssssssssssssssssssssssssssssssssschemistry projectdssssssssssssssssssssssssssssssssssss
chemistry projectdssssssssssssssssssssssssssssssssssss
STUDIOLUCKYDIGITAL
 
Word stress for students_with KEY_Advanced.pdf
Word stress for students_with KEY_Advanced.pdfWord stress for students_with KEY_Advanced.pdf
Word stress for students_with KEY_Advanced.pdf
dolinh2711
 
The Cowherd and the Weaver Girl Storyboard
The Cowherd and the Weaver Girl StoryboardThe Cowherd and the Weaver Girl Storyboard
The Cowherd and the Weaver Girl Storyboard
Karina Young
 
SSG Boorman Purple Heart found research.pdf
SSG Boorman Purple Heart found research.pdfSSG Boorman Purple Heart found research.pdf
SSG Boorman Purple Heart found research.pdf
rbakerj2
 
"Snow" by Ann Beattie illustrated by Aimie Bourgeois
"Snow" by Ann Beattie illustrated by Aimie Bourgeois"Snow" by Ann Beattie illustrated by Aimie Bourgeois
"Snow" by Ann Beattie illustrated by Aimie Bourgeois
aimiebougie
 
SHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdf
SHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdfSHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdf
SHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdf
Shivna Prakashan
 
一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理
一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理
一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理
fcenyx
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
➑➌➋➑➒➎➑➑➊➍
 
Subjectivity Subjectivity Subjectivity Subjectivity
Subjectivity Subjectivity Subjectivity SubjectivitySubjectivity Subjectivity Subjectivity Subjectivity
Subjectivity Subjectivity Subjectivity Subjectivity
hidetoshi4
 
Maryoku_Yummy_Episode_01_Storyboard example_01
Maryoku_Yummy_Episode_01_Storyboard example_01Maryoku_Yummy_Episode_01_Storyboard example_01
Maryoku_Yummy_Episode_01_Storyboard example_01
acostaanimation
 
OUROBOROS_COPERNICUS_SAMPLE_CAT_ZYGOCKI.pdf
OUROBOROS_COPERNICUS_SAMPLE_CAT_ZYGOCKI.pdfOUROBOROS_COPERNICUS_SAMPLE_CAT_ZYGOCKI.pdf
OUROBOROS_COPERNICUS_SAMPLE_CAT_ZYGOCKI.pdf
zygocki
 
Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka Dpboss
Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka DpbossMatka Guessing Satta Matta Matka Kalyan Chart Indian Matka Dpboss
Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka Dpboss
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...
Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...
Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
VTV FULL SCRIPT ------------------------
VTV FULL SCRIPT ------------------------VTV FULL SCRIPT ------------------------
VTV FULL SCRIPT ------------------------
ssathiyanishanth8
 
➒➌➍➑➊➑➏➍➋➒ Sattamatka satta matka sattamatka results
➒➌➍➑➊➑➏➍➋➒ Sattamatka satta matka sattamatka results➒➌➍➑➊➑➏➍➋➒ Sattamatka satta matka sattamatka results
➒➌➍➑➊➑➏➍➋➒ Sattamatka satta matka sattamatka results
➒➌➍➑➊➑➏➍➋➒ Satta Matka Satta result marka result
 

Recently uploaded (20)

➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka KALYAN MATKA |
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka KALYAN MATKA |➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka KALYAN MATKA |
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka KALYAN MATKA |
 
Clouded storyboard why does the title need to be so long
Clouded storyboard why does the title need to be so longClouded storyboard why does the title need to be so long
Clouded storyboard why does the title need to be so long
 
chemistry projectdssssssssssssssssssssssssssssssssssss
chemistry projectdsssssssssssssssssssssssssssssssssssschemistry projectdssssssssssssssssssssssssssssssssssss
chemistry projectdssssssssssssssssssssssssssssssssssss
 
Word stress for students_with KEY_Advanced.pdf
Word stress for students_with KEY_Advanced.pdfWord stress for students_with KEY_Advanced.pdf
Word stress for students_with KEY_Advanced.pdf
 
The Cowherd and the Weaver Girl Storyboard
The Cowherd and the Weaver Girl StoryboardThe Cowherd and the Weaver Girl Storyboard
The Cowherd and the Weaver Girl Storyboard
 
SSG Boorman Purple Heart found research.pdf
SSG Boorman Purple Heart found research.pdfSSG Boorman Purple Heart found research.pdf
SSG Boorman Purple Heart found research.pdf
 
"Snow" by Ann Beattie illustrated by Aimie Bourgeois
"Snow" by Ann Beattie illustrated by Aimie Bourgeois"Snow" by Ann Beattie illustrated by Aimie Bourgeois
"Snow" by Ann Beattie illustrated by Aimie Bourgeois
 
SHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdf
SHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdfSHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdf
SHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdf
 
一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理
一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理
一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
 
Subjectivity Subjectivity Subjectivity Subjectivity
Subjectivity Subjectivity Subjectivity SubjectivitySubjectivity Subjectivity Subjectivity Subjectivity
Subjectivity Subjectivity Subjectivity Subjectivity
 
Maryoku_Yummy_Episode_01_Storyboard example_01
Maryoku_Yummy_Episode_01_Storyboard example_01Maryoku_Yummy_Episode_01_Storyboard example_01
Maryoku_Yummy_Episode_01_Storyboard example_01
 
OUROBOROS_COPERNICUS_SAMPLE_CAT_ZYGOCKI.pdf
OUROBOROS_COPERNICUS_SAMPLE_CAT_ZYGOCKI.pdfOUROBOROS_COPERNICUS_SAMPLE_CAT_ZYGOCKI.pdf
OUROBOROS_COPERNICUS_SAMPLE_CAT_ZYGOCKI.pdf
 
Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka Dpboss
Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka DpbossMatka Guessing Satta Matta Matka Kalyan Chart Indian Matka Dpboss
Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka Dpboss
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
 
Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...
Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...
Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
 
VTV FULL SCRIPT ------------------------
VTV FULL SCRIPT ------------------------VTV FULL SCRIPT ------------------------
VTV FULL SCRIPT ------------------------
 
➒➌➍➑➊➑➏➍➋➒ Sattamatka satta matka sattamatka results
➒➌➍➑➊➑➏➍➋➒ Sattamatka satta matka sattamatka results➒➌➍➑➊➑➏➍➋➒ Sattamatka satta matka sattamatka results
➒➌➍➑➊➑➏➍➋➒ Sattamatka satta matka sattamatka results
 

Switches androuters

  • 1. Connecting DevicesConnecting Devices and Multi-Homed Machinesand Multi-Homed Machines
  • 2. Layer 1 (Physical) DevicesLayer 1 (Physical) Devices Repeater:Repeater:  Extends distances by repeating a signalExtends distances by repeating a signal  Any slight variations in the carrier wave for individualAny slight variations in the carrier wave for individual bits is corrected when the carrier wave is reproducedbits is corrected when the carrier wave is reproduced Hub:Hub:  As above, but re-creates the carrier wave on multipleAs above, but re-creates the carrier wave on multiple portsports  Hubs do not decide whether or not to copy data, theyHubs do not decide whether or not to copy data, they do it (necessary or unnecessary)do it (necessary or unnecessary)  All ports are part of the same collision domainAll ports are part of the same collision domain With a hub as the centre of the star, any 2 hosts can haveWith a hub as the centre of the star, any 2 hosts can have frame collisionsframe collisions
  • 3. Layer 2 (Data Link) DevicesLayer 2 (Data Link) Devices Layer 2 switch:Layer 2 switch:  Serves the same purpose as a hubServes the same purpose as a hub  Can dynamically determine if a frame should be placed on a portCan dynamically determine if a frame should be placed on a port (and which one)(and which one)  The data link layer (e.g. MAC) address is used to make thisThe data link layer (e.g. MAC) address is used to make this determinationdetermination  A table of MAC addresses and corresponding ports is built usingA table of MAC addresses and corresponding ports is built using incoming framesincoming frames  Each LAN segment (port) becomes its own collision domainEach LAN segment (port) becomes its own collision domain Only 2 hosts on the same LAN segment can have frame collisionsOnly 2 hosts on the same LAN segment can have frame collisions Layer 2 bridgeLayer 2 bridge  As above, but the connected networks do not necessarily haveAs above, but the connected networks do not necessarily have to be of the same typeto be of the same type
  • 4. Layer 2/3 DevicesLayer 2/3 Devices Broadband (Cable/DSL) or Wireless RouterBroadband (Cable/DSL) or Wireless Router  Primarily operates as a layer 2 switch / access pointPrimarily operates as a layer 2 switch / access point  However, theseHowever, these routersrouters often have additional features (some ofoften have additional features (some of which are in layer 3):which are in layer 3): Dynamic host configuration (DHCP) – IP address assignment forDynamic host configuration (DHCP) – IP address assignment for network hosts, for examplenetwork hosts, for example DNS capability (local or distributed) – Provides naming of hostsDNS capability (local or distributed) – Provides naming of hosts inside the networkinside the network IP masquerading – TheIP masquerading – The routerrouter can use one IP given by a broadbandcan use one IP given by a broadband provider, but allow all of its hosts to use different IPs inside theprovider, but allow all of its hosts to use different IPs inside the networknetwork Layer 3 SwitchLayer 3 Switch  Uses layer 3 routing to determine a path for packetsUses layer 3 routing to determine a path for packets  Once a path is found, subsequent packets are switchedOnce a path is found, subsequent packets are switched This switching typically occurs on layer 2This switching typically occurs on layer 2 These devices will be discussed in more detail laterThese devices will be discussed in more detail later
  • 5. Layer 3 (Network) DevicesLayer 3 (Network) Devices Layer 3 BridgeLayer 3 Bridge  A bridge that uses network layer addresses (e.g. IP) in itsA bridge that uses network layer addresses (e.g. IP) in its forwarding database, instead of data link layer addresses (e.g.forwarding database, instead of data link layer addresses (e.g. MAC)MAC)  This type of bridge more readily allows different types of networkThis type of bridge more readily allows different types of network to be joined, since they need not share an address typeto be joined, since they need not share an address type  Cannot handle multiple paths effectively/efficiently: a host isCannot handle multiple paths effectively/efficiently: a host is either on a given port or it is noteither on a given port or it is not RouterRouter  Determines routes for each packet using network layerDetermines routes for each packet using network layer addresses (e.g. IP)addresses (e.g. IP)  Can connect any type of network togetherCan connect any type of network together  Is capable of determining preferred paths where multiple pathsIs capable of determining preferred paths where multiple paths existexist
  • 7. What is a Router Made of?What is a Router Made of? A router has many of the sameA router has many of the same components as your computer:components as your computer:  CPUCPU  MemoryMemory  I/O Interfaces (mostly network interfaces)I/O Interfaces (mostly network interfaces)  Operating SystemOperating System
  • 8. Routers Through HistoryRouters Through History Gateways:Gateways:  A computer with installed software to forward packetsA computer with installed software to forward packets  These are obsolete, but were common in the early days ofThese are obsolete, but were common in the early days of ARPANetARPANet Routers:Routers:  A computer with specialized hardware and operating systemA computer with specialized hardware and operating system designed for forwarding packetsdesigned for forwarding packets Switching Routers:Switching Routers:  A computer with specialized hardware (switching fabric) thatA computer with specialized hardware (switching fabric) that allows packets to be forwarded directly in hardwareallows packets to be forwarded directly in hardware  The specialized hardware is, in many respects, similar to that ofThe specialized hardware is, in many respects, similar to that of a switch (e.g. ATM switch)a switch (e.g. ATM switch)
  • 9. Router HardwareRouter Hardware Input buffers (one for each network interface):Input buffers (one for each network interface):  Used to store incoming packets before they are processedUsed to store incoming packets before they are processed Routing processor:Routing processor:  This is often software running on a CPU which:This is often software running on a CPU which: Maintains and exchanges routing data with other routersMaintains and exchanges routing data with other routers Controls the switching fabric to forward packetsControls the switching fabric to forward packets  With high-end routers, each network interface may have a localWith high-end routers, each network interface may have a local routing processor (for forwarding) so that each can forward therouting processor (for forwarding) so that each can forward the packets in its own input buffer independentlypackets in its own input buffer independently Switching fabric:Switching fabric:  A network of connections between network interfaces (and theirA network of connections between network interfaces (and their input and output buffers)input and output buffers) Output buffers (one for each network interface):Output buffers (one for each network interface):  Used to store outgoing packets after they are processed, butUsed to store outgoing packets after they are processed, but before the network is available for transmissionbefore the network is available for transmission
  • 10. Routers: Network InterfacesRouters: Network Interfaces Often, routers have modularized networkOften, routers have modularized network interfacesinterfaces  One can add/remove/replace network interfaces asOne can add/remove/replace network interfaces as needs changeneeds change  Some routers can accept network interface modulesSome routers can accept network interface modules of different types (e.g. Ethernet, Token Ring)of different types (e.g. Ethernet, Token Ring)  Each network interface would have its own:Each network interface would have its own: Input bufferInput buffer Output bufferOutput buffer Routing processor (in high-end routers)Routing processor (in high-end routers)
  • 11. Routers: Input BuffersRouters: Input Buffers The incoming packets of a network interface are placedThe incoming packets of a network interface are placed in input buffersin input buffers  These are banks of very high speed memory for packet queuingThese are banks of very high speed memory for packet queuing prior to processingprior to processing  The packet is stored here until the routing processor is availableThe packet is stored here until the routing processor is available The network interface may have a routing processor,The network interface may have a routing processor, which would:which would:  …… have a copy of the forwarding table (to prevent concurrenthave a copy of the forwarding table (to prevent concurrent access)access)  …… lookup the destination address in this forwarding table, tolookup the destination address in this forwarding table, to determine the correct output portdetermine the correct output port  …… configure the switching fabric to forward the packet to theconfigure the switching fabric to forward the packet to the correct output buffercorrect output buffer Low-end routers would share one routing processorLow-end routers would share one routing processor
  • 12. Routers: Routing ProcessorsRouters: Routing Processors Routing processors have two functions:Routing processors have two functions: 1.1. Maintain and exchange routing data withMaintain and exchange routing data with other routers in the networkother routers in the network Often this involves computing the forwardingOften this involves computing the forwarding table from data received by other routerstable from data received by other routers 1.1. Use the forwarding table data toUse the forwarding table data to configure the switching fabric to forwardconfigure the switching fabric to forward the packet to the correct output portthe packet to the correct output port
  • 13. Routers: Routing ProcessorsRouters: Routing Processors A routing processor is software which executesA routing processor is software which executes on a CPU:on a CPU:  Off-the-shelf CPUOff-the-shelf CPU These are very inexpensiveThese are very inexpensive However, the performance of these CPUs is low since theyHowever, the performance of these CPUs is low since they are not optimized for the types of operations a routerare not optimized for the types of operations a router typically needs to performtypically needs to perform  Application-Specific Integrated Circuit (ASIC)Application-Specific Integrated Circuit (ASIC) These are expensive to design (time and money)These are expensive to design (time and money) They are optimized for typical routing operationsThey are optimized for typical routing operations High-end routers use these to achieve higher performanceHigh-end routers use these to achieve higher performance levelslevels
  • 14. Routers: Switching FabricRouters: Switching Fabric Switching fabric’s job is to move packetsSwitching fabric’s job is to move packets from the input buffer into the correct outputfrom the input buffer into the correct output bufferbuffer  The routing processor determines the correctThe routing processor determines the correct output port, using the forwarding tableoutput port, using the forwarding table
  • 15. Routers: Switching FabricRouters: Switching Fabric Switching fabric comes in 3 major types:Switching fabric comes in 3 major types:  In-memory switching fabric:In-memory switching fabric: The packets are input into the routing processor’sThe packets are input into the routing processor’s memory, and output into the correct output buffermemory, and output into the correct output buffer  Bus-based switching fabric:Bus-based switching fabric: The packets move along a shared bus (similar to aThe packets move along a shared bus (similar to a network bus) to the correct output buffernetwork bus) to the correct output buffer  Crossbar switching fabric:Crossbar switching fabric: The packets move along a grid of redundant busesThe packets move along a grid of redundant buses If any bus fails, alternate paths exist so thatIf any bus fails, alternate paths exist so that forwarding can continueforwarding can continue
  • 16. Routers: Output BuffersRouters: Output Buffers The switching fabric gets the packet to theThe switching fabric gets the packet to the right output portright output port  However, that port’s network may not beHowever, that port’s network may not be immediately availableimmediately available  The packets are stored in the output bufferThe packets are stored in the output buffer until the network is availableuntil the network is available
  • 17. Router PerformanceRouter Performance Several methods to improve router performanceSeveral methods to improve router performance have been discussed:have been discussed:  Use application-specific integrated circuitsUse application-specific integrated circuits Optimized for routing operationsOptimized for routing operations Include much routing functionality otherwise executed asInclude much routing functionality otherwise executed as software (in memory)software (in memory) Many routing functions can execute in parallel, adding newMany routing functions can execute in parallel, adding new functionality without decreasing throughputfunctionality without decreasing throughput  Use efficient switching fabricUse efficient switching fabric Bus or crossbar-based switching fabrics reduce the need forBus or crossbar-based switching fabrics reduce the need for in-memory processingin-memory processing
  • 19. MPLSMPLS MPLS is another way to improve routerMPLS is another way to improve router performanceperformance Label switching tries to leverage some of theLabel switching tries to leverage some of the performance of virtual circuit switched networksperformance of virtual circuit switched networks (e.g. ATM)(e.g. ATM) Packets are assigned a label upon entering anPackets are assigned a label upon entering an MPLS networkMPLS network This label is used (instead of the IP address) forThis label is used (instead of the IP address) for making forwarding decisionsmaking forwarding decisions
  • 20. MPLS LabelsMPLS Labels An MPLS label is an arbitrary valueAn MPLS label is an arbitrary value  This value is typically a numeric identifierThis value is typically a numeric identifier However, labels could also be the frequency (i.e. colour) ofHowever, labels could also be the frequency (i.e. colour) of light used in multi-mode optical fibrelight used in multi-mode optical fibre  The label can change from one label-switching routerThe label can change from one label-switching router (LSR) to the next(LSR) to the next  The label must only be unique for the sending andThe label must only be unique for the sending and receiving routerreceiving router IP addresses, in contrast, are usually unique across theIP addresses, in contrast, are usually unique across the networknetwork  A value could even be chosen to help the routingA value could even be chosen to help the routing processor choose the correct output portprocessor choose the correct output port
  • 21. MPLS: SimplifiedMPLS: Simplified MPLS LSR MPLS LSR MPLS LSR MPLS LSR MPLS LSR MPLS LSR Web Server E-Mail Server User
  • 22. MPLS: SimplifiedMPLS: Simplified MPLS LSR MPLS LSR MPLS LSR MPLS LSR MPLS LSR MPLS LSR Web Server E-Mail Server User • Here, the label is shown as colour • Notice the simplicity of the router’s job: • Red: Up • Blue: Right
  • 23. MPLS: SimplifiedMPLS: Simplified MPLS LSR MPLS LSR MPLS LSR MPLS LSR MPLS LSR MPLS LSR Web Server E-Mail Server User • Notice that two labels can be directed down the same link
  • 24. MPLS: Label ValuesMPLS: Label Values MPLS LSR MPLS LSR MPLS LSR MPLS LSR MPLS LSR MPLS LSR Web Server E-Mail Server User • Notice that label values are not globally unique • Each pair of routers agrees on a label 7 15 31 7 31 47
  • 25. MPLS PacketsMPLS Packets MPLS adds a small pre-header to the start of any IPv4MPLS adds a small pre-header to the start of any IPv4 (or IPv6, IPX, etc.) packet(or IPv6, IPX, etc.) packet  In other words, between the data link and network headersIn other words, between the data link and network headers Label 20 bits Class of Service3 bits Stack1 bit Hop Limit8 bits The label value The QoS class of the packet attached (e.g. discardable?) Is there a stack of labels? The hop limit, copied from/to the IP header
  • 26. MPLS and ATMMPLS and ATM LSRs can be ATM-enabledLSRs can be ATM-enabled  An LSR can forward a packet (as cells) through anAn LSR can forward a packet (as cells) through an ATM networkATM network This can be for any number of hops through the ATMThis can be for any number of hops through the ATM networknetwork  In this situation the source and destination ATMIn this situation the source and destination ATM switches must be LSRsswitches must be LSRs Other switches in between can be normal ATM switches,Other switches in between can be normal ATM switches, howeverhowever The source LSR will use AAL segmentation to send the cellsThe source LSR will use AAL segmentation to send the cells on the ATM network using a VPI/VCI for the destination LSRon the ATM network using a VPI/VCI for the destination LSR The destination LSR will extract the packet and continueThe destination LSR will extract the packet and continue transmission using MPLStransmission using MPLS