Tầng mạngChức năng chính của các giao thức ở theNetwork lớp, các lớp thứ ba trong mô hình OSI,Dịch địa chỉ mạng vào đối tác thể chất của họ và quyết định làm thế nào để định tuyến dữ liệutừ người gửi đến người nhận. Địa chỉ là một hệ thống cho việc phân công nhận dạng độc đáosố thiết bị trên mạng. Mỗi nút có hai loại địa chỉ.Một loại địa chỉ được gọi là một addressesfollow address.Network mạng thứ bậc mộtđịa chỉ lược đồ và có thể được chỉ định thông qua phần mềm hệ điều hành. Họ được phân cấp vì chúng có chứa các tập con của dữ liệu từng bước thu hẹp xuống vị trícủa một nút, cũng giống như địa chỉ nhà của bạn là phân cấp vì nó cung cấp một quốc gia, tiểu bang,Zip Mã, thành phố, đường phố, số nhà, và tên của người đó. Định dạng địa chỉ mạng lớpkhác nhau tùy thuộc vào giao thức lớp mạng mạng sử dụng. Địa chỉ mạngcũng là calledNetwork lớp địa chỉ hợp lý địa chỉ, địa chỉ orvirtual. Thứ hailoại địa chỉ được gán cho mỗi nút được gọi là một địa chỉ vật lý, thảo luận chi tiết trong cácphần kế tiếp.Ví dụ, một máy tính chạy trên một mạng lưới TCP/IP có thể có một địa chỉ lớp mạng10.34.99.12 và một địa chỉ vật lý của 0060973E97F3. Trong ví dụ lớp học, điều nàylược đồ địa chỉ là giống như nói rằng "Bà Jones" và "công dân Hoa Kỳ với xã hộiSố an 123-45-6789 "là cùng một người. Mặc dù có thể có những người khácnamed“Ms. Jones”in the United States, only one person has the Social Security number123-45-6789. Within the confines of your classroom, however, there is only one Ms. Jones, soyou can be certain the correct person will respond when you say,“Ms. Jones?”There’snoneedto use her Social Security number.Network layer protocols accept the Transport layer segments and add logical addressinginformation in a network header. At this point, the data unit becomes a packet. Networklayer protocols also determine the path from point A on one network to point B on anothernetwork by factoring in:● Delivery priorities (for example, packets that make up a phone call connected through theInternet might be designated high priority, whereas a mass e-mail message is low priority)● Network congestion● Quality of service (for example, some packets may require faster, more reliable delivery)● Cost of alternative routesThe process of determining the best path is known as routing. More formally, toroutemeansto intelligently direct data based on addressing, patterns of usage, and availability. Becausethe Network layer handles routing, routers—the devices that connect network segments anddirect data—belong in the Network layer.Although there are numerous Network layer protocols, one of the most common, and the onethat underlies most Internet traffic, is theIP (Internet Protocol). In the example of requesting aWeb page, IP is the protocol that instructs the network where the HTTP request is coming fromand where it should go. Figure 2-7 depicts the data found in an IP packet used to contact theWeb sitewww.loc.gov/index.html.Notice the Network layer addresses, or IP addresses, in thefirst line of the packet. The first, labeled“src Addr”reveals the unique IP address of the computer issuing the transmission. The next, labeled“DST Add,”indicates the unique IP addressof the receiving computer. Chapter 4 illustrates IP packets and describes them in more detail.
đang được dịch, vui lòng đợi..
