NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and...
-
Upload
tyrone-mitchell -
Category
Documents
-
view
226 -
download
3
Transcript of NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and...
![Page 1: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/1.jpg)
Networks and Communication Department
NET 221D:NETWORKS FUNDAMENTALS
Lecture 1: Introduction to Protocols and Layers
1
![Page 2: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/2.jpg)
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 AddressesLogical AddressesPort AddressesSpecific Addresses
Topics discussed in this section:
![Page 3: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/3.jpg)
2.3
Figure 2.17 Addresses in TCP/IP
![Page 4: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/4.jpg)
Relationship of layers and addresses in TCP/IP
2.4
![Page 5: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/5.jpg)
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
![Page 6: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/6.jpg)
Example 12.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
![Page 7: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/7.jpg)
Example1 :Physical addresses 2.7
07:01:02:01:2C:4B
A 6-byte (12 hexadecimal digits) physical address.
![Page 8: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/8.jpg)
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.
![Page 9: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/9.jpg)
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
![Page 10: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/10.jpg)
2.10
Figure 2.20 IP addresses
![Page 11: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/11.jpg)
Port Addresses2.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.
![Page 12: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/12.jpg)
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
![Page 13: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/13.jpg)
2.13
Figure 2.21 Port addresses
![Page 14: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/14.jpg)
Specific address2.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
![Page 15: NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.](https://reader035.fdocuments.us/reader035/viewer/2022062321/56649ef05503460f94c002e7/html5/thumbnails/15.jpg)
References
Data Communications and Networking, Fourth Edition , 2007 The McGraw-Hill Companies, Inc. Chapter 2.