Module 1 - Introduction
Module 1 - Introduction
Introduction
What is a Computer Network?
• A collection of transmission hardware and facilities, terminal
equipment, and protocols
• E-commerce
Social Issues
• Discussions about
– politics,
– religion,
– …
• Protocol software
– encodes and formats data
– detects and corrects problems
Network Hardware
• Transmission technology (2 types)
– Broadcast links
– Point-to-point links
Media
• Scale (Types)
– Local Area Networks (LAN) Wire line
– Metropolitan Area Networks (MAN)
Wireless
– Wide Area Networks (WAN)
– Wireless Networks
– Home Networks
– Internetworks
Broadcast Networks
• Broadcast networks have a single communication
channel that is shared by all the machines on the
network
– TV programs…
• Addressing
– One to one: Packet contains specific target address.
– Ring
• Token Ring (IEEE 802.5):
– Ring based broadcast network with token arbitration at
4 or 16 Mbps.
• Store-and-forward/Packet-switched -
– Moving through a series of routers, packets are received at a router,
stored there, then forwarded to the next router.
Wide Area Networks (3)
• Ex. A stream of packets from sender to receiver.
Wireless Networks
• Used where computer is mobile or far away from wires.
• 3 categories
– System interconnection
• Interconnected using short-range radio
• Bluetooth
• Use Master- slave paradigm
– Wireless LANs
• Every computer has a radio modem and antenna with
which it can communicate with other systems.
– Wireless WANs
Wireless Networks
Wireless LAN
• Bluetooth configuration
• Protocol :
– The protocol is the rule or standard that a layer
uses to talk to the other layer. An agreement or
standard on the conversation.
Network Software
• Protocol Hierarchies
– Layers,
Important that each
layer perform specific
actions.
– protocols,
– Interfaces
Defines the services
That one layer offers
another (either up
or down.)
Network Software
• Ex. Protocol of philosopher-translator-secretary
architecture.
Network Software
• Ex. Protocol Hierarchies
– information flow supporting virtual communication in layer 5
Network Software
• Physical Medium:
– Underneath the layers is the wire or fiber or whatever.
• Network architecture:
– A set of layers and protocols. It contains details on what
happens in the layer and what the layers says to its peer.
• Protocol stack:
– A list of protocols used by a system, one protocol per layer.
Connection-Oriented and Connectionless Services
• Connectionless service:
– Like the post office. Each message has the entire address
on it. Each message may follow a different route to its
destination. Ordering not maintained.
» Data Transfer
Connection-Oriented and Connectionless Services
• Quality of service (QoS):
– Will the message arrive?
• A reliable connection-oriented service guarantees success.
– Message sequence - message boundaries and order are
maintained.
– Byte streams - messages are broken up or combined; flow is
bytes.
• Datagram Service:
– Like Telegram. It's not worth the cost to determine if it actually
arrived. Needs a high probability of arrival, but 100% not required.
Connectionless, no acknowledgment.
• Acknowledged datagram service:
– As above, but improved reliability via acknowledgment. Eg: Registered
letter
• Request-reply service:
– Acknowledgment is in the form of a reply.
Connection-Oriented and Connectionless Services
• Example: Connection-Oriented
Services to Protocols Relationship
• Services are primitives that a layer provides for the layer
above it.
Presentation Layer:
– Concerned with format of data exchanged between the end
systems.
– Eg. 32 bits in one machine & 64 bits in the other- conversion
OSI Reference Model
3. Session Layer:
– Allow users of different machine to create session between
them.
– It can bind different stream belonging to same application.
– Eg: If we are doing video chat, session layer combines video
stream and audio stream.
4. Transport Layer:
– Receive data from session layer and divide it into messages or
segments and pass it to network layer.
– At the receiving end, it make sure that messages are accepted in
correct order.
– They are merged and passed to upper layers.
OSI Reference Model
5. Network Layer:
– Breaks a message from transport layer into packets and transmit
across the network.
– It is the responsibility of the network layer to make sure the
packets reached at correct destination.- Routing
7. Physical Layer:
– Purpose: Transmits raw bits across a medium.
– Actual data transmission happens here.
OSI Reference Model
• Data Transmission in the OSI Model
TCP/IP Reference Model
TCP/IP Reference Model
Internet Layer
– Connector: Provides packet switched connectionless service.
– Routing :The IP (Internet Protocol) does delivery and congestion
control.
Transport Layer
– TCP (Transmission Control Protocol): provides a reliable connection
oriented protocol that delivers a byte stream from one node to
another. Guarantees delivery and provides flow control.
– UDP (User Datagram Protocol) provides an unreliable connection-less
protocol for applications that provide their own.
TCP/IP Reference Model
Application Layer
– Terminal Telnet
– File transfer FTP
– The Web HTTP
– Mail SMTP
Comparing OSI and TCP/IP Models