Computer Networks and Internet: Subtitle
Computer Networks and Internet: Subtitle
Computer Networks and Internet: Subtitle
COMPUTER
NETWORKS AND
INTERNET
Subtitle
Content
4.1 Overview
LAN & WAN
TCP/IP protocol
Describe the TCP/IP protocol suite as the network model in the Internet.
Define the layers in the TCP/IP protocol suite and their relationship.
Protocol Layering A protocol defines the rules that both the sender and receiver and all
intermediate devices need to follow to be able to communicate effectively in Internet. we need a
protocol at each layer, or protocol layering.
The TCP/IP (Transmission Control Protocol / Internet Protocol) is a protocol suite (a set of protocols
organized in different layers) used in the Internet today.
Any communication that involves two parties needs source and destination addresses. we normally have
only four because the physical layer (data exchange is a bit) does not need addresses.
There is a relationship between the layer, the address used in that layer, and the packet name at that
layer.
2 - LAYERS IN NETWOKING
2.1 Application layer
Using the Internet, we need two application programs to interact with each other: one running on a
computer and the other running on another. Should both application programs be able to request services
and/or provide services?
Two paradigms have been developed during the lifetime of the Internet to answer this question: the client-
server paradigm and the peer-to-peer paradigm
Several traditional services are still using this paradigm, including the World Wide Web (WWW) and its
vehicle HyperText Transfer Protocol (HTTP), file transfer protocol (FTP), secure shell (SSH), email,
and so on.
DNS is a protocol that can be used in different platforms. The domain name space (tree) was originally
divided into three different sections: generic domains, country domains, and the inverse domain.
However, the inverse domains are now deprecated.
The network layer is responsible for communication at the computer level and can deliver the message
only to the destination computer. A transport-layer protocol is responsible for delivery of the message to
the appropriate process.
For communication, we must define the local host (IP), local process, remote host (IP), and remote
process. To define the processes, we need second identifiers called port numbers. In the TCP/IP protocol
suite, the port numbers are integers between 0 and 65,535 (16 bits).
The client program defines itself with an ephemeral port number that is recommended to be greater
than 1023 for some client/server programs to work properly. The server process must also define itself
with a port number.
Packetizing: encapsulating the payload (data received from upper layer) in a network-layer packet at the
source and decapsulating the payload from the network-layer packet at the destination.
1. The source network-layer receives a packet from transport- layer, adds a header that contains source
and destination addresses and some other information.
2. The network layer then logically delivers the packet to the network-layer protocol at the destination.
3. The destination host receives the network-layer packet, decapsulate the payload and deliver to the
upper-layer protocol.
Network-Layer Protocols
The main protocol is called the Internet Protocol (IP) . IPv4 and IPv6 are in use today.
There are three common notations to show an IP address: binary notation (base 2), dotted-decimal
notation (base 256), and hexadecimal notation (base 16).
2.4 DATA-LINK LAYER
Communication at the data-link layer is node-to-node .Data unit from one point in the Internet needs to
pass through many networks (LANs and WANs) to reach another point. Theses LANs and WANs are
connected by routers.
It is customary to refer to the two end hosts and the routers as nodes and the networks in between as
links .
Wred LANs:Ethernet
Ethernet LAN was developed in 1970s by Robert Metcalfe and David Boggs. Standard Ethernet (10
Mbps), Fast Ethernet (100 Mbps), Gigabit Ethernet (1 Gbps), and 10 Gigabit Ethernet (10 Gbps).
A frame carries some information such as the source address (48 bits), the destination address (48 bits),
the type of data, the actual data, and some other control bits as a guard to help checking the integrity of
data during transition.
Wireless Ethernet or WiFi is a wireless LAN. Two kinds of services: the basic service set (BSS) and the
extended service set (ESS). The second service uses an extra device (access point or AP) that serves as a
switch for connection to other LANs or WANs.
Figure 4.16 the basic service set (BSS) and the extended service set (ESS).
Cable Service
Cable networks were originally created to provide access to TV programs. Cable TV network can also
support DSL technology that provides high-data-rate connections for residential subscribers over the local
loop.
The worldwide Interoperability Access (WiMax) is the wireless version of DSL or Cable connection to
the Internet. It provide two types of services (fixed WiMax) to connect the main station to fixed station or
to mobile stations such as cellular phones