静态IP地址和普通IP地址有什么区别 [英] what is difference between Static Ip address and Ordinary Ip address

查看:57
本文介绍了静态IP地址和普通IP地址有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi


静态IP地址和普通IP地址有什么区别。



谢谢和问候



Kranthi kumar

解决方案

静态和动态IP地址



此常见问题解答讨论了何时需要静态(或固定)IP地址(以及多少)以及何时可以使用动态IP地址。 IP地址可以是熟悉的IPv4样式(192.168.2.1),也可以是较新的IPv6样式(2001:db8:0:1 :: 3f)。 IPv4地址的供应越来越短,大多数组织对静态IPv4地址的使用收费 - 有时相当多。 IPv6地址变得越来越普遍并且随时可用 - 通常数量非常大,而且价格通常比IPv4地址低得多。但是,本地IPv6地址可能需要访问各种转换/调整服务才能与庞大的IPv4用户进行交互,因此您需要与ISP或服务提供商仔细讨论它们的使用。



IP地址和端口号:当客户端访问服务(web,ftp,mail等)时,它会发送其IP地址和端口号(源地址信息)以及所需的IP地址和端口号服务(目的地地址信息)。 Web,ftp,邮件等服务使用众所周知的端口号(在IANA维护的列表中定义)。在Web服务的情况下,这个众所周知的端口号是80,FTP使用端口21(和端口20),邮件使用端口25(SMTP)用于传出邮件,端口110(POP3)或端口143(IMAP)用于传入邮件。由于每个端口都是唯一的,因此可以通过在单个服务器上运行所有服务或使用端口映射服务(如NAT-PAT(由大多数DSL和电缆调制解调器提供)来转换传入端口)来支持单个IP地址数字到唯一(内部IP地址)。当客户端访问任何服务(例如Web服务)时,它会从其IP地址(可能是静态或动态)发送请求,并且动态分配的端口号通常在1024到65535范围内。

定义



顾名思义,每次连接时静态IP地址都是相同的。每次连接到Internet时,动态IP地址都可能会更改。动态IP地址是大多数ISP或服务提供商使用的常规客户访问方法。使用动态IP地址时,即使您永久连接(始终开启),某些ISP /服务提供商每24小时更改一次动态IP地址,其他ISP更改频率较低(在某些情况下每月甚至更长)。检查您当地ISP关于IP地址更改频率的政策。 IP地址的更改通常在您的ISP /服务提供商网络与本地(现场)DSL或使用动态主机控制协议(DHCP)的其他调制解调器之间执行。当IP地址发生变化时,您将看不到任何操作效果 - 但您也无法停止该过程。



注意:即使通过观察,动态IP也是如此地址不会经常变化,它仍然可以随时由您的ISP自行决定。例如,更改网络策略或安装新设备。您无法控制IP地址更改策略,您的ISP /服务提供商会这样做。

当您不需要静态IP地址时



如果你只需从以下列表中做一些你不需要静态IP地址的东西。



如果你浏览互联网。

如果发送和通过非现场邮件服务器或服务接收电子邮件(通常的方法,通常使用您的ISP的邮件服务器或邮件服务,如Gmail,Hotmail,雅虎邮件等)。

如果您下载或上传文件。

如果您使用即时消息服务或聊天服务。

如果您运行任何服务,例如Web或FTP服务器,那么只能需要从您的局域网(单个站点)访问,并且不要求或允许从Internet访问。



当您需要静态IP地址时



如果满足以下任何条件,您需要一个或多个静态IP地址:



您直接在您的站点上运行一个或多个需要外部访问的Web服务器(来自Internet或外联网)。

您可以直接在您的网站上运行一个或多个电子邮件服务器需要外部访问的站点(来自Internet或外联网)。

您在站点上直接运行一个或多个FTP服务器,需要外部访问(来自Internet或外联网)

您直接在您的站点上运行一个或多个DNS服务器,需要外部访问(来自Internet或外联网)。

您运行任何其他服务或''应用程序''需要外部访问(来自Internet或外联网)。某些金融终端客户端和其他许可应用程序要求您拥有静态IP地址以用于许可目的。

您需要或允许传入视频或音频服务。在这种情况下,您可能需要使用静态IP地址。例如,如果您运行现场IP-PBX,通常需要一个或多个静态IP地址。但是,在某些情况下,音频和/或视频客户端应用程序(包括某些IP-PBX)将要求您与外部服务器连接或注册,以便转发传入流量。使用这些类型的客户端/应用程序时,您不需要静态IP地址。与客户/应用程序供应商核实详细信息。



注意:如果您使用DSL来托管本地服务,请注意DSL通常提供非对称速度和传入速度(来自Internet)通常比传出(到Internet)速度更快。在某些情况下,速度的差异是显着的。在浏览和大多数客户服务的情况下,这种差异对您有利。您发送少量数据(单个URL)并从网站获取大量数据。如果您提供服务,则情况正好相反。用户向您(传入)发送少量数据(单个URL),并且您的本地服务发送(传出)大量数据。请咨询您的ISP /电信供应商了解详情。

您需要多少IP地址



使用以下''经验法则''计算所需的IP地址数。



如果您在网站上运行任何类型的服务器(FTP,Web,E-mail等)之一您只需要一个静态IP地址,因为大多数DSL和其他调制解调器都嵌入了端口映射器(也称为NAT-PAT)。

如果您运行使用固定端口号的任何应用程序的一个副本,您只需要一个单个静态IP地址。

在所有其他情况下,您需要与使用相同端口号的应用程序或服务器一样多的静态IP地址。



如果您有任何疑问,请与您的ISP技术专家讨论。

替代方法

外部托管



托管服务的价格范围从小于


每月10个到

100美元。在可靠性,支持的软件,允许的访问,允许的数据量,带宽等方面,您可以获得所需的费用 - 但在您选择之前需要做大量的功课。越来越多的外部托管使用虚拟化服务提供,通常可以对托管服务进行非常高级别的用户控制。



动态DNS服务



所有外部可见的IP地址都是前向映射的(从名称到IP),在某些情况下通过DNS服务反向映射(从IP到名称)。因此,如果有人在他们的网络浏览器中键入www.example.com,则使用前向地图通过DNS服务将其转换为特定的IP地址。有许多组织通过不断监视和更改DNS中的地址,将站点应用程序服务(例如Web或电子邮件)映射到动态IP地址。虽然这在节省成本方面非常有效,但地址变化之间总会存在时间延迟,这可能会中断外部用户服务。在时间敏感的情况下,最好在外部托管服务,而不是尝试将其映射到动态IP地址。


hi
what is difference between Static Ip address and Ordinary Ip address.

Thanks & Regards

Kranthi kumar

解决方案

Static and Dynamic IP addresses

This FAQ discusses when you need may Static (or fixed) IP addresses (and how many) and when you can use Dynamic IP addresses. IP addresses may be either the familiar IPv4 style (192.168.2.1) or the newer IPv6 style (2001:db8:0:1::3f). IPv4 addresses are in increasingly short supply and most organizations charge for the use of Static IPv4 addresses - sometimes quite a lot. IPv6 addresses are becoming more common and are readily available - often in very large numbers and usually at significantly lower prices than IPv4 addresses. However, local IPv6 addresses may need access to various conversion/tunelling services to interwork with the huge base of IPv4 users so you need to carefully discuss their use with your ISP or Service Provider.

IP Address and Port Numbers: When a client accesses a service (web, ftp, mail etc.) it sends its IP address and a port number (the source address information) and the IP address and port number of the desired service (the destination address information). Services such as web, ftp, mail and so on use Well Known Port Numbers (defined in a list maintained by IANA). In the case of a web service this Well Known Port Number is 80, FTP uses port 21 (and port 20), mail uses port 25 (SMTP) for outgoing mail and either port 110 (POP3) or port 143 (IMAP) for incoming mail. Since each port is unique they can all be supported on a single IP address either by running all the services on a single server or by using a port mapping service such as NAT-PAT (provided by most DSL and cable modems) to translate incoming port numbers to a unique (internal IP address). When a client accesses any service, such as a web service, it sends the request from its IP address (which may be Static or Dynamic) and a dynamically allocated port number typically in the range 1024 to 65535.
Definitions

As the name implies Static IP addresses are the same every time you connect. Dynamic IP addresses may change each time you connect to the Internet. Dynamic IP addresses are the normal customer access method used by most ISPs or Service Providers. When using dynamic IP addresses, even if you are permanently connected (always-on) some ISPs/Service Providers change dynamic IP addresses every 24 hours, others change less frequently (monthly or even longer in certain cases). Check your local ISP''s policy on IP address change frequency. The change of IP address is typically carried out between your ISP/Service Providers network and your local (on-site) DSL or other modem using the Dynamic Host Control Protocol (DHCP). You will see no operational effect when the IP address changes - but neither will you be able to stop the process.

Note: Even if, by observation, a dynamic IP address does not change frequently it still can at any time solely at the discretion of your ISP. For example, a change of network policy or installation of new equipment. You do not control the IP address change policy, your ISP/Service Provider does.
When you do NOT need static IP addresses

If you ONLY do things from the following list you do not need static IP addresses.

If you browse the Internet.
If you send and receive e-mail via an offsite mail server or service (the normal method and typically using your ISP''s mail server(s) or a mail service such as gmail, hotmail, yahoo mail etc.).
If you download or upload files.
If you use Instant message services or chat services.
If you run any services, such as web or FTP servers, that ONLY require access from your local area network (single site) and that DO NOT require or ALLOW access from the Internet.

When you need Static IP Addresses

You need one or more Static IP addresses if any of the following are true:

You run one or more Web server''s directly on your site that require external access (from the Internet or an Extranet).
You run one or more E-mail server''s directly on your site that require external access (from the Internet or an Extranet).
You run one or more FTP server''s directly on your site that require external access (from the Internet or an Extranet)
You run one or more DNS server''s directly on your site that require external access (from the Internet or an Extranet).
You run any other service or ''Application'' that requires external access (from the Internet or an Extranet). Some Financial Terminal Client and other licensed applications require that you have a static IP address for licensing purposes.
You require or allow ''incoming'' Video or Audio services. In this case you may need to use static IP addresses. As an example, if you run an on-site IP-PBX you will typically need one or more static IP address(es). However, in some cases audio and/or video client applications (including some IP-PBXs) will require you to connect, or register, with an external server which will forward incoming traffic. When using these types of clients/applications you do not need a static IP address. Verify the details with the client/application supplier.

Note: If you are using DSL to host local services, be aware that DSL normally provides asymmetric speeds and that incoming speed (from the Internet) is normally faster than outgoing (to the Internet) speed. In some cases the difference in speed is significant. In the case of browsing and most client services this difference works in your favor. You send a small amount of data (a single URL) and get back a lot of data from a web site. If you are providing a service the opposite is true. Users send you (incoming) a small amount of data (a single URL) and your local service sends (outgoing) a lot of data. Check with your ISP/Telecom supplier for the details.
How many IP Addresses do you need

Use the following ''rules of thumb'' to calculate the number of required IP addresses.

If you run one of any type of server (FTP, Web, E-mail etc.) on site then you only require a single Static IP address since most DSL and other modems embed a port mapper (aka NAT-PAT).
If you run one copy of any application which uses Fixed Port Numbers you only need a single Static IP address.
In all other cases you need as many Static IP addresses as there are Applications or Servers that use the same Port Number.

If you have any doubts discuss them with your ISP''s technical specialists.
Alternative Approaches
External Hosting

Hosting services range in price from less than


10 per month to many


100''s of dollars. You get what you pay for in terms of reliability, software supported, permitted access, volume of data allowed, bandwidth, etc. - but do lots of homework before you choose. Increasingly external hosting is being provided using virtualized services which typically enables very high levels of user control over the hosted service.

Dynamic DNS Services

All externally visible IP addresses are forward-mapped (from name to IP) and in some cases reverse-mapped (from IP to name) via a DNS service. Thus, if someone types www.example.com into their web browser it is translated via a DNS service to a specific IP address using a forward map. There are a number of organizations that will map site application services, such as web or email to a dynamic IP address by constantly monitoring and changing the addresses in the DNS. While this can be very effective in terms of cost savings there will always be a time lag between address changes which can interrupt external user service. In time sensitive cases it may be better to host the service externally rather than try and map it to a dynamic IP address.


这篇关于静态IP地址和普通IP地址有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆