770 likes | 792 Views
CEN 4500 Data Communications. Chapter 1: Introduction. Instructor: S. Masoud Sadjadi http://www.cs.fiu.edu/~sadjadi/Teaching/ sadjadi At cs Dot fiu Dot edu. Agenda. Introduction Network Hardware Network Software Reference Models Example Networks Network Standardization Summary.
E N D
CEN 4500 Data Communications Chapter 1: Introduction Instructor: S. Masoud Sadjadi http://www.cs.fiu.edu/~sadjadi/Teaching/ sadjadi At cs Dot fiu Dot edu
Agenda • Introduction • Network Hardware • Network Software • Reference Models • Example Networks • Network Standardization • Summary CEN 4500, S. Masoud Sadjadi
History • 18th Century • The Great Mechanical Systems • Industrial Revolution • 19th Century • The age of the Steam Engine • 20th Century • Information gathering, processing, and distribution • Telephone, Radio, TV, Computer, and Satellites CEN 4500, S. Masoud Sadjadi
History • Computer industry • is still young • comparing to automobiles and air transportation has made much better progress • First two decades • Highly centralized, usually within a single large room • A medium-sized company or university might have 1 • Larger institutions had at most a few dozen • Twenty years later • Equally powerful computers smaller than postage stamps • At the time, this would be science fiction! CEN 4500, S. Masoud Sadjadi
History • Merging of Computers and Communications • “Computer Center” is now obsolete • Old Model • A single computer serving everyone in an organization • New Model • A large number of separated but interconnected computers do the job • These systems are called Computer Networks • We study the design and organization of these systems • Future Model ? CEN 4500, S. Masoud Sadjadi
Computer Network • A collection of autonomous computers interconnected by a single technology • Two computers are interconnected • If they are able to exchange information • The connection can be via • Copper wire, Fiber optics, Microwaves, Infrared, or Communication satellites • How about Internet and WWW? • Internet is a network of networks • WWW is a distributed system on top of Internet CEN 4500, S. Masoud Sadjadi
Distributed System • Should not be confused or used interchangeably with Computer Network • So, then what is a distributed system? • In a distributed system, a collection of independent computers appears to its users as a single coherent system • Usually, it is a single paradigm or model that it presents to the users (WWW & documents) • Often a layer of software on top of operating system (called middleware) is responsible for implementing this model CEN 4500, S. Masoud Sadjadi
Uses of Computer Networks • Business Applications • Resource sharing: programs, equipment, data • Communication medium: e-mial, IM, SMS, etc. • Doing business with suppliers (B2B) • E-Commerce (doing business with customers, B2C) • Home Applications • Mobile Users • Social Issues CEN 4500, S. Masoud Sadjadi
Business Applications of Networks • Resource sharing using client-server model • Data are stored in a powerful machine • Employees have a simpler machine called clients A network with two clients and one server. CEN 4500, S. Masoud Sadjadi
Business Applications of Networks • The client-server model • Two processes are involved: one on the client machine and one on the server machine • Communication takes place by the client process sending a request and the server process sending a reply to the request. CEN 4500, S. Masoud Sadjadi
Uses of Computer Networks • Business Applications • Home Applications • Access to remote information (Web surfing) • Person-to-person communication (IM, Chat room) • Interactive entertainment (VoD, Game, etc) • Electronic commerce (shopping, paying bills, etc) • Mobile Users • Social Issues CEN 4500, S. Masoud Sadjadi
Home Network Applications • Person to person communication via P2P • In peer-to-peer system there are no fixed clients and servers. CEN 4500, S. Masoud Sadjadi
Home Network Applications • Some forms of e-commerce. CEN 4500, S. Masoud Sadjadi
Mobile Network Users • Combinations of wireless networks and mobile computing. • m-commerce • PDA cell phones as an electronic wallet, replacing … • Location-dependent services using GPS on cell phones • Personal area networks • Wearable computers • Pervasive computing CEN 4500, S. Masoud Sadjadi
Agenda • Introduction • Network Hardware • Network Software • Reference Models • Example Networks • Network Standardization • Summary CEN 4500, S. Masoud Sadjadi
Taxonomy of Computer Networks • There is no widely accepted taxonomy • Two dimensions that stand out • Transmission Technology • Scale • Transmission Technologies • Broadcast links (usually smaller networks) • Have single, shared communication channel • Short messages (packets) sent are received by all • Point-to-point links (usually larger networks) • Consists of many connections between individual pairs • Packets may have to visit some intermediate machines CEN 4500, S. Masoud Sadjadi
Taxonomy of Computer Networks • Scale Classification of interconnected processors by scale. CEN 4500, S. Masoud Sadjadi
Network Hardware • Local Area Networks • Metropolitan Area Networks • Wide Area Networks • Wireless Networks • Home Networks • Internetworks CEN 4500, S. Masoud Sadjadi
Local Area Networks • LANs • Are privately-owned networks within a single building or campus of up to few kilometers • Two broadcast networks • (a) Bus (e.g., IEEE 802.3 or Ethernet, up to 10 Gbps) • (b) Ring (e.g., IEEE 802.5 or IBM token ring, FDDI) CEN 4500, S. Masoud Sadjadi
Metropolitan Area Networks • MAN covers a city • Cable TV grew from community antenna systems in the areas with poor over-the-air TV reception) • Broadband wireless • A metropolitan area network based on cable TV. CEN 4500, S. Masoud Sadjadi
Wide Area Networks • WAN spans a large geographical area • Contains a collection of hosts interconnected by a communication subnet • Subnets: transmission lines move bits and switching elements (routers) connect two or more tls. Relation between hosts on LANs and the subnet. CEN 4500, S. Masoud Sadjadi
Wide Area Networks • Store-and-forward or packet-switched subnet • Each packet will be received in its entirety on each router and stored there until an output line is free, and then forwarded • Cells: if the packets are small and the same size A stream of packets from sender to receiver. CEN 4500, S. Masoud Sadjadi
Wide Area Networks • Routing decisions are make locally • How to make a routing decision is called routing algorithm. • Not all WANs are packet-switched • Satellite systems • Each router has an antenna to send and receive packets • Satellite networks are inherently broadcast and are most useful when the broadcast property is important. CEN 4500, S. Masoud Sadjadi
Wireless Networks • Not a new idea • Ship-to-shore wireless telegraph in 1901 • Categories of wireless networks: • System interconnection • Ease of operation • Wireless LANs • IEEE 802.11 • Wireless WANs • Cellular phones CEN 4500, S. Masoud Sadjadi
Wireless Networks • (a) Bluetooth configuration • (b) Wireless LAN CEN 4500, S. Masoud Sadjadi
Wireless Networks • Almost all wireless network hook up to wired network at some point • (a) Individual mobile computers • (b) A flying LAN CEN 4500, S. Masoud Sadjadi
Future of wireless networks • Wireless is the wave of the future • “Mobile wireless computers are like mobile pipeless bathrooms—portapotties. They will be common on vehicles, and at constructions sites, and rock concerts. My advice is to wire up your home and stay there.” • (Metcalfe, 1995) • “Four or five computers should be enough for the entire world until the year 2000.” • (IBM chairman T.J. Watson, 1945) CEN 4500, S. Masoud Sadjadi
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, AC • Telemetry • utility meter, burglar alarm, babycam • Wired or Wireless? • Cost favors wireless, but privacy favors wired! CEN 4500, S. Masoud Sadjadi
Internetworks • A collection of interconnect networks is called an internetwork or internet. • “Internet” with capital “I” is one specific internet. • Subnets do not include the hosts, but WANs do. • The combination of a subnet and its hosts forms a WAN • The combination of he cables and the hosts forms a LAN (no subnet in a LAN). • Rule of thumb • If different organizations paid to construct different parts of the network and each maintains its part, we have an internet • If the underlying technology is different. CEN 4500, S. Masoud Sadjadi
Agenda • Introduction • Network Hardware • Network Software • Reference Models • Example Networks • Network Standardization • Summary CEN 4500, S. Masoud Sadjadi
Network Software • Why a layered organization? • To address complexity most network are organized as a stack of layers or levels, each one is built upon the one below it. • The number, name, content, and function of layers are different from one network to the other • The purpose of each layer is to offer certain services to the higher layers, shielding those layers from the implementation details CEN 4500, S. Masoud Sadjadi
Network Software • Protocol Hierarchies • Design Issues for the Layers • Connection-Oriented and Connectionless Services • Service Primitives • The Relationship of Services to Protocols CEN 4500, S. Masoud Sadjadi
Protocol Hierarchies • Layer n Protocol • The rules and conventions used in for two layer n of a network on two machines to communicate. • An agreement between the communication parties on how communication is to proceed • Peers • The entities comprising the corresponding layers on each different machines. • It is the peers that communicate by using the protocols. • Interface • Defines which primitive operations and services the lower layer makes available to the upper layer. Layers, protocols, and interfaces. CEN 4500, S. Masoud Sadjadi
Network Architecture • A set of layers and protocols are called a network architecture. • The specification of a network architecture must have enough information to allow an implementer to write a program or develop the hardware for each layer so that it will correctly obey the appropriate protocols. • Neither the details of implementation nor the specification of interfaces is part of the architecture because these are hidden inside a machine and not visible from the outside. • Protocol Stack • A list of protocols used by a certain system, one protocol per layer, is called a protocol stack. CEN 4500, S. Masoud Sadjadi
Protocol Hierarchies The philosopher-translator-secretary architecture. CEN 4500, S. Masoud Sadjadi
Protocol Hierarchies Example information flow supporting virtual communication in layer 5. CEN 4500, S. Masoud Sadjadi
Design Issues for the Layers • Addressing • Every layer needs a mechanism for identifying senders and receivers • Error Control • Physical communication circuits are not perfect • Flow Control • How to keep a fast sender from swamping a slow receiver with data • Multiplexing • Not every arbitrarily long messages can be sent without disassembling, transmitting, and reassembling • Routing • When there are multiple path between the senders and receivers CEN 4500, S. Masoud Sadjadi
Services • Connection-Oriented Services • Modeled after telephone systems • Pick up the phone, dial a number, talk, hang up. • Acts like a tube • In most cases, the order is preserved, so that the bits will arrive in the same order they were sent. • Connectionless Services • Modeled after postal system. • Each letter carries the full destination address • Each is routed throughout the system independently. CEN 4500, S. Masoud Sadjadi
Services Six different types of service. CEN 4500, S. Masoud Sadjadi
Service Primitives Five service primitives for implementing a simple connection-oriented service. CEN 4500, S. Masoud Sadjadi
Service Primitives (2) Packets sent in a simple client-server interaction on a connection-oriented network. CEN 4500, S. Masoud Sadjadi
Services to Protocols Relationship • Service • A set of primitives (operations) that a layer provides to the layer above it, which relates to the interface between the layers • Protocol • A set of rules governing the format and meaning of the packets, or messages that are exchanged by the peer entities within a layer The relationship between a service and a protocol. CEN 4500, S. Masoud Sadjadi
Agenda • Introduction • Network Hardware • Network Software • Reference Models • Example Networks • Network Standardization • Summary CEN 4500, S. Masoud Sadjadi
Reference Models • The ISO OSI Reference Model • Open systems: systems that are open for communication with other systems. • Not a network architecture, because it does not specify the exact services and protocols to be used in each layer. • The TCP/IP Reference Model • A Comparison of OSI and TCP/IP • A Critique of the OSI Model and Protocols • A Critique of the TCP/IP Reference Model CEN 4500, S. Masoud Sadjadi
Reference Models The OSI reference model. CEN 4500, S. Masoud Sadjadi
The ISO OSI Reference Model • Physical layer • Is concerned with the transmission of raw bits over a communication channel. • Data link layer • Is to transform a raw transmission facility into a line that appears free of undetected transmission errors. • Network layer • Controls the operation of the subnet. • Transport layer • End-to-end. Accepts data from above, split it up into smaller units if need be, pass these to the network layer, and ensures that the pieces all arrive correctly at the other end. • Session layer • Allows users on different machines to establish a session. • Presentation layer • Concerned with the syntax and semantics of the information transmitted. • Application layer • Contains a variety of protocols that are commonly uses • HTTP, FTP, SMTP, NTTP, etc. CEN 4500, S. Masoud Sadjadi
Reference Models The TCP/IP reference model. CEN 4500, S. Masoud Sadjadi
Reference Models Protocols and networks in the TCP/IP model initially. CEN 4500, S. Masoud Sadjadi
Comparing OSI and TCP/IP • Concepts central to the OSI model • Services (layer semantics) • Interfaces (layer syntax) • Protocols (layer’s own business) • TCP/IP • Did not originally clearly distinguish between service, interface, and protocol • People have tried to retrofit it after the fact to make it more OSI-like CEN 4500, S. Masoud Sadjadi
A Critique of the OSI Model & Protocols • Why OSI did not take over the world • Bad timing • The competing TCP/IP protocols were already in widespread use by research universities by the time OSI protocols appeared. • Bad technology • Both the model and protocols are flawed (the choice of layers were mostly political than technical) • Bad implementations • Initial implementation were huge, unwieldy, and slow • Bad politics • Push by the European and then US government. CEN 4500, S. Masoud Sadjadi