Unit I:: Nodes) Connected by Communication Links. A Node Can Be A Computer, Printer
Unit I:: Nodes) Connected by Communication Links. A Node Can Be A Computer, Printer
Unit I:: Nodes) Connected by Communication Links. A Node Can Be A Computer, Printer
Introduction to networks:
Business Applications:
Companies use networks and computers for resource
sharing with the client-server model:
request
response
Other popular uses are communication, e.g., email, VoIP, and e-commerce
Networks called VPNs (Virtual Private Networks) may be used to join the
individual networks at different sites into one extended network.
Home Applications
Homes contain many networked devices, e.g., computers,
TVs, connected to the Internet by cable, wireless, etc.
Some application use the peer-to-peer model in which there are no fixed
clients and servers.
Many peer-to-peer systems, such Bit Torrent, do not have any central
database of content. Instead, each user maintains his own database locally and
provides a list of other nearby people who are members of the system.
TV shows now reach many homes via IPTV (IP Television) systems that
are based on IP technology instead of cable TV or radio transmissions. Media
streaming applications let users tune into Internet radio stations or watch recent
episodes of their favourite TV shows. Naturally, all of this content can be moved
around your house between different devices, displays and speakers, usually
with a wireless network.
Mobile Users
Tablets, laptops, and smart phones are popular devices;
Wi-Fi hotspots and 3G cellular provide wireless connectivity.
Mobile users communicate, e.g., voice and texts, consume content, e.g., video
and Web, and use sensors, e.g., GPS.
Social Issues
Scale Type
Vicinity PAN (Personal Area Network)
Building LAN (Local Area Network)
City MAN (Metropolitan Area Network)
Country WAN (Wide Area Network)
Planet The Internet (network of all networks)
Protocol Layers
Protocol layering is the main structuring method used to
divide up network functionality.
The sender pushes objects (bits) in at one end, and the receiver takes
them out at the other end.
REFERENCE MODELS
Reference models describe the layers in a network
Two important network architectures:
Although the protocols associated with the OSI model are not used any more,
the model itself is actually quite general and still valid, and the features
discussed at each layer are still very important.
The TCP/IP model has the opposite properties: the model itself is not of much
use but the protocols are widely used. For this reason we will look at both of
them in detail. Also, sometimes you can learn more from failures than from
successes.
Then the model is called the ISO OSI (Open Systems Interconnection)
Reference Model because it deals with connecting open systems—that is,
systems that are open for communication with other systems. We will just call
it the OSI model for short.
its
7. APPLICATION Provides Functions needed by users
How many pins the network connector has, and what each pin is
used for.
• Medium: What is the medium used, and what are its properties?
• Topology: What is the topology (mesh, star ring, bus or hybrid) used?
It accomplishes this task break up the input data into data frames
and transmit the frames sequentially.
• Media Access Control (MAC): In LANs it decides who can send data,
when and how much.
Routes can be based on static tables that are "wired into" the network
and rarely change.
When a packet has to travel from one network to another to get to its
destination, many problems can arise.
The addressing used by the second network may be different from the
first one.
The second one may not accept the packet at all because it is too large.
The protocols may differ, and so on.
• Routing.
The transport layer is a true end-to-end layer, all the way from
the source to the destination.
• World Wide Web (WWW): Accessing the Web pages is also a part of this
layer.
The TCP/IP Reference Model
When satellite and radio networks were added later, the existing
protocols had trouble inter-working with them, so a new reference
architecture was needed.
The link layer describes what links must to meet the needs
of this connectionless internet layer.
7 Application Application
6 Presentation
5 Session
4 Transport Transport
3 Network Internet
1 Physical
Electronic mail was originally just a kind of file transfer, but later
a specialized protocol (SMTP) was developed for it.
Many other protocols have been added to these over the years:
the Domain Name System (DNS) for mapping host names onto their
network addresses, NNTP, the protocol for moving USENET news articles
around, and HTTP, the protocol for fetching pages on the World Wide Web,
and many others.
It is based on the TCP/IP model but we call out the physical layer
and look beyond Internet protocols.
This model has five layers, running from the physical layer up
through the link, network and transport layers to the application layer.
The network layer deals with how to combine multiple links into
networks, and networks of networks, into internetworks so that we can send
packets between distant computers. This includes the task of finding the
path along which to send the packets. IP is the main example protocol we
will study for this layer.
The transport layer strengthens the delivery guarantees of the
Network layer, usually with increased reliability, and provide delivery
abstractions. TCP is an important example of a transport layer protocol.
2. In OSI model the transport layer 2. In TCP/IP model the transport layer does not
guarantees the delivery of packets. guarantees delivery of packets. Still the TCP/IP
model is more reliable.
8. Network layer of OSI model 8. The Network layer in TCP/IP model provides
provides both connection oriented and connectionless service.
connectionless service.
9. OSI model has a problem of fitting 9. TCP/IP model does not fit any protocol
the protocols into the model.
10. Protocols are hidden in OSI model 10. In TCP/IP replacing protocol is not easy.
and are easily replaced as the
technology changes.
11. OSI model defines services, 11. In TCP/IP, services, interfaces and protocols
interfaces and protocols very clearly are not clearly separated. It is also protocol
and makes clear distinction between dependent.
them. It is protocol independent.
BASIS FOR
TCP/IP MODEL OSI MODEL
COMPARISON
internet.
BASIS FOR
TCP/IP MODEL OSI MODEL
COMPARISON
Organization)
Concrete Yes No
PHYSICAL LAYER
GUIDED TRANSMISSION MEDIA
The purpose of the physical layer is to transport bits from one machine
to another.
Each one has its own function in terms of bandwidth, delay, cost, and
ease of installation and maintenance.
Media are roughly grouped into guided media, such as copper wire and
fiber optics, and unguided media, such as terrestrial wireless, satellite, and
lasers through the air.
Transmission
Media
Magnetic Media
Twisting the pairs counters this effect as on each half twist the wire nearest to
the noise-source is exchanged. Providing the interfering source remains
uniform, or nearly so, over the distance of a single twist, the induced noise will
remain common-mode.
The twist rate (also called pitch of the twist, usually defined in twists per meter)
makes up part of the specification for a given type of cable
Unshielded twisted pair (UTP) cables are found in many Ethernet networks
and telephone systems.
For indoor telephone applications, UTP is often grouped into sets of 25
pairs according to a standard 25-pair color code originally developed by AT&T
Corporation.
A typical subset of these colors (white/blue, blue/white, white/orange,
orange/white) shows up in most UTP cables.
The cables are typically made with copper wires measured at 22 or 24
American Wire Gauge (AWG).
Advantages
Electrical noise going into or coming from the cable can be prevented.
Crosstalk is minimized.
Cheapest form of cable available for networking purposes.
Easy to handle and install.
Power Lines
The telephone and cable television networks are not the only
sources of wiring that can be reused for data communication.