DCN - 5 - Four Types of Addressing
DCN - 5 - Four Types of Addressing
• At the network-layer
– The addresses are global, with the whole Internet as the scope
– A network-layer address uniquely defines the connection of a device to the Internet.
site name or
email
(specific
address).
Relationship of layers and addresses in TCP/IP
Types of Data deliveries
• At the network-layer
– The addresses are global, with the whole Internet as the scope
– A network-layer address uniquely defines the connection of a device to the Internet.
07:01:02:01:2C:4B
Applications may be bundled with the computer and its system software or
published separately, and may be coded as proprietary, open-source or university
projects.
Note:
Socket descriptors are implemented as file descriptors in the
UNIX System
What is Socket and its relationship with IP address and Port
address ?
http://ecomputernotes.com/
computernetworkingnotes/network-
technologies/what-is-client-server-
Client process - What is a Client process?
Server
Client
Connection socket pair (port 80)
(128.2.194.242:3479, 208.216.181.15:80)
Since the ports are used on a per request basis they are also called
dynamic ports or Private Ports
These port numbers are assigned in a pseudo-random
way, since the exact number used is not important, as long
as each process has a different number.
Clients
Clients
controlled by
controlled by process application
application process
developer
developer socket socket
controlled by TCP with TCP with controlled by
buffers, operating
operating buffers, internet system
system variables variables
host or host or
server server
Structure of Internet Applications
Using TCP & The Sockets API
3. Port address
IANA ranges
Port numbers are 16-bit integers between 0 – 65535
753
• Summary :
• Media Access Control (MAC) addresses in the network access
layer
▫ Associated w/ network interface card (NIC)
▫ 48 bits or 64 bits
• IP addresses for the network layer
▫ 32 bits for IPv4, and 128 bits for IPv6
▫ E.g., 123.4.56.7
• IP addresses + ports for the transport layer
▫ E.g., 123.4.56.7:80
• Domain names for the application/human layer
▫ E.g., www.google.com
Question
Route determination:
Route determination:
data-link, network.