什么是网络地址转换?(network address translation?)

网络地址转换(NAT)是系统使用的一种动态整合方法,目的是最大限度地减少互联网连接需求。具体地说,网络地址转换描述数据分组的因特网协议(IP)地址的重写,以便多个传输只需要一个IP地址。重写发生在数据通过网络或网络防火墙时。这是在专用网络上完成的。除了防火墙,公司还使用路由器甚至计算机来执行网络地址转换功能。...

网络地址转换(NAT)是系统使用的一种动态整合方法,目的是最大限度地减少互联网连接需求。具体地说,网络地址转换描述数据分组的因特网协议(IP)地址的重写,以便多个传输只需要一个IP地址。重写发生在数据通过网络或网络防火墙时。这是在专用网络上完成的。除了防火墙,公司还使用路由器甚至计算机来执行网络地址转换功能。

Using network address translation can conserve IP addresses.

网络地址转换通常有四种形式:静态NAT、动态NAT、重载或重叠。静态NAT是将一个未注册的IP地址转换为另一个已注册的IP地址。动态NAT是将一个未注册的IP地址转换为从一组注册地址中选择的另一个IP地址。重载是动态NAT的一种形式,它将一系列未注册的地址转换为一个已注册的地址。重叠是将多个地址从一个网络转换到另一个网络。每种方法都是根据手头公司的具体需要使用的。

Companies use routers or even computers to perform network address translation functionality.

使用网络地址转换的主要原因之一是保护IP地址。许多行业专家认为,IP地址需求的爆炸式增长将导致全球IP地址短缺,这是由于32位IPv4标准中所有可用的数字排列都被取消了,而这一标准如今主宰着互联网。解决这一问题的一种方法是创建IPv6,它包括128位和更多的IP地址。然而,IPv6的创建并没有真正解决短缺问题。网络地址转换通过在不需要时不创建新的IP地址来实现。

网络地址转换的一个缺点是它不允许从开始到结束的真正连接。换句话说,如果连接来自网络外部,那么网络地址转换协议不能保证数据在整个过程中保持完整。最初的IP不是与网络相关联的IP,这是这里的缓解因素。

另一方面,这一缓解因素也可以带来好处。如果网络地址转换不允许从网络外的源进行线对线数据传输,那么它自然会成为恶意数据流的屏障。这种功能自然可以作为一种安全服务,防止病毒、蠕虫和其他危险。

  • 发表于 2021-12-14 11:29
  • 阅读 ( 160 )
  • 分类:互联网

你可能感兴趣的文章

如何在linux上管理ip地址:查找、设置和更改

... Ubuntu的旧桌面版本使用etc/network/interfaces文件。使用cat命令显示文件内容,如果内容看起来与系统下面的图片类似,则使用较旧版本的网络服务。 ...

  • 发布于 2021-03-24 17:34
  • 阅读 ( 267 )

为什么网络隧道被称为“隧道”?

...cally intended for connecting two private networks without the overhead of translating the IP addresses between private and public addresses at each end. An example that combines the two is game VPN software like Hamachi that could be used to play “over the Internet” games which used old protoco...

  • 发布于 2021-04-08 04:15
  • 阅读 ( 150 )

如何连接到本地面向internet的服务器而不向internet发送通信量?

... a pretty specific answer to. I set up a streaming media server on my home network so I could access my media while away from home. I have an application on my phone that allows me to specify the address of the server. So far so good, right? When I’m away, I just start the app up and connect to th...

  • 发布于 2021-04-09 01:10
  • 阅读 ( 191 )

不同类型的局域网ip地址代表什么?

...ting, or CIDR for short), but may help in understanding different sizes of networks: There are a couple of basic distincti*** regarding addresses. You have what are called networks, network addresses, public addresses, private addresses, and subnets. In short, your computer gets an IP address which...

  • 发布于 2021-04-09 22:09
  • 阅读 ( 247 )

为什么要将ipv4和ipv6公共地址分配给我的家庭网络?

...t they generally involve tunneling through an intermediate server that can translate between the two. Your ISP provides you with an IPv4 address for compatibility reas***. What many ISPs do now is implement CGN, where many people share a single “public” IPv4 address. There are many reas*** why t...

  • 发布于 2021-04-09 23:20
  • 阅读 ( 206 )

为什么“物联网”强制要求ipv6地址?

...联网”强制要求IPv6地址: If you have multiple devices within a network, the amount of IPv4 addresses will not increase linearly to accommodate the number of devices. There is just one IPv4 address per network/router that is connected to the Internet. How does the ‘Internet of Things’ (...

  • 发布于 2021-04-10 04:14
  • 阅读 ( 241 )

如何强制mac地址的唯一性?

...Card (NIC) and cannot be changed. See ARP and RARP on how IP addresses are translated into MAC Addresses and vice versa. In order for a network device to be able to communicate, the MAC Address it is using must be unique. No other device on that local network subnet can use that MAC Address. If two ...

  • 发布于 2021-04-10 06:31
  • 阅读 ( 227 )

公共IP是唯一的吗?

...is not a problem because those never leave your home before being NATed or translated by the NAT. As mentioned in other comments (see thread link below), there is an exception to what I have just said. There are some techniques that allow us to be more flexible about the original one-to-one communic...

  • 发布于 2021-04-10 07:14
  • 阅读 ( 162 )

为什么需要以太网/mac地址?

...sses are needed. Surely all computers could just be connected to a unified network and use IP addresses to communicate? For example, there is the following mechani** in Ethernet: A computer with the IP address 192.168.1.1 (X.1) wants to send a packet to the address 192.168.1.2 (X.2). X.1 uses ARP t...

  • 发布于 2021-04-11 04:47
  • 阅读 ( 219 )

同一wi-fi网络上的两台计算机是否具有相同的ip地址?

...he originating computer and the procedure used for this is Network address translation. However, if you were to try to communicating with your father’s computer, you would use your internal addresses. These use a custom range intended for internal use only: private address range. 接下来是艾...

  • 发布于 2021-04-11 07:22
  • 阅读 ( 247 )
gexwno947
gexwno947

0 篇文章

相关推荐