天天看點

什麼是網絡位址轉換 nat_什麼是網絡位址轉換(NAT)? NAT示例 (NAT Example) NAT拓撲 (NAT Topology)

什麼是網絡位址轉換 nat_什麼是網絡位址轉換(NAT)? NAT示例 (NAT Example) NAT拓撲 (NAT Topology)

什麼是網絡位址轉換 nat

In corporate networks or internet works on dominantly on IP protocol. IP protocols have two versions. Most popular default one is IPv4 and other next-generation by not so widespread version are IPv6. IPv6 have a lot of advantages against IPv4 but as you know changing and infrastructure through world wide is not so easy job. Now our question is what is Network Address Translation simply NAT.

在公司網絡或Internet中,主要使用IP協定。 IP協定有兩個版本。 最流行的預設版本是IPv4,其他不太流行的下一代版本是IPv6。 IPv6相對于IPv4具有很多優勢,但是衆所周知,通過全球範圍内的變化和基礎架構并不是一件容易的事。 現在我們的問題是什麼是網絡位址轉換(簡稱NAT)。

NAT示例 (NAT Example)

In Local Area Networks (LAN) IP range of 192.168.0.0/24, 172.16.0.0/20 and 10.0.0.0/8 are used. These IP ranges are dedicated from IANA and do not use on the internet. Other IP addresses are used by the Internet. So the problem is what will happen when a host in the LAN wants to access the internet because LAN IP range cannot be used for internet? There must be an IP address used and reserved for the internet. The address will be used for internet-related network traffic. We will continue with the following IP address.

在區域網路(LAN)中,IP範圍為192.168.0.0/24、172.16.0.0/20和10.0.0.0/8。 這些IP範圍專用于IANA,不在Internet上使用。 Internet使用其他IP位址。 是以問題是當LAN中的主機由于LAN IP範圍不能用于Internet而想要通路Internet時會發生什麼? 必須有一個用于Internet并保留的IP位址。 該位址将用于與Internet相關的網絡流量。 我們将繼續以下IP位址。

Host LAN IP Address:              192.168.1.10

Source Internet Address:           1.1.1.1

Destination Internet Address:      2.2.2.2           

NAT拓撲 (NAT Topology)

什麼是網絡位址轉換 nat_什麼是網絡位址轉換(NAT)? NAT示例 (NAT Example) NAT拓撲 (NAT Topology)

To access destination IP address 2.2.2.2 LAN host 192.168.1.10 goes through firewall 1.1.1.1. The IP address 1.1.1.1 is used by 192.168.1.10 on the internet to identify itself. Packets arriving at the 2.2.2.2 have source address 1.1.1.1. We call this source address translation operation as NAT simply. Actually there is a different type of mechanisms in NAT.

要通路目标IP位址2.2.2.2,LAN主機192.168.1.10穿過防火牆1.1.1.1。 IP位址1.1.1.1被Internet上的192.168.1.10用于辨別自己。 到達2.2.2.2的資料包的源位址為1.1.1.1。 我們将此源位址轉換操作簡稱為NAT。 實際上,NAT中有不同類型的機制。

LEARN MORE  How To Install Nmap 了解更多如何安裝Nmap

翻譯自: https://www.poftut.com/network-address-translation-nat/

什麼是網絡位址轉換 nat

繼續閱讀