Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u...

23
Wide Area Wide Area Networks Networks

Transcript of Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u...

Page 1: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

Wide Area NetworksWide Area Networks

Page 2: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

2

Types of Traditional Telephone Types of Traditional Telephone CircuitsCircuits

Dial-Up Service (Any-to-Any)

Leased Lines Point-to-point only Cheaper for high volumes of use

Leased Line

SwitchedDial-UpService

Seattle

Washington, D.C.

Page 3: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

3

Leased Line ServiceLeased Line Service

Customer Premises A Customer Premises B

SwitchingOffice

SwitchingOffice

SwitchingOffice

TrunkLine

TrunkLine

LocalLoop Local

Loop

Leased LinesMay Pass ThroughMultiple Switches,

Even MultipleCarriers

Page 4: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

4

Leased LinesLeased Lines

Limited to 2 points

Cheaper than dial-up on high-volume routes

Companies can build enterprise networks from meshes of leased lines between sites

LeasedLine

Corporate-ownedSwitch

See this document for price example

Page 5: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

5

Data NetworksData Networks

Data Networking Alternatives Use the telephone network and modems (slow) Lease lines, add own switching (complex)

Data Networks Optimized for data transmission Customer only has to connect to the data network Carrier handles transmission, switching, management Shown as cloud to indicate lack of need to know details Two types: circuit-switched and packet-switched

Data Network

Page 6: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

6

Circuit-Switched Data NetworksCircuit-Switched Data Networks

Switched for any-to-any communication

Just dial the number of the party being called

Very flexible

Page 7: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

7

Circuit-Switched Data NetworksCircuit-Switched Data Networks

Dedicated Capacity Circuit is maintained during the duration of the call

Capacity is always available

You must pay for this constant capacity

Most data transmission is burst, with long silences between transmission

Utilization of the line may be as low as 5%

So circuit-switched services is inherently expensive

Page 8: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

8

Circuit-Switched Data NetworksCircuit-Switched Data Networks

ISDN Usually circuit-switched Both voice and data Two 64 kbps B channels to the desktop Sometimes can combine into a 128 kbps circuit About twice as expensive as a telephone line Needs a terminal adapter to connect computer, phone Reasonably inexpensive, reasonably fast, not popular

ISDN

Page 9: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

9

Packet-Switched Data NetworksPacket-Switched Data Networks

Messages are Broken into Small Pieces (Packets)

Flow through the network more easily than long messages, like sand in an hourglass

Packet

Page 10: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

10

Packet SwitchesPacket Switches

Packet Switched Networks have Switches Route the packets through the network

21

6

5

4

7

3Switch

Page 11: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

11

Packet Switching is EfficientPacket Switching is Efficient

Packets from several stations multiplexed over trunk lines between switches No costly dedicated transmission capacity

11 22Trunk Line

Page 12: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

12

Error Checking in Packet-Switched Data Error Checking in Packet-Switched Data NetworksNetworks

The Process

Sender transmits the packet

Sender maintains the packet in memory

Receiver checks the packet for errors

If there is an error, asks for a retransmission

Sender retrieves from memory, retransmits

21

Page 13: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

13

Error Checking in Packet-Switched Data Error Checking in Packet-Switched Data NetworksNetworks

Considerations in Adds delay (latency) every time it is done

Places a heavy load on the switch, lowering throughput

Not often needed, because there are very few errors on modern transmission lines.

Page 14: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

14

Reliable Packet-Switched Data NetworksReliable Packet-Switched Data Networks

Check for Errors at Each Hop Have reduced throughput Have latency (delays)

21 3 4 5

ErrorCheck

ErrorCheck

ErrorCheck

ErrorCheck

ErrorCheck

Page 15: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

15

Unreliable Packet-Switched Data Unreliable Packet-Switched Data NetworksNetworks

No Error Check at Each Packet Switch Check only once, at receiving host Low latency, load on switches

21 3 4 5

ErrorCheckNo Error Checks at Switches

Page 16: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

16

Unreliable ServiceUnreliable Service

Most Packet Switched Networks Today are Unreliable

Little Need: Error rates are low with modern lines, switches

Reduces delays: critical for some applications

Low load on the switches for high throughput

Better to check once, on the receiving host, than at every switch

Page 17: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

17

Connectionless ServiceConnectionless Service

Routing Decision for each packet at each switch Places a heavy load on switches Unnecessary work: subsequent packets usually travel

same path, because conditions rarely change between packets

21

6

5

4

7

3Decision

DecisionDecision

Decision

Page 18: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

18

Connection-Oriented ServiceConnection-Oriented Service

Routing decision is made once, at start of connection

21

6

5

4

7

3Decision

DecisionDecision

Decision

Page 19: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

19

Connection-Oriented ServiceConnection-Oriented Service

First decision establishes a path (virtual circuit) All subsequent packets follow the virtual circuit

21

6

5

4

7

3

Virtual Circuit

Page 20: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

20

Connection-Oriented Packet-Switched Connection-Oriented Packet-Switched Data NetworksData Networks

All Commercial Packet Switched Networks are Connection-Oriented Reduces loads on the switches for higher throughput

Lower latency because of less work at each switch

When marketers say “packet switched,” they now automatically include the concept of connection orientation

Page 21: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

21

Connections in Packet-Switched Data Connections in Packet-Switched Data NetworksNetworks

Permanent Virtual Circuits (PVCs) Established for long durations Set up weeks or months ahead of time If your firm has four sites, need 6 PVCs Makes packet switched networks like network of leased

lines

Site 1Site 1

Site 3Site 3 Site 4Site 4

Site 2Site 2PVC

Page 22: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

22

Connections in Packet-Switched Data Connections in Packet-Switched Data NetworksNetworks

Switched Virtual Circuits

Established at call setup

Only available in some packet switched networks

Will provide the any-to-any flexibility of circuit-switched data networks AND the efficiency of connection-oriented packet switching

Page 23: Wide Area Networks. 2 Types of Traditional Telephone Circuits u Dial-Up Service (Any-to-Any) u Leased Lines u Point-to-point only u Cheaper for high volumes.

23

OSI LayeringOSI Layering

Connectionless Service OSI Layer 3 (Networking) Routing across a series of packet switches Alternative Routing

Connection-Oriented Service OSI Layer 2 (Data Link) Reduces network to a single path Loses flexibility of alternative routing after virtual

circuit is established