Professional Documents
Culture Documents
Switching (Circuit & Packet)
Switching (Circuit & Packet)
■ Nodes may connect to other nodes only, or to stations and other nodes
■ Node to node links usually multiplexed
■ Network is usually partially connected
– Some redundant connections are desirable for reliability
■ Two different switching technologies
– Circuit switching
– Packet switching
Circuit Switched Network
■ Inefficient
– Channel capacity dedicated for duration of connection
– If no data, capacity wasted
■ Set up (connection) takes time
– Since connection is dedicate so only time taken in connection is the
only delay in transmission
■ Developed for voice traffic (phone)
Circuit Switching Pros/Cons/Application
■ Advantages
– Dedicated transmission
– No delay in transmission
■ Disadvantages
– Because of dedicated connection other devices waste time in waiting
– Dedicated connection will consume all bandwidth
– Sometimes it may take long time to establish a connection
■ Applications
– Public Switched Telephone Network (PSTN)
Circuit Switching Applications
■ Blocking
– A network is unable to connect stations because all paths are in use
– Used on voice systems
■ Short duration calls
■ Non-blocking
– Permits all stations to connect (in pairs) at once
■ Used for some data connections
Circuit Switching Types
Circuit Switching Types
Space Division Switching
■ In space division switching, the paths in the circuit are separated from
each other spatially. This technology is used in both analog & digital
networks. It uses following switches for connection:
– Cross bar switch
– Multistage switch
Packet Switched Network
■ Data are transmitted in short packets. Typically an upper bound on packet size
is 1000 octets.
■ If a station has a longer message to send it breaks it up into a series of small
packets. Each packet now contains part of the user's data and some control
information.
■ The control information should at least contain:
– Destination Address
– Source Address
■ Store and forward
– Packets are received, stored briefly (buffered) and past on to the next node
Packet Switched Network
Packet Switched Network Advantages
■ Security
■ Bandwidth used to full potential
■ Devices of different speeds can communicate
■ Not affected by line failure (redirects signal)
■ Availability
– No waiting for a direct connection to become available
■ During a crisis or disaster, when the public telephone network might stop
working, e-mails and texts can still be sent via packet switching
Packet Switched Network Advantages
■ Line efficiency
– Single node to node link can be shared by many packets over time
– Packets queued and transmitted as fast as possible
■ Packets are accepted even when network is busy
– Delivery may slow down
■ Priorities can be used
Packet Switched Network Disadvantages
■ Virtual circuit packet switched network create a logical path through the
subnet and all packets from one connection follow this path.
■ Preplanned route established before any packets sent
■ Call request and call accept packets establish connection (handshake)
■ Each packet contains a virtual circuit identifier instead of destination
address
■ No routing decisions required for each packet
■ Clear request to drop circuit
■ Not a dedicated path
Virtual Circuit
Virtual Circuits vs Datagram