TAILIEUCHUNG - The Illustrated Network- P73

The Illustrated Network- P73:In this chapter, you will learn about the protocol stack used on the global public Internet and how these protocols have been evolving in today’s world. We’ll review some key basic defi nitions and see the network used to illustrate all of the examples in this book, as well as the packet content, the role that hosts and routers play on the network, and how graphic user and command line interfaces (GUI and CLI, respectively) both are used to interact with devices. | CHAPTER 27 Network Address Translation 689 The DNS server replies not with the private nonroutable address but with the mapped address in the NAT reply in this case as established in the previous step. Once this DNS NAT procedure is complete the transaction in bidirectional NAT continues as shown in Figure . Naturally requests from local LAN devices are still handled as in unidirectional NAT. Port-Based NAT In both unidirectional and bidirectional NAT the address translation is always one to one. Even when dynamic mapping is used the entire inside address is always swapped out for an outside address. But we set up our examples by saying that 250 LAN hosts are going to share only 20 public IP addresses. Unidirectional and bidirectional NAT handles 20 or fewer simultaneous Internet users on the LAN. But what happens when more than 20 hosts are trying to access the Internet all at the same time That s where port-based NAT also called overloaded NAT comes in. Some devices even advertise this as network port address translation NAPT or port address translation PAT but we ll just call it port-based NAT. We are now essentially translating sockets from inside to outside. With port-based NAT we can easily have all 250 devices with outstanding requests on the Internet all at the same time and never come close to running out of port numbers which run from 0 to 65 535 . Let s say that one host on the LAN is already using private address and source port 17000 perhaps the browser always uses that source port number to contact a Web site. No problem. Port-based NAT just translates both IP address and port as shown in Figure . Inside LAN Outside Internet Request Request Source 17000 Source 18395 Dest 80 Dest 80 1. Client sends request 2. NAT on source addr and port Reply Source 80 Dest 17000 4. NAT on dest addr and port Reply Source 80 Dest

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.