Unit I Computer Networks
Unit I Computer Networks
Unit I Computer Networks
End system:
Router:
A router is a device that forwards data packet along networks
Client:
A client is program running on one
end system that request and receives
a service form a server program running
On another end system
Eg. Web browser
Server:
A server is program running on one centralize
System that provides services to client and
Receives request from clients.
Eg: web server, email server, printer sever.
Connection oriented:
It is one kind of service. In connection oriented,
direct path is establish between source and
destination. Eg. Telephone system.
Connection less service
Connectionless service is a method of data transmission between two
computers in a different network.
Connectionless service is also termed as datagram service. This Service
look-alike the postal system where each letter carries its source
&desitination address and each one of them through a different path.
Computer network terms
Bandwidth
Bandwidth is a measure of network speed or how fast the network
can transmit data. It’s typically measured in bits per second (bps),
megabits per second (Mbps), or gigabits per second (Gbps).
Latency
When you want to transmit data within a network — whether to
download something from a local file server or stream a movie from
the Internet — there’s a delay between when you send your request
and when the other computer on the network receives it. This delay
is called latency.
Ethernet
When people think about wired networks, they think of Ethernet and
Ethernet cables. Ethernet refers to a universal technology standard
for transmitting data over computer networks, much like how HDMI
is a universal standard for transmitting video and audio. Ethernet
cable standards include requirements for transmission speeds, cable
length, connector type, and cable construction.
Modems
Modems convert one type of signal — like an analog signal
from a coaxial cable — to a digital signal that can be
transmitted wirelessly or via an Ethernet cable. On the flip
side, when you send information via the Internet, your modem
converts that digital signal into an analog signal. This signal is
then transmitted over the coaxial cable to your ISP’s servers
that communicate with the rest of the Internet.
Routers
Routers direct traffic within a network. They keep
close track of who’s connected to the network by
assigning each computer or device an Internet
Protocol (IP) address.
Network Core
The network core is referred as the mesh of routers that interconnect
the internet’s end system.
How Data transferred through network?
Different switching techniques are used for data transmission the network.
Basic methods of switching are:
Packet switching
Circuit switching
Message Switching
What is switching
Switching is the most valuable asset of computer network.
* Every time in computer network you access the internet or
another computer network outside your immediate location, or your
message are sent through a maze of transmission media and
connection devices.
* The mechanism for exchange of information between different
computer networks and network segments is called switching in
networking.
*In other words we can say that any type of signal or data element
directing or switching toward a particular hardware address or
hardware pieces.
What is packet?
The header contains the address of the recipient and the sender,
plus information on how to handle the packet as it travels
through each layer of the protocol suite.
What is Message?
The message part o the packet corresponds to the letter itself.
Network delay
Throughput
Throughput in Packet switching:
Network throughput refers to how much data can be transferred form
source to destination with in a given time frame.
Throughput measures how many packet arrive at their destinations
successfully.
Throughput is a good way to measure the performance of the network
connection
Loss in packet switching:
Packet loss occurs when one or more packet of data traveling across a
computer network fail to reach their destination.
Packet loss is either caused by errors in data transmission, typically across
wireless networks or network congestion.
Packet loss is measured as a percentage of packets lost with respect to
packets sent.
Protocol layer and their service model
Protocols:
There need to accepted rules so devices can be compatible and reliably
communicate – these are what protocols are
Protocols are usually developed in layers, with each being responsible for a
different part of the communication process.
TCP/IP has 4 Layers:
Application layer – HTTP/S, FTP, SMTP, IMAP & POP, DNS
Transport Layer - TCP, UDP
Network layer – IP
Link layer – Ethernet, Wifi
Application Layer:
Where the network applications operate
(eg. Web browsers, email clients)
Transport Layer:
Set up the communication between the two hosts, including agreed rules
(like packet size)
Network Layer:
Addresses and packages the data, then actually routes it.
Link Layer:
Where the hardware(eg NICs) and drivers operate
Application layer:
The application layer is responsible for supporting network applications.
The application layer includes many protocols, including HTTP to support
the Web, FTP to support file transfer.
Transport layer: The transport layer is responsible for transporting
application-layer messages between the client and server sides of an
application. In the Internet there are two transport protocols, TCP and UDP,
either of which can transport application-layer messages.
Network layer: The network layer is responsible for routing datagrams
from one host to another. The Internet's network layer has two principle
components. First it has a protocol that defines the fields in the IP datagram
as well as how the end systems and routers act on these fields. This protocol
is the celebrated IP protocol.. There is only one IP protocol, and all Internet
components that have a network layer must run the IP protocol. The
Internet's network layer also contains routing protocols that determine the
routes that datagrams take between sources and destinations.
Link layer: The network layer routes a packet through a series of packet
switches between the source and destination. To move a packet from one
node (host or packet switch) to the next node in the route, the network layer
must rely on the services of the link layer.
Physical layer: While the job of the link layer is to move entire frames from
one network element to an adjacent network element, the job of the physical
layer is to move the individual bits within the frame from one node to the
next.
For example, Ethernet has many physical layer protocols: one for twisted-
pair copper wire, another for coaxial cable, another for fiber, etc. In each
case, a bit is moved across the link in a different way.
Thank You