NAT

本文介绍了网络地址转换(NAT)的基本概念及其两种主要类型:动态NAT和静态NAT。NAT允许本地网络使用一组IP地址进行内部通信,并使用另一组地址连接到外部网络。文章还探讨了NAT的主要作用,包括防火墙功能、内部地址隐藏以及通过整合多个ISDN连接来简化互联网接入。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 What's NAT(network address translation) ?

网络地址转换

NAT is an Internet standard that enables a local-area network (LAN) to use one set of IP addresses for internal traffic and a second set of addresses for external traffic. A NAT box located where the LAN meets the Internet makes all necessary IP address translations.

NAT serves three main purposes:
* Provides a type of firewall by hiding internal IP addresses
* Enables a company to use more internal IP addresses. Since they're used     internally only, there's no possibility of conflict with IP addresses used by other companies and organizations.
* Allows a company to combine multiple ISDN connections into a single Internet connection.

Two types of NAT
  dynamic NAT
A type of NAT in which a private IP address is mapped to a public IP address drawing from a pool of registered (public) IP addresses. Typically, the NAT router in a network will keep a table of registered IP addresses, and when a private IP address requests access to the Internet, the router chooses an IP address from the table that is not at the time being used by another private IP address. Dynamic NAT helps to secure a network as it masks the internal configuration of a private network and makes it difficult for someone outside the network to monitor individual usage patterns. Another advantage of dynamic NAT is that it allows a private network to use private IP addresses that are invalid on the Internet but useful as internal addresses.
  static NAT
A type of NAT in which a private IP address is mapped to a public IP address, where the public address is always the same IP address (i.e., it has a static address). This allows an internal host, such as a Web server, to have an unregistered (private) IP address and still be reachable over the Internet.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值