Data Communications TDC 362 / TDC 460

Slides:



Advertisements
Similar presentations
CSE 413: Computer Networks
Advertisements

Ch. 12 Routing in Switched Networks
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Ch. 12 Routing in Switched Networks Routing in Packet Switched Networks Routing Algorithm Requirements –Correctness –Simplicity –Robustness--the.
Data and Computer Communications
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Module 3.4: Switching Circuit Switching Packet Switching K. Salah.
1 Routing Lesson 10 NETS2150/2850 School of Information Technologies.
Chapter 8 Switching Switching at the physical layer in the traditional telephone network uses the circuit-switching approach.
EE 4272Spring, 2003 Chapter 10 Packet Switching Packet Switching Principles  Switching Techniques  Packet Size  Comparison of Circuit Switching & Packet.
Wide Area Networks School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 11, Thursday 3/22/2007)
Computer Networks The Data Link / Network Layer Functions: Routing
Data Communications Packet Switching.
Teknik Routing Pertemuan 20 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
William Stallings Data and Computer Communications 7th Edition
Data Communications Circuit Switching. Switching Networks Long distance transmission is typically done over a network of switched nodes Nodes not concerned.
Telecommunication Technologies
EE 4272Spring, 2003 Chapter 9: Circuit Switching Switching Networks Circuit-Switching Networks Circuit-Switching Concept  Space-Division Switching  Time-Division.
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
Chapter 12: Circuit Switching and Packet Switching
Packet Switching EE3900 Data Communications and LANs Packet Switching Slide 1.
Chapter 8 Switching Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Computer Networks Switching Technologies. 2 Switched Network Long distance transmission typically done over a network of switched nodes End devices.
ECS 152A 7. Circuit Switching, Packet Switching, and Frame Relay.
1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Computer Networks MCA Sem-III Baljeet Kaur
Data Communications and Networking
Data Communications & Computer Networks
Communication Networks
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Chapter 12 Routing in Switched Networks. Routing in Packet Switched Network  key design issue for (packet) switched networks  select route across network.
Aegis School of Telecommunication Chapter 10 Circuit Switching and Packet Switching Telecom Systems I by Dr. M. G.
1 9. Circuit Switching. Prof. Sang-Jo Yoo 2 Contents  Switching Networks  Circuit-Switching Networks  Switching Concepts  Routing in Circuit-Switching.
M.Menelaou CCNA2 ROUTING. M.Menelaou ROUTING Routing is the process that a router uses to forward packets toward the destination network. A router makes.
Data and Computer Communications Chapter 10 – Circuit Switching and Packet Switching (Wide Area Networks)
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Sami Al-wakeel 1 Data Transmission and Computer Networks The Switching Networks.
 Circuit Switching  Packet Switching  Message Switching WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998.
Data and Computer Communications Circuit Switching and Packet Switching.
Computer Networks with Internet Technology William Stallings
William Stallings Data and Computer Communications Chapter 9 Circuit Switching.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TELEPHONE NETWORK Telephone networks use circuit switching. The telephone network had its beginnings in the late 1800s. The entire network, which is referred.
CSCI 465 D ata Communications and Networks Lecture 15 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Data Communications and Networking Chapter 11 Routing in Switched Networks References: Book Chapters 12.1, 12.3 Data and Computer Communications, 8th edition.
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
EEC4113 Data Communication & Multimedia System Chapter 7: Network Layer by Muhazam Mustapha, October 2011.
TELE202 Lecture 6 Routing in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Packet switching in Wide Area Networks »Source: chapter 10 ¥This Lecture.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
Lecture # 03 Switching Course Instructor: Engr. Sana Ziafat.
William Stallings Data and Computer Communications 7th Edition
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
1 Switching and Forwarding Sections Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple.
Computer Communication & Networks Lecture # 03 Circuit Switching, Packet Switching Nadeem Majeed Choudhary
1 Kyung Hee University Chapter 8 Switching. 2 Kyung Hee University Switching  Switching  Switches are devices capable of creating temporary connections.
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
1587: COMMUNICATION SYSTEMS 1 Wide Area Networks Dr. George Loukas University of Greenwich,
Data and Computer Communications 8 th and 9 th Edition by William Stallings Chapter 10 – Circuit Switching and Packet Switching.
Data and Computer Communications Chapter 7 Circuit Switching and Packet Switching.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
William Stallings Data and Computer Communications
Packet Switching Datagram Approach Virtual Circuit Approach
William Stallings Data and Computer Communications
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Packet Switching Around 1970, research began on a new form of architecture for long distance communications: Packet Switching.
Data Communication Networks
William Stallings Data and Computer Communications 7th Edition
Presentation transcript:

Data Communications TDC 362 / TDC 460 Circuit Switching and Packet Switching

8.1 Circuit Switching Space-Division Switch Time-Division Switch TDM Bus Combinations

Figure 8.1 Circuit-switched network

Figure 8.2 A circuit switch

Blocking or Non-blocking A network is unable to connect stations because all paths are in use A blocking network allows this Used on voice systems Short duration calls Non-blocking Permits all stations to connect (in pairs) at once Used for some data connections

Figure 8.4 Crossbar switch

Figure 8.5 Multistage switch

Figure 8.6 Switching path

Three Stage Switch

Figure 8. 7 Time-division multiplexing, without and with a Figure 8.7 Time-division multiplexing, without and with a Time-slot interchange

Figure 8.8 Time-slot interchange

Figure 8.9 TDM bus

Figure 8.10 TST (Time-space-time) switch

Circuit-Switched Routing Many connections will need paths through more than one switch Need to find a route Efficiency Resilience Public telephone switches are a tree structure Static routing uses the same approach all the time Dynamic routing allows for changes in routing depending on traffic Uses a peer structure for nodes

Alternate Routing Possible routes between end offices predefined Originating switch selects appropriate route Routes listed in preference order Different sets of routes may be used at different times

Alternate Routing Diagram

Control Signaling Functions Audible communication with subscriber Transmission of dialed number Call can not be completed indication Call ended indication Signal to ring phone Billing info Equipment and trunk status info Diagnostic info Control of specialist equipment

Control Signals

Location of Signaling Subscriber to network Within network Depends on subscriber device and switch Within network Management of subscriber calls and network ore complex

In Channel Signaling Use same channel for signaling and call Inband Requires no additional transmission facilities Inband Uses same frequencies as voice signal Can go anywhere a voice signal can Impossible to set up a call on a faulty speech path Out-of-band Voice signals do not use full 4kHz bandwidth Narrow signal band within 4kHz used for control Can be sent whether or not voice signals are present Need extra electronics Slower signal rate (narrow bandwidth)

Drawbacks of In Channel Signaling Limited transfer rate Delay between entering address (dialing) and connection Overcome by use of common channel signaling

Common Channel Signaling Control signals carried over paths independent of voice channel One control signal channel can carry signals for a number of subscriber channels Common control channel for these subscriber lines Associated Mode Common channel closely tracks interswitch trunks Disassociated Mode Additional nodes (signal transfer points) Effectively two separate networks

Common vs. In Channel Signaling

Signaling Modes

Signaling System Number 7 SS7 Most widely used common channel signaling scheme Internationally standardized and general purpose

SS7 SS7 network and protocol used for: Basic call setup, management, tear down Wireless services such as PCS, roaming, authentication Toll free and toll (900) wireline services Enhanced features such as call forwarding, caller ID, 3-way calling Efficient and secure worldwide telecommunications

SS7 SS7 messages are exchanged between central offices and specialized databases via signal transfer points (packet switches). Control plane Responsible for establishing and managing connections Information plane Once a connection is set up, info is transferred in the information plane

SS7 Signaling Network Elements Service switching point (SSP) SSPs enable central offices to communicate with SS7 databases (the user entry point into SS7) Signal transfer point (STP) A signaling point (packet switch) capable of routing control messages Service control point (SCP) SCPs contain databases with call routing instructions

SS7 SCP SCP STP SSP Central Office STP SSP Central Office SSP Central

SS7 Characteristics SSPs are telephone switches that send signaling messages to other SSPs to setup, manage, and release voice circuits An SSP may also send a query message to a centralized database (an SCP) to determine how to route a call (e.g. a toll-free number) Because the SS7 network is critical to call processing, SCPs and STPs are deployed in mated pair configurations in separate physical locations Links between signaling points are also in pairs

Packet Switching Principles Circuit switching designed for voice Resources dedicated to a particular call Much of the time a data connection is idle Data rate is fixed Both ends must operate at the same rate What if we don’t want a dedicated call, or the data rate is bursty? You want packet switching!

Basic Operation Data transmitted in small packets Typically 1000 bytes Longer messages split into series of packets Each packet contains a portion of user data plus some control info (such as addressing info or packet type) Packets are received, stored briefly (buffered) and passed on to the next node Store and forward (only ATM does not do this)

Advantages Line efficiency Data rate conversion Single node to node link can be shared by many packets over time Packets queued and transmitted as fast as possible Data rate conversion Each station connects to the local node at its own speed Nodes buffer data if required to equalize rates Packets are accepted even when network is busy Delivery may slow down Priorities can be used

Two Basic Forms of Packet Switching Packets handled in two ways Datagram Virtual circuit

Datagram Each packet treated independently Packets can take any practical route Packets may arrive out of order Packets may get lost or delayed Up to receiver to re-order packets and recover from missing packets

Virtual Circuit 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

Figure 18.2 Virtual Circuit Identifier (VCI) VCI is known only between two switches. (It is not a global address.)

Figure 18.4 Switch and table

Figure 18.5 Source-to-destination data transfer

S(witched)VC vs. P(ermanent)VC setup A virtual circuit can be either switched or permanent. If permanent, an outgoing VCI is given to the source, and an incoming VCI is given to the destination. The source always uses this VCI to send frames to this particular destination. The destination knows that the frame is coming from that particular source if the frame carries the corresponding incoming VCI. If a duplex connection is needed, two virtual circuits are established.

S(witched)VC vs. P(ermanent)VC setup A PVC has several drawbacks: 1. Always connected, so always paying 2. Connection is between two parties only. If you need a connection to another point, you need another PVC. Don’t like these disadvantages? Use an SVC.

Figure 18.6 SVC setup request 1 - Setup frame sent from A to Switch I. Note how the Outgoing VCI is not yet known.

Figure 18.7 SVC setup acknowledgment As the acknowledgment frame goes back, the VCI number is placed into the Outgoing VCI entry in each table.

Virtual Circuits vs Datagram Network can provide sequencing and error control Packets are forwarded more quickly No routing decisions to make Less reliable Loss of a node looses all circuits through that node Datagram No call setup phase Better if few packets More flexible Routing can be used to avoid congested parts of the network

Packet Size

Event Timing

Routing Complex, crucial aspect of packet switched networks Characteristics required Correctness Simplicity Robustness Stability Fairness Optimality Efficiency

Performance Criteria Used for selection of route Minimum hop Least cost Dijkstra’s algorithm most common Finds the least cost path from one starting node to all other nodes Algorithm can be repeated for each starting node

Dijkstra’s Least Cost Example

Dijkstra’s Least Cost Example

Decision Time and Place Packet or virtual circuit basis Place Distributed Made by each node Centralized - dead Source - dead

Basic Routing Strategies Adaptive versus Fixed (dead?) Distributed versus Centralized (dead?) Flooding

Centralized and Distributed Routing Tables

Flooding No network info required Packet sent by node to every neighbor Incoming packets retransmitted on every link except incoming link Eventually a number of copies will arrive at destination Each packet is uniquely numbered so duplicates can be discarded Nodes can remember packets already forwarded to keep network load in bounds Can include a hop count in packets

Flooding Example

Properties of Flooding All possible routes are tried Very robust At least one packet will have taken minimum hop count route Can be used to set up virtual circuit All nodes are visited Useful to distribute information (e.g. routing)

Adaptive Routing Used by almost all packet switching networks Routing decisions change as conditions on the network change Failure Congestion Requires info about network Decisions more complex Tradeoff between quality of network info and overhead Reacting too quickly can cause oscillation Reacts too slow to be relevant

Adaptive Routing - Advantages Improved performance Aid congestion control Complex system May not realize theoretical benefits

Where does routing info come from? Local (isolated) Route to outgoing link with shortest queue Can include bias for each destination Rarely used - do not make use of easily available info Adjacent (neighbor) nodes only All nodes in network

Unicast Routing Overview: Chapter 21 Unicast Routing Overview: Routing Protocols (Details in TDC 365/463)

Three basic unicast routing protocols: RIP, OSPF, BGP Figure 21.1 Unicasting In unicast routing, the router forwards the received packet through only one of its ports. Three basic unicast routing protocols: RIP, OSPF, BGP

R1, R2, R3 and R4 use an interior and exterior routing Figure 21.3 Autonomous systems R1, R2, R3 and R4 use an interior and exterior routing protocol. The other routers use only an interior protocol. RIP and OSPF are interior, BGP is exterior.

RIP (Routing Information Protocol) is an interior routing Protocol based on distance vector routing which uses the Bellman-Ford algorithm. Each router shares its routing knowledge with its neighbors, every 30 seconds. This shared information is used to update a router’s routing table. An entry in the routing table consists of the destination network address, the shortest distance to reach the destination in hop count, and the next router to which the packet should be delivered. (see next slide)

Table 21.1 A distance vector routing table Destination Hop Count Next Router Other information 163.5.0.0 7 172.6.23.4 197.5.13.0 5 176.3.6.17 189.45.0.0 4 200.5.1.6 115.0.0.0 6 131.4.7.19

RIP Updating Algorithm Receive: a response RIP message 1. Add one hop to the hop count for each advertised destination. 2. Repeat the following steps for each advertised destination: 1. If (destination not in the routing table) 1. Add the advertised information to the table. 2. Else 1. If (next-hop field is the same) 1. Replace entry in the table with the advertised one. 1. If (advertised hop count smaller than one in the table) 1. Replace entry in the routing table. 3. Return.

Figure 21.4 Example of updating a routing table

OSPF (Open Shortest Path First) protocol is another interior routing protocol for autonomous systems. Special routers called autonomous system boundary routers are responsible for dissipating information about other autonomous systems into the current system. To handle routing efficiently and in a timely manner, OSPF divides an autonomous system into areas.

Figure 21.7 Areas in an autonomous system

In OSPF, each router sends the state of its neighborhood to every other router in the area. It does this by flooding. The state of its neighborhood is only shared when there is new information. This generates much less traffic than does distance vector routing (RIP). OSPF keeps information on its links (the connection between two routers). There are 4 types of links: point-to-point, transient, stub, and virtual. To share information about their neighbors, each entity distributes link state advertisements (LSAs).

There are 5 different types of LSAs: router link, network link, OSPF There are 5 different types of LSAs: router link, network link, summary link to network, summary link to AS boundary router, and external link. Every router in an area receives the router link LSAs and network link LSAs from every other router and forms a link state database. Dijkstra’s least cost algorithm is applied to this link state database to create the routing table. The routing table shows the cost of reaching each network in the area.

RIP and OSPF have shortcomings. BGP RIP and OSPF have shortcomings. RIP (distance vector routing) is not always optimal because The smallest hop count is not always the optimal route. Plus, bad news moves slowly. OSPF (link state routing) has the shortcoming of a possibly huge routing table. To use link state routing for the whole internet would require each router to have a huge database. What about BGP (Border Gateway Protocol)? It is an inter- autonomous system routing protocol and is based on a routing method called path vector routing.