際際滷

際際滷Share a Scribd company logo
Computer Network
Routingand Switching
Routing
 A Router is a process of selecting path along which the data
can be transferred from source to the destination. Routing is
performed by a special device known as a router.
 A Router works at the network layer in the OSI model and
internet layer in TCP/IP model
 The routing algorithms are used for routing the packets. The
routing algorithm is nothing but a software responsible for
deciding the optimal path through which packet can be
transmitted.
Types Of Routing
 Routing can be classified into three categories:-
Static Routing is also known as Nonadaptive Routing.
It is a technique in which the administrator manually adds the
routes in a routing table.
A Router can send the packets for the destination along the
route defined by the administrator.
In this technique, routing decisions are not made based on the
condition or topology of the networks
1. Static Routing
2. Dynamic Routing
 It is also known as Adaptive Routing.
 It is a technique in which a router adds a new route in the
routing table for each packet in response to the changes in the
condition or topology of the network.
 Dynamic protocols are used to discover the new routes to
reach the destination.
 In Dynamic Routing, RIP and OSPF are the protocols used to
discover the new routes.
 If any route goes down, then the automatic adjustment will be
made to reach the destination.
3. Default Routing
 Default Routing is a technique in which a router is configured
to send all the packets to the same hop device, and it doesn't
matter whether it belongs to a particular network or not. A
Packet is transmitted to the device for which it is configured
in default routing.
 Default Routing is used when networks deal with the single
exit point.
 It is also useful when the bulk of transmission networks have
to transmit the data to the same hp device.
Switching
 Switch: A switch is a small hardware device which is used to join
multiple computers together with one local area network (LAN).
 Switching: Switching in a computer network is achieved by using
switches.
 When a user accesses the internet or another computer network
outside their immediate location, messages are sent through the
network of transmission media. This technique of transferring the
information from one computer network to another network is
known as switching.
 Network switches operate at layer 2 (Data link layer) in the OSI
model.
The layer 2 switches are used for transmitting the data on the data
link layer, and it also performs error checking on transmitted and
received frames.
Different modes are used for forwarding the packets known
as Switching modes.
There are three types of switching modes:
1) Store-and-forward
2) Cut-through
3) Fragment-free
Switching Modes
SwitchingTechniques
1. CIRCUIT-SWITCHEDNETWORKS
 Circuit switching is a switching technique that establishes a
dedicated path between sender and receiver.
 In the Circuit Switching Technique, once the connection is
established then the dedicated path will remain to exist until
the connection is terminated.
 Circuit switching in a network operates in a similar way as the
telephone works.
 Each link is divided into channels using FDM or TDM.
Three phases are need to communicate two
parties or multiple parties in aconferencecall):
 Connection setup
 data transfer
 Circuit Disconnected
2.PACKETSWITCHED NETWORK
 The packet switching is a switching technique in which the
message is sent in one go, but it is divided into smaller pieces,
and they are sent individually.
 Packets are given a unique number to identify their order at the
receiving end.
 Every packet contains some information in its headers such as
source address, destination address and sequence number.
 Packets will travel across the network, taking the shortest path
as possible.
 If the correct order of the packets is reached, then the
acknowledgment message will be sent.
2.1DATAGRAM NETWORKS
 Each packet (called as datagrams in this approach) is treated
independently of allothers.
 All packets (or datagrams) belong to the samemessagemay travel.
different pathsto reachtheir destination.
2.2VIRTUAL-CIRCUIT NETWORKS
 Its a cross between circuit switched network and datagram
network, and hassome characteristics of both.
 Characteristics:
 Packets from asingle messagetravel along the same path.
 Three phasesto transfer data (set up, data transfer andtear
down)
 Resourcescanbe allocated during setup phase
 Data are packetized and each packet carries an address in the
header
 Implemented in data linklayer
3. Message Switching
 Message Switching is a switching technique in which a
message is transferred as a complete unit and routed through
intermediate nodes at which it is stored and forwarded.
 In Message Switching technique, there is no establishment
of a dedicated path between the sender and receiver.
 Each and every node stores the entire message and then
forward it to the next node. This type of network is known
as store and forward network.
Advantages and Disadvantages of Switching:-
Advantages:-
 Switch increases the bandwidth of the network.
 It reduces the workload on individual PCs as it sends the
information to only that device which has been addressed.
 It increases the overall performance of the network by reducing
the traffic on the network.
 There will be less frame collision as switch creates the collision
domain for each connection.
Disadvantages:-
 A Switch is more expensive than network bridges.
 A Switch cannot determine the network connectivity issues
easily.
 Proper designing and configuration of the switch are required
to handle multicast packets.
意鞄温稼一額看顎

More Related Content

What's hot (20)

Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
IGZ Software house
Packet tracer
Packet tracerPacket tracer
Packet tracer
Imdad Ullah
Computer networking devices
Computer networking devicesComputer networking devices
Computer networking devices
Rajesh Sadhukha
Presentation on ccna
Presentation on ccnaPresentation on ccna
Presentation on ccna
HoneyKumar34
CCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationCCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch Configuration
Dsunte Wilson
Network devices
Network devicesNetwork devices
Network devices
Ashok R
CCNA 4 Hierarchical Network Design
CCNA 4 Hierarchical Network DesignCCNA 4 Hierarchical Network Design
CCNA 4 Hierarchical Network Design
Jonathan Alvarado Covarrubias
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
Muuluu
IP Address
IP AddressIP Address
IP Address
Rahul P
Spanning Tree Protocol
Spanning Tree ProtocolSpanning Tree Protocol
Spanning Tree Protocol
Manoj Gharate
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
Prof. Erwin Globio
CCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPTCCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPT
Nishant Goel
Local Area Network Wired LAN
Local Area Network  Wired LANLocal Area Network  Wired LAN
Local Area Network Wired LAN
Raj vardhan
Benefits of vlan
Benefits of vlanBenefits of vlan
Benefits of vlan
Logitrain
Networking devices
Networking devicesNetworking devices
Networking devices
frestoadi
VLAN
VLANVLAN
VLAN
Varsha Honde
enterprise network design architecture
enterprise network design architectureenterprise network design architecture
enterprise network design architecture
Amir Hossain
Routing
RoutingRouting
Routing
Saima Azam
COMPUTER NETWORKING
COMPUTER NETWORKINGCOMPUTER NETWORKING
COMPUTER NETWORKING
Kiran Buriro
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer network
miteshppt
Packet tracer
Packet tracerPacket tracer
Packet tracer
Imdad Ullah
Computer networking devices
Computer networking devicesComputer networking devices
Computer networking devices
Rajesh Sadhukha
Presentation on ccna
Presentation on ccnaPresentation on ccna
Presentation on ccna
HoneyKumar34
CCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationCCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch Configuration
Dsunte Wilson
Network devices
Network devicesNetwork devices
Network devices
Ashok R
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
Muuluu
IP Address
IP AddressIP Address
IP Address
Rahul P
Spanning Tree Protocol
Spanning Tree ProtocolSpanning Tree Protocol
Spanning Tree Protocol
Manoj Gharate
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
Prof. Erwin Globio
CCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPTCCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPT
Nishant Goel
Local Area Network Wired LAN
Local Area Network  Wired LANLocal Area Network  Wired LAN
Local Area Network Wired LAN
Raj vardhan
Benefits of vlan
Benefits of vlanBenefits of vlan
Benefits of vlan
Logitrain
Networking devices
Networking devicesNetworking devices
Networking devices
frestoadi
enterprise network design architecture
enterprise network design architectureenterprise network design architecture
enterprise network design architecture
Amir Hossain
COMPUTER NETWORKING
COMPUTER NETWORKINGCOMPUTER NETWORKING
COMPUTER NETWORKING
Kiran Buriro
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer network
miteshppt

Similar to Routing and switching (20)

Chapter 4
Chapter 4Chapter 4
Chapter 4
ushabarad142
unit 3 computer networks-switching,packet switching,internet protocol.
unit 3 computer networks-switching,packet switching,internet protocol.unit 3 computer networks-switching,packet switching,internet protocol.
unit 3 computer networks-switching,packet switching,internet protocol.
venigkrish89
Topology,Switching and Routing
Topology,Switching and RoutingTopology,Switching and Routing
Topology,Switching and Routing
Anushiya Ram
Switch networking
Switch networking Switch networking
Switch networking
MohikaJamadari
Unit 1 Circuit and Packet Switching.pptx
Unit 1 Circuit and Packet Switching.pptxUnit 1 Circuit and Packet Switching.pptx
Unit 1 Circuit and Packet Switching.pptx
Vikas Goyal
lecture 2.pptx
lecture 2.pptxlecture 2.pptx
lecture 2.pptx
MelkamuEndale1
CSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptxCSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptx
NoraNjepuome3
12 ipt 0303 transmitting and receiving
12 ipt 0303   transmitting and receiving12 ipt 0303   transmitting and receiving
12 ipt 0303 transmitting and receiving
ctedds
Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1
Mugabo4
CN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptxCN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptx
Pondinesh2
Network layer (Unit 3) part1.pdf
Network  layer (Unit 3) part1.pdfNetwork  layer (Unit 3) part1.pdf
Network layer (Unit 3) part1.pdf
BharatiPatelPhDStude
Communication concepts
Communication conceptsCommunication concepts
Communication concepts
MR Z
Chapter 2 Switches in network.ppt
Chapter 2 Switches in network.pptChapter 2 Switches in network.ppt
Chapter 2 Switches in network.ppt
monikarawat57
Switching types-circuit, packet and message
Switching types-circuit, packet and messageSwitching types-circuit, packet and message
Switching types-circuit, packet and message
JebaRaj26
unit 2_switchingtechniques.ppt
unit 2_switchingtechniques.pptunit 2_switchingtechniques.ppt
unit 2_switchingtechniques.ppt
ThangamaniR3
Computer network switching
Computer network switchingComputer network switching
Computer network switching
Shivani Godha
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
Dr.Ashvini Chaudhari Bhongade
SOFTWARE DEFINED NETWORKING
SOFTWARE DEFINED NETWORKINGSOFTWARE DEFINED NETWORKING
SOFTWARE DEFINED NETWORKING
Karthiga Santhanam
Switching
Switching Switching
Switching
Abid Ali
Unit 1 Information Technology for student.pdf
Unit 1 Information Technology for student.pdfUnit 1 Information Technology for student.pdf
Unit 1 Information Technology for student.pdf
shuklagyanprakash578
unit 3 computer networks-switching,packet switching,internet protocol.
unit 3 computer networks-switching,packet switching,internet protocol.unit 3 computer networks-switching,packet switching,internet protocol.
unit 3 computer networks-switching,packet switching,internet protocol.
venigkrish89
Topology,Switching and Routing
Topology,Switching and RoutingTopology,Switching and Routing
Topology,Switching and Routing
Anushiya Ram
Unit 1 Circuit and Packet Switching.pptx
Unit 1 Circuit and Packet Switching.pptxUnit 1 Circuit and Packet Switching.pptx
Unit 1 Circuit and Packet Switching.pptx
Vikas Goyal
CSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptxCSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptx
NoraNjepuome3
12 ipt 0303 transmitting and receiving
12 ipt 0303   transmitting and receiving12 ipt 0303   transmitting and receiving
12 ipt 0303 transmitting and receiving
ctedds
Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1
Mugabo4
CN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptxCN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptx
Pondinesh2
Network layer (Unit 3) part1.pdf
Network  layer (Unit 3) part1.pdfNetwork  layer (Unit 3) part1.pdf
Network layer (Unit 3) part1.pdf
BharatiPatelPhDStude
Communication concepts
Communication conceptsCommunication concepts
Communication concepts
MR Z
Chapter 2 Switches in network.ppt
Chapter 2 Switches in network.pptChapter 2 Switches in network.ppt
Chapter 2 Switches in network.ppt
monikarawat57
Switching types-circuit, packet and message
Switching types-circuit, packet and messageSwitching types-circuit, packet and message
Switching types-circuit, packet and message
JebaRaj26
unit 2_switchingtechniques.ppt
unit 2_switchingtechniques.pptunit 2_switchingtechniques.ppt
unit 2_switchingtechniques.ppt
ThangamaniR3
Computer network switching
Computer network switchingComputer network switching
Computer network switching
Shivani Godha
SOFTWARE DEFINED NETWORKING
SOFTWARE DEFINED NETWORKINGSOFTWARE DEFINED NETWORKING
SOFTWARE DEFINED NETWORKING
Karthiga Santhanam
Switching
Switching Switching
Switching
Abid Ali
Unit 1 Information Technology for student.pdf
Unit 1 Information Technology for student.pdfUnit 1 Information Technology for student.pdf
Unit 1 Information Technology for student.pdf
shuklagyanprakash578

Recently uploaded (20)

Kaun TALHA quiz Finals -- El Dorado 2025
Kaun TALHA quiz Finals -- El Dorado 2025Kaun TALHA quiz Finals -- El Dorado 2025
Kaun TALHA quiz Finals -- El Dorado 2025
Conquiztadors- the Quiz Society of Sri Venkateswara College
TRANSFER OF PATIENTS IN HOSPITAL SETTING.pptx
TRANSFER OF PATIENTS IN HOSPITAL SETTING.pptxTRANSFER OF PATIENTS IN HOSPITAL SETTING.pptx
TRANSFER OF PATIENTS IN HOSPITAL SETTING.pptx
PoojaSen20
How to attach file using upload button Odoo 18
How to attach file using upload button Odoo 18How to attach file using upload button Odoo 18
How to attach file using upload button Odoo 18
Celine George
Adventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil SirAdventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil Sir
GUJARATCOMMERCECOLLE
Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1...
Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1...Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1...
Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1...
pinkdvil200
Rass MELAI : an Internet MELA Quiz Prelims - El Dorado 2025
Rass MELAI : an Internet MELA Quiz Prelims - El Dorado 2025Rass MELAI : an Internet MELA Quiz Prelims - El Dorado 2025
Rass MELAI : an Internet MELA Quiz Prelims - El Dorado 2025
Conquiztadors- the Quiz Society of Sri Venkateswara College
How to Configure Flexible Working Schedule in Odoo 18 Employee
How to Configure Flexible Working Schedule in Odoo 18 EmployeeHow to Configure Flexible Working Schedule in Odoo 18 Employee
How to Configure Flexible Working Schedule in Odoo 18 Employee
Celine George
Blind spots in AI and Formulation Science, IFPAC 2025.pdf
Blind spots in AI and Formulation Science, IFPAC 2025.pdfBlind spots in AI and Formulation Science, IFPAC 2025.pdf
Blind spots in AI and Formulation Science, IFPAC 2025.pdf
Ajaz Hussain
CRITICAL THINKING AND NURSING JUDGEMENT.pptx
CRITICAL THINKING AND NURSING JUDGEMENT.pptxCRITICAL THINKING AND NURSING JUDGEMENT.pptx
CRITICAL THINKING AND NURSING JUDGEMENT.pptx
PoojaSen20
Rass MELAI : an Internet MELA Quiz Finals - El Dorado 2025
Rass MELAI : an Internet MELA Quiz Finals - El Dorado 2025Rass MELAI : an Internet MELA Quiz Finals - El Dorado 2025
Rass MELAI : an Internet MELA Quiz Finals - El Dorado 2025
Conquiztadors- the Quiz Society of Sri Venkateswara College
Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...
Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...
Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...
Ajaz Hussain
Principle and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby BasnetPrinciple and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby Basnet
Boby Basnet
A PPT on the First Three chapters of Wings of Fire
A PPT on the First Three chapters of Wings of FireA PPT on the First Three chapters of Wings of Fire
A PPT on the First Three chapters of Wings of Fire
Beena E S
cervical spine mobilization manual therapy .pdf
cervical spine mobilization manual therapy .pdfcervical spine mobilization manual therapy .pdf
cervical spine mobilization manual therapy .pdf
SamarHosni3
FESTIVAL: SINULOG & THINGYAN-LESSON 4.pptx
FESTIVAL: SINULOG & THINGYAN-LESSON 4.pptxFESTIVAL: SINULOG & THINGYAN-LESSON 4.pptx
FESTIVAL: SINULOG & THINGYAN-LESSON 4.pptx
DanmarieMuli1
N.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity BriefingN.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity Briefing
Mebane Rash
TPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategyTPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategy
Henry Tapper
EDL 290F Week 3 - Mountaintop Views (2025).pdf
EDL 290F Week 3  - Mountaintop Views (2025).pdfEDL 290F Week 3  - Mountaintop Views (2025).pdf
EDL 290F Week 3 - Mountaintop Views (2025).pdf
Liz Walsh-Trevino
Computer Application in Business (commerce)
Computer Application in Business (commerce)Computer Application in Business (commerce)
Computer Application in Business (commerce)
Sudar Sudar
Research & Research Methods: Basic Concepts and Types.pptx
Research & Research Methods: Basic Concepts and Types.pptxResearch & Research Methods: Basic Concepts and Types.pptx
Research & Research Methods: Basic Concepts and Types.pptx
Dr. Sarita Anand
TRANSFER OF PATIENTS IN HOSPITAL SETTING.pptx
TRANSFER OF PATIENTS IN HOSPITAL SETTING.pptxTRANSFER OF PATIENTS IN HOSPITAL SETTING.pptx
TRANSFER OF PATIENTS IN HOSPITAL SETTING.pptx
PoojaSen20
How to attach file using upload button Odoo 18
How to attach file using upload button Odoo 18How to attach file using upload button Odoo 18
How to attach file using upload button Odoo 18
Celine George
Adventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil SirAdventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil Sir
GUJARATCOMMERCECOLLE
Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1...
Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1...Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1...
Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1...
pinkdvil200
How to Configure Flexible Working Schedule in Odoo 18 Employee
How to Configure Flexible Working Schedule in Odoo 18 EmployeeHow to Configure Flexible Working Schedule in Odoo 18 Employee
How to Configure Flexible Working Schedule in Odoo 18 Employee
Celine George
Blind spots in AI and Formulation Science, IFPAC 2025.pdf
Blind spots in AI and Formulation Science, IFPAC 2025.pdfBlind spots in AI and Formulation Science, IFPAC 2025.pdf
Blind spots in AI and Formulation Science, IFPAC 2025.pdf
Ajaz Hussain
CRITICAL THINKING AND NURSING JUDGEMENT.pptx
CRITICAL THINKING AND NURSING JUDGEMENT.pptxCRITICAL THINKING AND NURSING JUDGEMENT.pptx
CRITICAL THINKING AND NURSING JUDGEMENT.pptx
PoojaSen20
Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...
Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...
Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...
Ajaz Hussain
Principle and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby BasnetPrinciple and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby Basnet
Boby Basnet
A PPT on the First Three chapters of Wings of Fire
A PPT on the First Three chapters of Wings of FireA PPT on the First Three chapters of Wings of Fire
A PPT on the First Three chapters of Wings of Fire
Beena E S
cervical spine mobilization manual therapy .pdf
cervical spine mobilization manual therapy .pdfcervical spine mobilization manual therapy .pdf
cervical spine mobilization manual therapy .pdf
SamarHosni3
FESTIVAL: SINULOG & THINGYAN-LESSON 4.pptx
FESTIVAL: SINULOG & THINGYAN-LESSON 4.pptxFESTIVAL: SINULOG & THINGYAN-LESSON 4.pptx
FESTIVAL: SINULOG & THINGYAN-LESSON 4.pptx
DanmarieMuli1
N.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity BriefingN.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity Briefing
Mebane Rash
TPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategyTPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategy
Henry Tapper
EDL 290F Week 3 - Mountaintop Views (2025).pdf
EDL 290F Week 3  - Mountaintop Views (2025).pdfEDL 290F Week 3  - Mountaintop Views (2025).pdf
EDL 290F Week 3 - Mountaintop Views (2025).pdf
Liz Walsh-Trevino
Computer Application in Business (commerce)
Computer Application in Business (commerce)Computer Application in Business (commerce)
Computer Application in Business (commerce)
Sudar Sudar
Research & Research Methods: Basic Concepts and Types.pptx
Research & Research Methods: Basic Concepts and Types.pptxResearch & Research Methods: Basic Concepts and Types.pptx
Research & Research Methods: Basic Concepts and Types.pptx
Dr. Sarita Anand

Routing and switching

  • 2. Routing A Router is a process of selecting path along which the data can be transferred from source to the destination. Routing is performed by a special device known as a router. A Router works at the network layer in the OSI model and internet layer in TCP/IP model The routing algorithms are used for routing the packets. The routing algorithm is nothing but a software responsible for deciding the optimal path through which packet can be transmitted.
  • 3. Types Of Routing Routing can be classified into three categories:-
  • 4. Static Routing is also known as Nonadaptive Routing. It is a technique in which the administrator manually adds the routes in a routing table. A Router can send the packets for the destination along the route defined by the administrator. In this technique, routing decisions are not made based on the condition or topology of the networks 1. Static Routing
  • 5. 2. Dynamic Routing It is also known as Adaptive Routing. It is a technique in which a router adds a new route in the routing table for each packet in response to the changes in the condition or topology of the network. Dynamic protocols are used to discover the new routes to reach the destination. In Dynamic Routing, RIP and OSPF are the protocols used to discover the new routes. If any route goes down, then the automatic adjustment will be made to reach the destination.
  • 6. 3. Default Routing Default Routing is a technique in which a router is configured to send all the packets to the same hop device, and it doesn't matter whether it belongs to a particular network or not. A Packet is transmitted to the device for which it is configured in default routing. Default Routing is used when networks deal with the single exit point. It is also useful when the bulk of transmission networks have to transmit the data to the same hp device.
  • 7. Switching Switch: A switch is a small hardware device which is used to join multiple computers together with one local area network (LAN). Switching: Switching in a computer network is achieved by using switches. When a user accesses the internet or another computer network outside their immediate location, messages are sent through the network of transmission media. This technique of transferring the information from one computer network to another network is known as switching. Network switches operate at layer 2 (Data link layer) in the OSI model.
  • 8. The layer 2 switches are used for transmitting the data on the data link layer, and it also performs error checking on transmitted and received frames. Different modes are used for forwarding the packets known as Switching modes. There are three types of switching modes: 1) Store-and-forward 2) Cut-through 3) Fragment-free Switching Modes
  • 10. 1. CIRCUIT-SWITCHEDNETWORKS Circuit switching is a switching technique that establishes a dedicated path between sender and receiver. In the Circuit Switching Technique, once the connection is established then the dedicated path will remain to exist until the connection is terminated. Circuit switching in a network operates in a similar way as the telephone works. Each link is divided into channels using FDM or TDM.
  • 11. Three phases are need to communicate two parties or multiple parties in aconferencecall): Connection setup data transfer Circuit Disconnected
  • 12. 2.PACKETSWITCHED NETWORK The packet switching is a switching technique in which the message is sent in one go, but it is divided into smaller pieces, and they are sent individually. Packets are given a unique number to identify their order at the receiving end. Every packet contains some information in its headers such as source address, destination address and sequence number. Packets will travel across the network, taking the shortest path as possible. If the correct order of the packets is reached, then the acknowledgment message will be sent.
  • 13. 2.1DATAGRAM NETWORKS Each packet (called as datagrams in this approach) is treated independently of allothers. All packets (or datagrams) belong to the samemessagemay travel. different pathsto reachtheir destination.
  • 14. 2.2VIRTUAL-CIRCUIT NETWORKS Its a cross between circuit switched network and datagram network, and hassome characteristics of both. Characteristics: Packets from asingle messagetravel along the same path. Three phasesto transfer data (set up, data transfer andtear down) Resourcescanbe allocated during setup phase Data are packetized and each packet carries an address in the header Implemented in data linklayer
  • 15. 3. Message Switching Message Switching is a switching technique in which a message is transferred as a complete unit and routed through intermediate nodes at which it is stored and forwarded. In Message Switching technique, there is no establishment of a dedicated path between the sender and receiver. Each and every node stores the entire message and then forward it to the next node. This type of network is known as store and forward network.
  • 16. Advantages and Disadvantages of Switching:- Advantages:- Switch increases the bandwidth of the network. It reduces the workload on individual PCs as it sends the information to only that device which has been addressed. It increases the overall performance of the network by reducing the traffic on the network. There will be less frame collision as switch creates the collision domain for each connection.
  • 17. Disadvantages:- A Switch is more expensive than network bridges. A Switch cannot determine the network connectivity issues easily. Proper designing and configuration of the switch are required to handle multicast packets.