72
Aleksandra Smiljanić [email protected] Local and Wide Area Networks

Aleksandra Smiljani ć [email protected]

  • Upload
    april

  • View
    30

  • Download
    0

Embed Size (px)

DESCRIPTION

Aleksandra Smiljani ć [email protected]. Local and Wide Area Networks. Course Outline: First Third. • Introduction to networking • Transmission media – Air, twisted pairs, coaxial cables, optical fibers • Data link techniques – Error detection and correction codes - PowerPoint PPT Presentation

Citation preview

Page 1: Aleksandra Smiljani ć aleks@ece.sunysb

Aleksandra Smiljanić[email protected]

Local and Wide Area Networks

Page 2: Aleksandra Smiljani ć aleks@ece.sunysb

Course Outline: First Third

• Introduction to networking• Transmission media

– Air, twisted pairs, coaxial cables, optical fibers• Data link techniques

– Error detection and correction codes – Sliding window protocol – HDLC, PPP• Medium access protocols

– Ethernet, FDDI, RPR– DOCSIS– Wireless LAN

Page 3: Aleksandra Smiljani ć aleks@ece.sunysb

Course Outline: Second Third

• Switches and QoS– Circuit switches: Clos structure– Packet switch architectures– Weighted fair queueing (WFQ), random early

detection (RED) – High-capacity packet switches • Bridging

– Learning bridges– Spanning tree algorithm

Page 4: Aleksandra Smiljani ć aleks@ece.sunysb

Course Outline: Third Third• Routing – Connection-oriented and connectionless

networks– Distance vector routing– Link state routing– OSPF, RIP

• Transport end-to-end protocols– TCP, UDP

• Applications– FTP, Telnet, Email, DNS, WWW,

Multimedia• Network Security

Page 5: Aleksandra Smiljani ć aleks@ece.sunysb

Introduction to Networking

Page 6: Aleksandra Smiljani ć aleks@ece.sunysb

Uses of Computer Networks

• Business Applications

• Home Applications

Page 7: Aleksandra Smiljani ć aleks@ece.sunysb

Business Applications

• Sharing resources

• Common databases for customer records, inventory, accounts

• E-commerce

• Video-conferencing

• Disseminating the information, and coordination

Page 8: Aleksandra Smiljani ć aleks@ece.sunysb

Home Applications

• Getting the remote information

• Person-to-person information

• E-commerce

• Entertainment

• E-flea

Page 9: Aleksandra Smiljani ć aleks@ece.sunysb

Application Types

Some forms of e-commerce.

Page 10: Aleksandra Smiljani ć aleks@ece.sunysb

Client-Server Communication

A network with two clients and one server.

Page 11: Aleksandra Smiljani ć aleks@ece.sunysb

Client-Server Communication

The client-server model involves requests and replies.

Page 12: Aleksandra Smiljani ć aleks@ece.sunysb

Peer-to-Peer Communication

In peer-to-peer system there are no fixed clients and servers.

Page 13: Aleksandra Smiljani ć aleks@ece.sunysb

Mobile and Wireless Applications

Combinations of wireless networks and mobile computing.

Page 14: Aleksandra Smiljani ć aleks@ece.sunysb

Wireless Applications

• Portable offices

• Trucks, taxis, police need to communicate

• Help with orientation in the area

• Car rental return

• M-commerce

• Status of the machines

Page 15: Aleksandra Smiljani ć aleks@ece.sunysb

Network Types

• Local Area Networks

• Metropolitan Area Networks

• Wide Area Networks

• Wireless Networks

• Home Networks

• Internetworks

Page 16: Aleksandra Smiljani ć aleks@ece.sunysb

Network Types

Classification of interconnected processors by scale.

Page 17: Aleksandra Smiljani ć aleks@ece.sunysb

Local Area Networks

Two LANs(a) Bus-broadcast(b) Ring

Page 18: Aleksandra Smiljani ć aleks@ece.sunysb

Metropoliten Area Networks

Two MANs(a) Star-switched(b) Ring

Switch

Page 19: Aleksandra Smiljani ć aleks@ece.sunysb

Metropolitan Area Networks

A metropolitan area network based on cable TV.

Page 20: Aleksandra Smiljani ć aleks@ece.sunysb

Wide Area Networks

Relation between hosts on LANs and the subnet.

Circuit switch

Page 21: Aleksandra Smiljani ć aleks@ece.sunysb

Wide Area Networks

A stream of packets from sender to receiver.

Page 22: Aleksandra Smiljani ć aleks@ece.sunysb

Wireless Networks

Categories of wireless networks:

• System interconnection

• Wireless LANs

• Wireless WANs

Page 23: Aleksandra Smiljani ć aleks@ece.sunysb

Wireless Networks

(a) Bluetooth configuration(b) Wireless LAN

Page 24: Aleksandra Smiljani ć aleks@ece.sunysb

Wireless Networks

(a) Individual mobile computers(b) A flying LAN

Page 25: Aleksandra Smiljani ć aleks@ece.sunysb

Home Network Categories

• Computers (desktop PC, PDA, shared peripherals)• Entertainment (TV, DVD, VCR, camera, stereo, MP3)• Telecomm (telephone, cell phone, intercom, fax)• Appliances (microwave, fridge, clock, furnace, airco)• Telemetry (utility meter, burglar alarm, babycam).

Page 26: Aleksandra Smiljani ć aleks@ece.sunysb

Network Hardware

• Transmission medium

• Transceivers: transmitters and receivers on the point-to-point connections

• Multiplexers, demultiplexers

• Packet and circuit switches

• Bridges

• Routers

• Servers, gateways, management units

Page 27: Aleksandra Smiljani ć aleks@ece.sunysb

Transmission Medium

• Air: different frequency bands

• Wires: twisted pairs

• Coaxial cables

• Optical fibers

Page 28: Aleksandra Smiljani ć aleks@ece.sunysb

Transceivers

• Transmitters perform modulation and coding to provide efficient and reliable communication.

• Receivers perform the reverse operations.

• Depending on the medium transceivers are electronic devices, antenas, or lasers and photodiodes.

Page 29: Aleksandra Smiljani ć aleks@ece.sunysb

Multiplexers and Demultiplexers

• Multiplexers receive multiple lower bit-rate streams of data and according to some rule transmit the higher bit-rate stream of data.

• Demultiplexers do the opposite.

Page 30: Aleksandra Smiljani ć aleks@ece.sunysb

Circuit and Packet Switches

• It does not make sense to connect every user with every other user in the network.

• Circuit and packet switches connect multiple inputs to multiple outputs.

• In circuit switches, the configuration pattern changes on a slow time scale.

• In packet switches, the configuration changes on a packet-per-packet basis.

Page 31: Aleksandra Smiljani ć aleks@ece.sunysb

Servers, Gateways, etc.

• Servers store various kinds of information for users, for example DNS databases, e-mails, web pages and provide it to the users.

• Gateways convert data format, and negotiate QoS with the network.

Page 32: Aleksandra Smiljani ć aleks@ece.sunysb

Network Software

• Protocol Hierarchies• Design Issues for the Layers• Connection-Oriented and Connectionless Services• Service Primitives• The Relationship of Services to Protocols

Page 33: Aleksandra Smiljani ć aleks@ece.sunysb

Network SoftwareProtocol Hierarchies

Layers, protocols, and interfaces.

Page 34: Aleksandra Smiljani ć aleks@ece.sunysb

Protocol Hierarchies (2)

The philosopher-translator-secretary architecture.

Page 35: Aleksandra Smiljani ć aleks@ece.sunysb

Protocol Hierarchies (3)

Example information flow supporting virtual communication in layer 5.

Page 36: Aleksandra Smiljani ć aleks@ece.sunysb

Design Issues for the Layers

• Addressing• Error Control• Flow Control• Multiplexing• Routing

Page 37: Aleksandra Smiljani ć aleks@ece.sunysb

Connection-Oriented and Connectionless Services

Six different types of service.

Page 38: Aleksandra Smiljani ć aleks@ece.sunysb

Service Primitives

Five service primitives for implementing a simple connection-oriented service.

Page 39: Aleksandra Smiljani ć aleks@ece.sunysb

Service Primitives (2)

Packets sent in a simple client-server interaction on a connection-oriented network.

Page 40: Aleksandra Smiljani ć aleks@ece.sunysb

Services to Protocols Relationship

The relationship between a service and a protocol.

Page 41: Aleksandra Smiljani ć aleks@ece.sunysb

Reference Models with Layers

• A layer should have well defined function

• Function of a layer should be internatinationally standardized

• The information flow between interfaces should be minimized

Page 42: Aleksandra Smiljani ć aleks@ece.sunysb

Reference Models

• The OSI reference model

• The TCP/IP reference model

• Hybrid reference model

Page 43: Aleksandra Smiljani ć aleks@ece.sunysb

Reference Models

The OSI reference model.

Page 44: Aleksandra Smiljani ć aleks@ece.sunysb

Reference Models (2)

The TCP/IP reference model.

Page 45: Aleksandra Smiljani ć aleks@ece.sunysb

Reference Models (3)

Protocols and networks in the TCP/IP model initially.

Page 46: Aleksandra Smiljani ć aleks@ece.sunysb

Comparing OSI and TCP/IP Models

Concepts central to the OSI model• Services• Interfaces• Protocols

Concept of TCP/IP

• Implementation of the required functionality with three layers

Page 47: Aleksandra Smiljani ć aleks@ece.sunysb

A Critique of the OSI Model and Protocols

Why OSI did not take over the world

• Bad timing

• Bad technology

• Bad implementations

• Bad politics

Page 48: Aleksandra Smiljani ć aleks@ece.sunysb

Bad Timing

The apocalypse of the two elephants.

Page 49: Aleksandra Smiljani ć aleks@ece.sunysb

A Critique of the TCP/IP Reference Model

Problems:• Service, interface, and protocol not distinguished• Not a general model• Host-to-network “layer” not really a layer• No mention of physical and data link layers• Minor protocols deeply entrenched, hard to replace

Page 50: Aleksandra Smiljani ć aleks@ece.sunysb

Hybrid Model

The hybrid reference model to be used in this book.

Page 51: Aleksandra Smiljani ć aleks@ece.sunysb

Example Networks• The Internet

• Connection-Oriented Networks: X.25, Frame Relay, and ATM

• Ethernet

• Wireless LANs: 802.11

Page 52: Aleksandra Smiljani ć aleks@ece.sunysb

The ARPANET

(a) Structure of the telephone system.(b) Baran’s proposed distributed switching system.

Page 53: Aleksandra Smiljani ć aleks@ece.sunysb

The ARPANET

The original ARPANET design.

Page 54: Aleksandra Smiljani ć aleks@ece.sunysb

The ARPANET

Growth of the ARPANET (a) December 1969. (b) July 1970.(c) March 1971. (d) April 1972. (e) September 1972.

Page 55: Aleksandra Smiljani ć aleks@ece.sunysb

TCP/IP Development

• In 1974, TCP/IP model has been established by Cerf and Kahn, and incorporated into Berkeley UNIX.

• Because of the large number of hosts, domain name system (DNS) was created in 1980s.

Page 56: Aleksandra Smiljani ć aleks@ece.sunysb

NSFNET

The NSFNET backbone in 1988.

Page 57: Aleksandra Smiljani ć aleks@ece.sunysb

Internet Usage

• Traditional applications (1970 – 1990) – E-mail– News– Remote login– File transfer

• World Wide Web developed by CERN physicist Tim Bernars-Lee, and Mark Andressen at National Center for Supercomputer applications

Page 58: Aleksandra Smiljani ć aleks@ece.sunysb

Architecture of the Internet

Overview of the Internet.

Page 59: Aleksandra Smiljani ć aleks@ece.sunysb

ATM Virtual Circuits

A virtual circuit.

Page 60: Aleksandra Smiljani ć aleks@ece.sunysb

ATM Cell

An ATM cell.

Page 61: Aleksandra Smiljani ć aleks@ece.sunysb

The ATM Reference Model

The ATM reference model.

Page 62: Aleksandra Smiljani ć aleks@ece.sunysb

The ATM Reference Model (2)

The ATM layers and sublayers and their functions.

Page 63: Aleksandra Smiljani ć aleks@ece.sunysb

Ethernet

Architecture of the original Ethernet.

Page 64: Aleksandra Smiljani ć aleks@ece.sunysb

Wireless LANs

(a) Wireless networking with a base station.(b) Ad hoc networking.

Page 65: Aleksandra Smiljani ć aleks@ece.sunysb

Wireless LANs

The range of a single radio may not cover the entire system.

Page 66: Aleksandra Smiljani ć aleks@ece.sunysb

Wireless LANs

A multicell 802.11 network.

Page 67: Aleksandra Smiljani ć aleks@ece.sunysb

Network Standardization

• Who’s Who in the Telecommunications World• Who’s Who in the International Standards World• Who’s Who in the Internet Standards World

Page 68: Aleksandra Smiljani ć aleks@ece.sunysb

WLAN Issues

• CSMA/CD may not be applicable

• Multipath fading

• Mobility

Page 69: Aleksandra Smiljani ć aleks@ece.sunysb

ITU• Main sectors

• Radiocommunications• Telecommunications Standardization• Development

• Classes of Members• National governments• Sector members (AT&T, Cisco, Intel, AOL Time

Warner…)• Associate members• Regulatory agencies (FCC)

Page 70: Aleksandra Smiljani ć aleks@ece.sunysb

ISO• 200 Technical Committees, divided into

subcommittees, and working groups involving 100000 voluneers.

• TC97 in charge for computers and information processing.

• American National Standards Institute (ANSI) is US representative in ISO.

• National standards organization -> committee draft ->draft international standard -> standard

Page 71: Aleksandra Smiljani ć aleks@ece.sunysb

IEEE 802 Standards

The 802 working groups. The important ones are marked with *. The ones marked with are hibernating. The one marked with † gave up.

Page 72: Aleksandra Smiljani ć aleks@ece.sunysb

Internet Standards• In 1983, Internet Activities Board (IAB) was

established.

• Communication was done through “request for comments” (RFC) documents.

• IAB is moved to Internet Research Task Force (IRTF) and Internet Engineering Task Force.

• Proposed standard -> draft standard -> standard