Presentation is loading. Please wait.

Presentation is loading. Please wait.

NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.

Similar presentations


Presentation on theme: "NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1."— Presentation transcript:

1 NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1

2 2.2 2-5 ADDRESSING Four levels of addresses are used in an internet employing the TCP/IP protocols: physical, logical, port, and specific. Physical Addresses Logical Addresses Port Addresses Specific Addresses Topics discussed in this section:

3 2.3 Figure 2.17 Addresses in TCP/IP

4 Relationship of layers and addresses in TCP/IP 2.4

5 Physical address 2.5  known also as the MAC or link address  Is the address of a node as defined by its LAN or WAN  It is included in the frame used by data link layer (Header)  Ethernet uses 6-bytes (48-bits) physical address that imprinted on the NIC

6 Example 1 2.6 A node with physical address 10 sends a frame to a node with physical address 87. The two nodes are connected by a link. At the data link level this frame contains physical addresses in the header. These are the only addresses needed. The rest of the header contains other information needed at this level. The trailer usually contains extra bits needed for error detection

7 Example1 :Physical addresses 2.7 07:01:02:01:2C:4B A 6-byte (12 hexadecimal digits) physical address.

8 Logical address (IP) 2.8  IP addresses are necessary for universal communications that are independent of physical network.  No two host address on the internet can have the same IP address  IP addresses 32-bit address that uniquely define a host connected to the Internet The physical addresses will change from hop to hop, but the logical addresses remain the same.

9 2.9 Figure 2.20 shows a part of an internet with two routers connecting three LANs. Each device (computer or router) has a pair of addresses (logical and physical) for each connection. In this case, each computer is connected to only one link and therefore has only one pair of addresses. Each router, however, is connected to three networks (only two are shown in the figure). So each router has three pairs of addresses, one for each connection. Example 2

10 2.10 Figure 2.20 IP addresses

11 Port Addresses 2.11 In the TCPIIP architecture, the label assigned to a process is called a port address. A port address in TCPIIP is 16 bits in length. 753 A 16-bit port address represented as one single number.

12 2.12 Figure 2.21 shows two computers communicating via the Internet. The sending computer is running three processes at this time with port addresses a, b, and c. The receiving computer is running two processes at this time with port addresses j and k. Process a in the sending computer needs to communicate with process j in the receiving computer. Note that although physical addresses change from hop to hop, logical and port addresses remain the same from the source to destination. Example 3

13 2.13 Figure 2.21 Port addresses

14 Specific address 2.14 Some applications have user-friendly addresses that are designed for that specific address. examples: e-mail addresses ( A @yahoo.com) to define the recipient of an e-mail URL addresses ( www. Mhhe.com) to find a document on the world wide web The addresses get changed to the corresponding port and logical addresses by the sending computer

15 References  Data Communications and Networking, Fourth Edition, 2007 The McGraw-Hill Companies, Inc. Chapter 2.


Download ppt "NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1."

Similar presentations


Ads by Google