Lecture 5
Lecture 5
TCP/IP Protocols
Addressing
Application Layer protocols:
HTTP,FTP, SMTP,DNS, DHCP,TELNET
Transport Layer protocols:
UDP, TCP
Internet Layer protocols:
IP, ICMP, NAT
Address Mapping
ARP
Computer Network II
ADDRESSING
3
Four levels of addresses are used in an internet
employing the TCP/IP protocols: physical, logical, port,
and specific.
Computer Network II
Cont’
5
Computer Network II
Port Addressing
6
Computer Network II
Common /reserved port addresses- Example
7
Computer Network II
Cont’
8
Computer Network II
Specific Addressing
9
Computer Network II
Logical Addressing
10
Computer Network II
Cont’
12
Computer Network II
Application Layer Protocols
13
Telnet
Computer Network II
HTTP
14
Computer Network II
Cont’
15
Client 1: PC running
chrome
Client/server model
client: browser to
request & receive Web
objects
Server
Computer Network II
FTP
17
Computer Network II
Cont’
18
Computer Network II
FTP Advantages and Disadvantages
19
Advantages:
Simple implementation
Universal application
Disadvantages:
Computer Network II
DNS
21
Example:
www.facebook.com
10.154.5.10
Computer Network II
Cont’
23
can be viewed.
Example:
https://[www].[facebook.com]/ [Learn-the-Net -330002341216]/
Sub domain
Protocol Domain
path/directory
By Lake.F
DNS design goals
24
Computer Network II
Name Space
25
server
for www.amazon.com
Computer Network II
TLD and Authoritative Servers
28
Computer Network II
Cont’
29
Computer Network II
DHCP
30
devices on a network.
it is still connected.
Computer Network II
Cont’
31
Solution
2. Dynamic IP
Computer Network II
Cont’
32
IP address
Subnet mask
Default gateway
DNS server
Computer Network II
Cont’
33
Computer Network II
Cont’
34
Lease time
DHCP server assigns IP address as a lease.
computer.
address.
TELNET(TELecommunication NETwork):
TELNET was developed in 1969 beginning with RFC 15.
systems for many years and are available for virtually all
platforms.
Computer network II
Cont’
36
Computer Network II
Cont’
38
• Online games
• VoIP
Computer Network II
TCP vs UDP
39
Connection less
Connection- oriented
Services are like postal
Services are like telephone system
system.
Services are used in case of long Services are used in bursty
and steady communication communication.
Computer Network II
Internet Layer Protocols
40
Computer Network II
IP
41
Computer Network II
Cont’
44
Computer Network II
IPv6 address in binary and hexadecimal colon notation
45
Computer Network II
ICMP
46
ICMP(Internet Controlled Messaging protocol) generates a low-
level request and response to ensure continual connectivity
between two network devices.
ICMP is a control protocol; hence it does not transmit
application data, but rather information about the network
status.
ICMP is mainly used to send error messages.
Computer Network II
NAT
48
Computer Network II
Cont’
49
are in depletion.
Computer Network II
Address Mapping
51
Computer Network II
Cont’
52
Computer Network II
Cont’
53
Computer Network II
Cont’
54
Computer Network II
Computer Network II