ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and...

56
ITEC350 Networks I Lecture 1 Hwajung Lee

Transcript of ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and...

Page 1: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

ITEC350 Networks ILecture 1

Hwajung Lee

Page 2: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

References

Panko, “Business Data Networks and Telecommunications,” 4th Edition, Prentice Hall, 2003.

Tanenbaum, “Computer Networks,” 4th Edition, Prentice Hall PTR, 2003.

Wells, “Guide to Linux Networking and Securitity,” Course Technology, 2003.

Minasi, “Mastering Windows Server 2003,” SYBEX Inc., 2003.

Page 3: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

What is Computer Networks?

A collection of autonomous computers interconnected by a single technology Interconnected via:

• Copper wire• Fiber optics• Microwaves• Infrared• Communication satellites, etc.

Page 4: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Why Computer Networks?

Business Applications [Goal1] Resource Sharing

• To connect isolated computer and information to be able to extract and correlate information about the entire company.

• To make all programs, equipment (ex: printers, scanners, and CD burners), and especially data available to anyone on the network without regard to the physical location of the resource an the user.

Page 5: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

[Goal 2] Communication Medium• Electronic mail (e-mail)• Shared resources (ex: shared hard driver)• Videoconferencing, a shared virtual blackboard

Page 6: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

[Goal 3] Electronic Commerce (e-commerce)• To do business electronically with other

companies. (ex: order the parts of a product from a variety of suppliers)

• To do business with consumers over the Internet.

Page 7: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Home Applications [Goal 1] Access to remote information

• Newspapers, Digital library

[Goal 2] Person-to-person communication• Email, Instant messaging, Chat room,

Worldwide newsgroups• Peer-to-peer communication (ex: Napster)• Internet phone, Internet video phone, Internet

radio, Telelearning

Page 8: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Home Applications (cont.) [Goal 3] Interactive entertainment

• Video on demand, Interactive live television show, Multiperson real-time simulation games – possibly with worldwide shared virtual reality.

[Goal 4] Electronic commerce• Home shopping, Electric flea markets, On-line

auctions

Page 9: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Mobile Network Users [Goal] To have a portable office

• Cellular phone, PDA, Military use, Wireless sensor networks, Mobile-commerce, Wearable wireless computers

Combinations of wireless networks and mobile computing.

Page 10: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Network Types Based on Roles

Terminal Connection

Page 11: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Network Types Based on Roles

Client-server

Page 12: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Network Types Based on Roles

Peer-to-peer Computers act as both client and server on the

network There is no reliance on a centralized server to

provide access to data and other resources Compared to a centralized client-server model,

peer-to-peer is decentralized, meaning any host can communicate with any other host

Page 13: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Network Topologies

HYBRIDSOF THESE

RING

STAR

BUS

MESH

Page 14: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Comparison of Basic Topologies

Topology Bus Star Ring

Advantages Physical Broadcast

Inherent Security, Limited Delay

Reliability, Limited Delay

Disadvantages PoorSecurity – All stations see the data at once

Inefficient – collisions when two or more stations send at once.

Poor Reliability (central controller is single point of failure)

Poor Security – All stations see the data as is travels around the ring

Page 15: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Classification of interconnected processors by scale.

Page 16: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Personal Area Network (PAN) A person’s body or desk area

Page 17: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Local Area Networks (1)

Local Area Network (LAN)

Limited geographical distance: home, office, building, campus, industrial part

Customer premises operation• User firm chooses technology

• User firm needs to manage on ongoing basis

Low cost per bit transmitted• Companies can afford high speed

• 100 Mbps to the desktop is typical

Page 18: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Local Area Networks (2)

Two broadcast networks(a) Bus (b) Ring

Page 19: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Local Area Networks (3)

Ethernet Most popular LAN

Architecture of the original Ethernet.

Page 20: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Metropolitan Area Networks

Metropolitan Area Network (MAN) Single urban area (city and its suburbs) Faster than long-distance WANs Still slower than LANs

Page 21: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Metropolitan Area Networks

A metropolitan area network based on cable TV.

Page 22: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

WANWide Area Network (WAN) To link sites

• Long distances

Requires the use of carriers to provide service• Limited and complex choices but carrier manages

High cost per bit transmitted• Companies cannot afford high speeds• Usually low speed (56 kbps to a few megabits per

second)

Page 23: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Wide Area Networks (1)

Relation between hosts on LANs and the subnet.

Page 24: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Wide Area Networks (2)

A stream of packets from sender to receiver.

Page 25: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Wireless Networks

Categories of wireless networks: System interconnection Wireless LANs

• Speed: Upto about 50Mbps• Distance: Tens of meters

Wireless WANs (ex: cellular system)• Speed: below 1Mbps• Distance: Kilometers

Page 26: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Wireless Networks (2)

(a) Bluetooth configuration (b) Wireless LAN

Page 27: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Wireless LANs

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

Page 28: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Standard for Wireless LANs

IEEE 802.11 network.

Page 29: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Wireless WAN Networks

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

Page 30: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Network Software Protocol Hierarchies Design Issues for the Layers Connection-Oriented and Connectionless

Services Service Primitives The Relationship of Services to Protocols

Page 31: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Network SoftwareProtocol Hierarchies

Layers, protocols, and interfaces.

Page 32: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Protocol Hierarchies

The philosopher-translator-secretary architecture.

Page 33: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Protocol Hierarchies (3)

Example information flow supporting virtual communication in layer 5.

Page 34: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Design Issues for the Layers

Addressing Error Control Flow Control Multiplexing Routing

Page 35: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

The software used to maintain each protocol is often called a protocol stack

Transport layer protocols can be: Connectionless, or stateless, which sends each

packet without regard to whether any other packet was received by the destination computer (implementation: packet switching, UDP)

Connection oriented, or stateful, which maintains information about which packets have been correctly received by the destination computer (implm.:circuit-switching, TCP)

Connection-Oriented and Connectionless Services

Page 36: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Connection-Oriented and Connectionless Services

Six different types of service.

Page 37: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Service Primitives

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

Page 38: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Service Primitives (2)

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

Page 39: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Services to Protocols Relationship

The relationship between a service and a protocol.

Page 40: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Why Standard or Reference Model?

Consumer Easy to select a product which is compatible

with other equipments.

Supplier Minimize risk when it develops new

technologies.

Page 41: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Reference Models

The OSI Reference Model ISO (International Organization for

Standardization) OSI (Open Systems Interconnection) Model

The TCP/IP Reference Model TCP (Transmission Control Protocol) IP (Internet Protocol)

A Critique of the OSI Model and Protocols A Critique of the TCP/IP Reference Model

Page 42: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

OSI Reference Model

Page 43: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

OSI Reference Model

Page 44: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

The TCP/IP reference model

Page 45: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Conceptual Models of Networking(1)

Page 46: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

AcronymsPOP (Post Office Protocol)FTP (File Transfer Protocol)UDP (User Datagram Protocol)TCP (Transmission Control Protocol)SMTP (Simple Mail Transport Protocol)HTTP (Hypertext Transport Protocol)DNS (Domain Name Service) ICMP (Internet Control Message Protocol)PPP (Point-to-Point Protocol)SATNET (Satellite Networks) IRC (Internet Relay Chat)

Page 47: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

A Critique of the OSI Model and Protocols

Why OSI did not take over the world Bad timing Bad implementations Bad politics

Page 48: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Bad Timing

The apocalypse of the two elephants.

Page 49: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

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: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Networking TechnologiesEthernet

Most widely used technology Three variation of Ethernet based on

transmission speed, or bandwidth

Token-ring Uses a token to identify which computer on

the network has the right to transmit data Not as fast as Ethernet, and may be more

expensive

Page 51: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Networking TechnologiesFiber Distributed Data Interface (FDDI)

Reliable, but slower and costlier than Ethernet

Arcnet Reliable, but slower token-passing technology

Asynchronous Transfer Mode (ATM) high-speed, very reliable and very expensive used

for Internet backbones

Wireless LAN (WLAN) No cables used to connect nodes to the network Data is transmitted via radio signals of infrared

Page 52: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Networking Technologies

Page 53: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

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 54: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

ITU (International Telecommunication Union)

Main sectors• Radiocommunications• Telecommunications Standardization• Development

Classes of Members• National governments• Sector members• Associate members• Regulatory agencies

Page 55: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

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 56: ITEC350 Networks I Lecture 1 Hwajung Lee. References Panko, “Business Data Networks and Telecommunications,” 4 th Edition, Prentice Hall, 2003. Tanenbaum,

Metric Units

The principal metric prefixes.