26.10.2012 Views

Internet Security - Dang Thanh Binh's Page

Internet Security - Dang Thanh Binh's Page

Internet Security - Dang Thanh Binh's Page

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

22 INTERNET SECURITY<br />

2.1.1.2 IP Addressing<br />

Addresses belonging to three different layers of TCP/IP architecture are shown in Table 2.2<br />

below.<br />

• Physical (local or link) address: At the physical level, the hosts and routers are recognised<br />

by their physical addresses. The physical address is the lowest-level address which<br />

is specified as the node or local address defined by LAN or WAN. This local address<br />

is included in the frame used by the network access layer. A local address is called a<br />

physical address because it is usually (but not always) implemented in hardware. Ethernet<br />

or token ring uses a six-byte address that is imprinted on the network interface card<br />

(NIC) installed in the host or router. The physical address should be unique locally, but<br />

not necessary universally. Physical addresses can be either unicast (one single recipient),<br />

multicast (a group of recipients), or broadcast (all recipients on the network). The<br />

physical addresses will be changed as a packet moves from network to network.<br />

• IP address: An IP address is called a logical address at the network level because it<br />

is usually implemented in software. A logical address identifies a host or router at the<br />

network level. TCP/IP calls this logical address an IP address. <strong>Internet</strong> addresses can be<br />

either unicast, multicast or broadcast. IP addresses are essentially needed for universal<br />

communication services that are independent of underlying physical networks. IP<br />

addresses are designed for a universal addressing system in which each host can<br />

be identified uniquely. An <strong>Internet</strong> address is currently a 32-bit address which can<br />

uniquely define a host connected to the <strong>Internet</strong>.<br />

• Port address: The data sequences need the IP address and the physical address to<br />

move data from a source to the destination host. In fact, delivery of a packet to a<br />

host or router requires two levels of addresses, logical and physical. Computers are<br />

devices that can run multiple processes at the same time. For example, computer A<br />

communicates with computer B using TELNET. At the same time, computer A can<br />

communicate with computer C using File Transfer Protocol (FTP). If these processes<br />

occur simultaneously, we need a method to label different processes. In TCP/IP architecture,<br />

the label assigned to a process is called a port address. A port address in<br />

TCP/IP is 16 bits long.<br />

The <strong>Internet</strong> Assigned Numbers Authority (IANA) manages the well-known port<br />

numbers between 1 and 1023 for TCP/IP services. Ports between 256 and 1023 were<br />

normally used by UNIX systems for UNIX-specific services, but are probably not<br />

found on other operating systems.<br />

Table 2.2 TCP/IP architecture and corresponding addresses<br />

Layer TCP/IP Protocol Address<br />

Application HTTP, FTP, SMTP<br />

DNS and other protocols<br />

Port address<br />

Transport TCP, UDP —<br />

<strong>Internet</strong> IP, ICMP, IGMP IP address<br />

Network access Physical network Physical (link) address

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!