Top Banner
Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks
50

Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

Dec 20, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

Chapter 10:

Introduction to Metropolitan Area Networks and Wide Area Networks

Page 2: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

2

Objectives

•Distinguish local area networks, metropolitan area networks, and wide area networks from each other

•Identify the characteristics of metropolitan area networks, and explain how they compare and contrast with wide area and local area networks

•Describe how circuit-switched, datagram packet-switched, and virtual circuit packet-switched networks work

Page 3: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

3

Objectives (continued)

•Identify the differences between a connection-oriented network and a connectionless network, and give an example of each

•Describe the differences between centralized routing and distributed routing, and cite the advantages and disadvantages of each

•Describe the differences between static routing and adaptive routing, and cite the advantages and disadvantages of each

Page 4: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

4

Objectives (continued)

•Document the main characteristics of flooding, and use hop count and hop limit in a simple example

•Discuss the basic concepts of network congestion, including quality of service

Page 5: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

5

Introduction

•As we have seen, a local area network covers a room, a building or a campus

•A metropolitan area network (MAN) covers a city or a region of a city

•A wide area network (WAN) covers multiple cities, states, countries, and even the solar system

Page 6: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

6

Metropolitan Area Network Basics

•MANs:

•Borrow technologies from LANs and WANs

•Support high-speed disaster recovery systems, real-time transaction backup systems, interconnections between corporate data centers and Internet service providers, and government, business, medicine, and education high-speed interconnections

•Almost exclusively fiber optic systems

Page 7: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

7

Metropolitan Area Network Basics(continued)

•MANs:

•Have very high transfer speeds

•Can recover from network faults very quickly (failover time)

•Are very often a ring topology (not a star-wired ring)

•Some can be provisioned dynamically

Page 8: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

8

Metropolitan Area Network Basics (continued)

Page 9: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

9

SONET vs. Ethernet

•Most MANs are SONET network built of multiple rings (for failover purposes)

•SONET:

•Well-proven but complex, fairly expensive, and cannot be provisioned dynamically

•Based upon T-1 rates and does not fit nicely into 1 Mbps, 10 Mbps, 100 Mbps, 1000 Mbps chunks, like Ethernet systems do

•Ethernet MANs generally have high failover times

Page 10: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

10

SONET vs. Ethernet (continued)

Page 11: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

11

SONET vs. Ethernet (continued)

Page 12: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

12

Wide Area Network Basics

•WANs used to be characterized with slow, noisy lines

•Today WANs are very high speed with very low error rates

•WANs often follow a mesh topology

Page 13: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

13

Wide Area Network Basics (continued)

Page 14: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

14

Wide Area Network Basics (continued)

•Station: device that interfaces a user to a network

•Node: device that allows one or more stations to access the physical network

•A transfer point for passing information through a network

•Is often a computer, router, or telephone switch

•Communications network, or physical network: underlying connection of nodes and telecommunication links

Page 15: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

15

Wide Area Networks (continued)

Page 16: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

16

Types of Communications Networks

•Circuit switched network:

•Network in which a dedicated circuit is established between sender and receiver

•All data passes over this circuit

•Telephone system is a common example

•Connection is dedicated until one party or another terminates the connection

Page 17: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

17

Circuit-Switched Network

Page 18: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

18

Packet-Switched Network

•Packet switched network:•Network in which all data messages are transmitted using fixed-sized packages, called packets

•More efficient use of a telecommunications line since packets from multiple sources can share the medium.

•One form of packet switched network is the datagram

•With a datagram, each packet is on its own and may follow its own path

•Virtual circuit creates a logical path through the subnet

•All packets from one connection follow this path

Page 19: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

19

Broadcast Network

•Broadcast network:

•Network typically found in local area networks but occasionally found in wide area networks

•A workstation transmits its data and all other workstations “connected” to the network hear the data

•Only the workstation(s) with the proper address will accept the data

Page 20: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

20

Summary of Network Structures

Page 21: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

21

Connection-Oriented vs. Connectionless Network Applications

•The network structure is the underlying physical component of a network

•What about the software or application that uses the network?

•A network application can be either connection-oriented or connectionless

Page 22: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

22

Connection-Oriented vs. Connectionless Network Applications (continued)

•A connection-oriented application requires both sender and receiver to create a connection before any data is transferred

•Applications (such as large file transfers) and sensitive transactions (such as banking and business) are typically connection-oriented

•A connectionless application does not create a connection first but simply sends the data

•Electronic mail is a common example

Page 23: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

23

Connection-Oriented vs. Connectionless Network Applications (continued)

Page 24: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

24

Connection-Oriented vs. Connectionless Network Applications (continued)

Page 25: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

25

Connection-Oriented vs. Connectionless Network Applications (continued)

•A connection-oriented application can operate over both a circuit switched network or a packet switched network

•A connectionless application can also operate over both a circuit switched network or a packet switched network

•However, a packet switched network may be more efficient

Page 26: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

26

Routing

• Each node in a WAN is a router that: 1. Accepts an input packet

2. Examines the destination address

3. Forwards the packet on to a particular telecommunications line

• How does a router decide which line to transmit on?• Router must select one transmission line that will best

provide a path to the destination in an optimal manner

• Often many possible routes exist between sender and receiver

Page 27: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

27

Routing (continued)

Page 28: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

28

Routing (continued)

•The communications network with its nodes and telecommunication links is essentially a weighted network graph

•The edges, or telecommunication links, between nodes, have a cost associated with them

•Could be a delay cost, queue size cost, limiting speed, or simply a dollar amount for using that link

Page 29: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

29

Routing (continued)

Page 30: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

30

Routing (continued)

•Routing method, or algorithm, chosen to move packets through a network should be:

•Optimal, so the least cost can be found

•Fair, so all packets are treated equally

•Robust, in case link or node failures occur and the network has to reroute traffic

•Not too robust so that the chosen paths do not oscillate too quickly between troubled spots

Page 31: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

31

Dijkstra’s Least-Cost Algorithm

•Dijkstra’s least-cost algorithm finds all possible paths between two locations

•By identifying all possible paths, it also identifies the least cost path

•Can be applied to determine the least cost path between any pair of nodes

Page 32: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

32

Dijkstra’s Least-Cost Algorithm (continued)

Page 33: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

33

Flooding

•When a packet arrives at a node, the node sends a copy of the packet out to every link except the link the packet arrived on

•Traffic grows very quickly when every node floods the packet

•To limit uncontrolled growth, each packet has a hop count

•Every time a packet hops, its hop count is incremented

•When a packet’s hop count equals a global hop limit, the packet is discarded

Page 34: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

34

Flooding (continued)

Page 35: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

35

Flooding (continued)

Page 36: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

36

Centralized Routing

•One routing table is kept at a “central” node

•Whenever a node needs a routing decision, the central node is consulted

•To survive central node failure, the routing table should be kept at a backup location

•The central node should be designed to support a high amount of traffic consisting of routing requests

Page 37: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

37

Centralized Routing (continued)

Page 38: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

38

Distributed Routing

•Each node maintains its own routing table

•No central site holds a global table

•Somehow each node has to share information with other nodes so that the individual routing tables can be created

•Possible problem: individual routing tables holding inaccurate information

Page 39: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

39

Distributed Routing (continued)

Page 40: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

40

Adaptive Routing versus Static Routing

•With adaptive routing, routing tables can change to reflect changes in the network

•Static routing:

•Does not allow the routing tables to change

•Is simpler but does not adapt to network congestion or failures

Page 41: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

41

Routing Examples

•Routing Information Protocol (RIP):

•First routing protocol used on the Internet

•Form of distance vector routing

•Was adaptive and distributed

•Each node kept its own table and exchanged routing information with its neighbors

Page 42: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

42

Routing Examples

•Open Shortest Path First (OSPF):

•Second routing protocol used on the Internet

•A form of link state routing

•It too was adaptive and distributed

•However, more complicated and performed much better than RIP

Page 43: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

43

Network Congestion

•When a network or a part of a network becomes so saturated with data packets that packet transfer is noticeably impeded, network congestion occurs

•What can cause network congestion?

•Node and link failures

•High amounts of traffic

•Improper network planning

•When serious congestion occurs, buffers overflow and packets are lost

Page 44: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

44

Network Congestion (continued)

•What can we do to reduce or eliminate network congestion?

•An application can observe its own traffic and notice if packets are disappearing

•If so, there may be congestion

•This is called implicit congestion control

•The network can inform its applications that congestion has occurred and the applications can take action

•This is called explicit congestion control

Page 45: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

45

Congestion Avoidance

•Before making a connection, user requests how much bandwidth is needed, or if connection needs to be real-time•Network checks to see if it can satisfy user request•If user request can be satisfied, connection is established•If a user does not need a high bandwidth or real-time, a simpler, cheaper connection is created•Asynchronous transfer mode is a very good example of this (Chapter Twelve)

Page 46: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

46

WANs in Action: Making Internet Connections

•Home to Internet connection:

•Modem and dial-up telephone provide circuit switched subnet, while connection through the Internet is a packet-switched subnet

•The application can be either a connection-oriented application or a connectionless application

Page 47: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

47

A Home-to-Internet Connection

Page 48: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

48

A Work-to-Internet Connection

•A work to Internet connection would most likely require a broadcast subnet (LAN) with a connection to the Internet (packet switched subnet)

Page 49: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

49

A Work-to-Internet Connection(continued)

Page 50: Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.

50

Summary

•LANs, MANs, and WANs

•Circuit-switched, datagram packet-switched, and virtual circuit packet-switched networks

•Connection-oriented vs. connectionless networks

•Centralized vs. distributed routing

•Static vs. adaptive routing

•Flooding, hop count and hop limit

•Network congestion