TCP Addresses
TCP Addresses
Four levels of addresses are used in the TCP/IP protocol: physical address, logical address,
port address, and application-specific address as shown in Figure.
Physical Addresses
The physical address, also known as the link address, is the address of a node as
defined by its LAN or WAN.
The size and format of these addresses vary depending on the network. For example,
Ethernet uses a 6-byte (48-bit) physical address.
Physical addresses can be either unicast (one single recipient), multicast (a group of
recipients), or broadcast (to be received by all systems in the network.
Example: Most local area networks use a 48-bit (6-byte) physical address written as
12 hexadecimal digits; every byte (2 hexadecimal digits) is separated by a colon, as
shown below: A 6-byte (12 hexadecimal digits) physical address 07:01:02:01:2C:4B
Logical Addresses
There are many application running on the computer. Each application run with a port
no.(logically) on the computer.
A port number is part of the addressing information used to identify the senders and
receivers of messages.
Port numbers are most commonly used with TCP/IP connections.
These port numbers allow different applications on the same computer to share
network resources simultaneously.
The physical addresses change from hop to hop, but the logical and port addresses
usually remain the same.
Example: a port address is a 16-bit address represented by one decimal number 753
Application-Specific Addresses
Some applications have user-friendly addresses that are designed for that specific
application.
Examples include the e-mail address (for example, [email protected]) and the
Universal Resource Locator (URL) (for example, www.mhhe.com). The first defines
the recipient of an e-mail; the second is used to find a document on the World Wide
Web.