TCP IP Model: Employee Name: Gowtham H R Employee I D: 031
TCP IP Model: Employee Name: Gowtham H R Employee I D: 031
Application Layer
1. Client and Server
2. Overview of HTTP
Transport Layer
1.Connection less Transport : UDP
2. Connection oriented Transport : TCP
3. TCP Connection Management
Network Layer
1. Network Service model
2. Routing Principles
3. Internet Protocol
Data link Layer
1.Types of data link layer
2. Ethernet Data Link Layer
Physical Layer
1. Physical Layer Functions
2. Examples of physical layer
Note :
The physical layer is also “special” in that it is the only
layer that really does not apply specifically to TCP/IP.
Even in studying TCP/IP, however, it is still important
To understand its significance and role in relation
To the other layers where TCP/IP protocols reside.
TCP/IP architectural
model
The TCP/IP protocol suite is so named for two of its
most important protocols:
Transmission Control Protocol (TCP) and Internet Protocol
(IP).
The Useragent:
Useragent This header line specifies the user
agent, i.e., the browser type that is making the
request to the server . Here the user agent is The
HyperText Transfer Protocol Mozilla/4.0, a Netscape
browser. This header line is useful because the server
Can actually send different versions of the same
Object to different types of user agents.
The Accept: This header line tells the server the type of
objects the browser is prepared to accept. In this case, the
client is prepared to accept HTML text, a GIF image or a
JPEG image.
If the file /somedir/page.html contains a Java applet (and
who says it can't!), then the server shouldn't send the file,
since the browser can not handle that object type.
The Content-Type:
Content-Type This header line indicates that the
object in the entity body is HTML text. (The object type is
officially indicated by the Content-Type: header and not by
the file extension.)
• Step 1.
The client-side TCP first sends a special TCP segment to the
server-side TCP. This special segment contains no
application-layer data.
It does, however, have one of the flag bits in the segment's
header the so-called SYN bit, set to 1.
For this reason, this special segment is referred to as a SYN
segment. In addition, the client chooses an initial sequence
number (client_isn) and puts this number in the sequence
number field of the initial TCP SYN segment. This segment is
encapsulated within an IP datagram and sent into the
Internet
• Step 2.
Once the IP datagram containing the TCP SYN segment
arrives at the server host (assuming it does arrive!), the
server extracts the TCP SYN segment from the datagram,
allocates the TCP buffers and variables to the connection,
and sends a connection-granted segment to client TCP.
• Disadvantages:
Each node "knows" the whole topology!
Dijkstra's running time grows with topology
Flooding consumes bandwidth
Internet Protocol
The Internet Protocol (IP) is a protocol used For
communicating data across a packet-switched internetwork
using the Internet Protocol Suite, also referred to as TCP/IP.
IP is the primary protocol in the Internet Layer of the Internet
Protocol Suite and has the task of delivering distinguished
protocol datagrams (packets) from the source host to the
destination host solely based on their addresses. For this
purpose the Internet Protocol defines addressing methods and
structures for datagram encapsulation.
The network protocol in the Internet is called the Internet
Protocol, or more commonly, the IP Protocol. There are
currently two versions of the IP protocol in use today
1.IPv4
2.IPv6
IP Addressing
Each IP address is 32 bits long (equivalently, four bytes)
long.
IP addresses are typically written in so-called "dot-decimal
notation", whereby each byte of the address is written in its
decimal form and is separated by a period. For example, a
Typical IP address would be 193.32.216.9. The 193 is the
decimal equivalent for the first 8 bits of the address; the 32
is the decimal equivalent for the second 8 bits of the
address,
etc. Thus, the address 193.32.216.9 in binary notation is:
Each host also has its own interface and IP address. Second, all of
the interfaces attached to LAN 1, including a router interface, have
an IP address of the form 223.1.1.xxx . Similarly, all the
interfaces attached to LAN 2 and LAN 3 have IP addresses of the
form 223.1.2.xxx and 233.1.3.xxx, respectively. In other
words, each address has two parts: the first part that specifies the
network; and the second part that addresses a specific host on the
network.
IP datagram Format
The key fields in the IPv4 datagram are the following:
priority. This four bit field is similar in spirit to the ToS field
we saw in IP version 4. states that values 0 through 7 are to be
used for priority among traffic that is congestion controlled (i.e.,
for which the source will back off on detection of congestion),
while values 8 through 15 are used for non-congestion
controlled traffic, such as constant bit rate real-time
traffic.
Network Network
Layer Layer
Data Link Data Link
Layer Layer
Physical Physical
Layer Layer
Two types of networks at the data
link layer
– Broadcast Networks: All stations share a single
communication channel
– Point-to-Point Networks: Pairs of hosts (or
routers) are directly connected
to Network Layer
Logical Link
Control
Medium Access
Layer
Data Link Control
to Physical Layer
Ethernet - Data-Link Layer
• It will be useful to discuss a real data-link layer.
• Ethernet (really IEEE 802.3) is widely used.
• Supported by a variety of physical layer implementations.
Ethernet Addressing :
Destination Source
Preamble Len DATA CRC
Address Address
IEEE 802 Standards
IEEE 802 is a family of standards for LANs, which defines an
LLC and several MAC sublayers
Difference for our purposes: Ethernet and 802.3 use differe
nt methods to encapsulate an IP datagram
802.4
802.5
Control
Physical Physical
Layer Layer
Point-to-Point links
• Many data link connections are point-to-point serial links:
– Dial-in or DSL access connects hosts to access routers
– Routers are connected by
high-speed point-to-point links
Router
Access
Router
Router
Modems
Router Router
Dial-Up Access
Point-to-Point Links
• The frame format of PPP is as shown in the figure
0021 IP datagram
Switched network
of data link layer
switches
H1 R3
Ethernet
Physical Layer
The physical layer is also “special” in that it is the only
layer that really does not apply specifically to TCP/I
P.
Even in studying TCP/IP, however, it is still important
To understand its significance and role in relation
To the other layers where TCP/IP protocols reside.
Physical Layer Functions
The following are the main responsibilities of the physical
layer :
Center
conductor
Dielectric Braided Outer
material outer cover
conducto
r
Optical fiber :
A thin flexible medium capable of conducting
optical rays. Optical fiber consists of a very fine cylinder of
glass (core) surrounded by concentric layers of glass (cladding).
a signal-encoded beam of light (a fluctuating beam) is
transmitted by total internal reflection.
Total internal reflection occurs in the core because it has a
higher optical density (index of refraction) than the cladding.
Attenuation in the fiber can be kept low by controlling the
impurities in the glass
light
cladding jacket
core
It ends here
Thank you. . .