Computer Presentation
Computer Presentation
Communication And
Internet Technologies
Circuit Switching⇒ Alok
Packet Switching ⇒Sarthak
Message Switching ⇒Aarogya
Role of router in data transmission, Packet Switching VS Message Switching ⇒Gobinda
Table Of Contents
● Circuit Switching
○ Advantages
○ Disadvantages
○ Application
● Message Switching
○ Advantages
○ Disadvantages
○ Application
● Packet Switching
○ Advantages
○ Disadvantages
○ Application
● Function of Router in Packet Switching and how it is used to send messages through the internet
● The line can only be accessed by one user even when it is idle.
● The time required to link the line with the user before using it is long.
Where Circuit switching is used
Circuit switching is used for connections that must be maintained for long periods, such as long-
distance communication. Circuit switching technology is used in traditional telephone systems.
When a computer connects to the internet through a dial-up service, it uses the public switched
network. Dial-up transmits Internet Protocol (IP) data packets via a circuit-switched telephone
network.
Data centre networks also make use of circuit switching. Optical circuit switching is used to
expand traditional data centres and fulfill increasing bandwidth demands.
Not using circuit
switching because it is
old
Using circuit
switching as it is
fastest and most secure
Definition of Packet Switching
Packet switching is a way of sending data where a message is split
into many packets. Each packet is sent on its own from the start to
the end point. At the destination, the packets are put back together in
the right order. Here's an example of how packet switching works.
Packet Switching
How data is transmitted using packet switching (in short)
● each packet follows its own path
● routing selection depends on the number of datagram packets waiting to be
processed at each node (router)
● the shortest path available is selected
● packets can reach the destination in a different order to that in which they are
sent.
In Detail
Each Packet Follows Its Unique Path:
● In a network, each packet is like a traveler with its own journey. It navigates through the
network independently of other packets.
● The selection of the route for each packet depends on the congestion level at each router
along the way.
● Routers analyze the number of datagram packets awaiting processing and choose the least
congested path for efficient data transmission.
Selection of the Shortest Path:
● Routers prioritize selecting the shortest available path for packet transmission.
● This ensures that packets travel the most direct route, minimizing delays and optimizing
network efficiency.
Sometimes, packets get lost and keep bouncing around from router to router, never reaching where they need to go. This
can slow down the network as these lost packets pile up and jam the system. To fix this, we use something called
"hopping". A hop number is added to each packet's header, which limits how many times it can hop between routers.
Each time a packet goes through a router, its hop number decreases by 1. If it doesn't reach its destination before the hop
number hits 0, it's deleted at the next router.
Packets also have an error-checking method like a checksum. The checksum is calculated for each packet and added to
the header. At the destination, the checksum is recalculated to make sure no errors happened. If the checksums don't
match, a request is made to resend the packet. Sometimes, a priority value is added to the header to show which packet
queue should be used.
Packet Header for TCP/IP Protocol
Network routing is the process of selecting a path across one or more networks. The principles of
routing can apply to any type of network, from telephone networks to public transportation. In packet-
switching networks, such as the Internet, routing selects the paths for Internet Protocol (IP) packets to
travel from their origin to their destination. These Internet routing decisions are made by specialized
pieces of network hardware called routers.
Types of routing :
● Static Routing
● Dynamic Routing
Static Routing: Static Routing is also known as non-adaptive routing which doesn’t change the
routing table unless the network administrator changes or modifies them manually. Static routing does
not use complex routing algorithms and it provides high or more security than dynamic routing.
Types of routing :
● Static Routing
● Dynamic Routing
Static Routing: Static Routing is also known as non-adaptive routing which doesn’t change the
routing table unless the network administrator changes or modifies them manually. Static routing does
not use complex routing algorithms and it provides high or more security than dynamic routing.
Why?)
(
Types of routing :
● Static Routing
● Dynamic Routing
Static Routing: Static Routing is also known as non-adaptive routing which doesn’t change the
routing table unless the network administrator changes or modifies them manually. Static routing does
not use complex routing algorithms and it provides high or more security than dynamic routing.
Static routing is more secure because it doesn't share routes across the entire network. Dynamic routing
creates more security risks because it shares complete routing tables across the network.
Types of routing :
● Static Routing
● Dynamic Routing
Dynamic Routing: Dynamic Routing is also known as adaptive routing which changes the routing
table according to the change in topology. Dynamic routing uses complex routing algorithms and it
does not provide high security like static routing. When the network change(topology) occurs, it sends
the message to the router to ensure that changes then the routes are recalculated for sending updated
routing information.
Routing Tables
A routing table is a set of rules that’s used to determine where data packets travelling over an Internet
Protocol (IP) network will be directed. This table is usually stored inside the Random Access Memory
(RAM) of forwarding devices, such as routers and network switches. In computer networking, each
routing table is unique and acts as an address map for networks. It stores the source and destination IP
addresses of the routing devices in the form of prefixes along with the default gateway addresses and
corresponding routing information. Routing tables are typically updated dynamically through network
routing protocols. But sometimes network administrators might add static entries manually.
Routing tables help send packets along the best route. When a packet reaches a router, its header is
checked against the routing table, which gives instructions for the next hop.
Routing tables have:
● Number of hops
● MAC address of the next router
● Metrics (cost for each route to find the most efficient path)
● Network destination (network ID)
● Gateway (a network node used in telecommunications that connects two networks with different
transmission protocols together.)
● Netmask (a 32-bit value used in computer networking to divide an internet protocol (IP) address
into a network address and a host address )
● Interface (local interface for reaching the gateway)
Pros and cons of circuit switching
Pros and cons of packet switching
??
Any Questions ?