是否可以在 GPRS 连接上使用私有 IP 地址
我需要将 Windows Mobile 5.0 手机连接到充当服务器的 WAVECOM Q2686 处理器。问题是我没有服务器端的公共IP地址。
我尝试使用CSD拨号连接来解决这个问题,你所需要的只是服务器的电话号码,你可以使用任何你想要的IP。但到目前为止,我还无法在我那部糟糕的 Windows Mobile 手机上实现它:/。
由于我对 GPRS 和 GSM 的了解普遍较少,所以我又回到了之前使用 GPRS 的选择。也许可以在此类连接上使用私有 IP 地址?但我对 GPRS 工作原理了解太少,无法意识到这种可能性?
非常感谢。
附言。作为附加信息 - 电话和服务器都位于同一基站区域。
I need to connect my Windows Mobile 5.0 phone to the WAVECOM Q2686 processor acting as a server. The problem is I don't have a public IP address for the server side.
I tried to solve it by using the CSD dial-up connection, where the all you need is phone number of the server and you can use any IP you want. But as of now I couldn't achieve it on my shitty piece of Windows Mobile phone :/.
As my knowledge of GPRS and GSM is generally slim, I went back to the previous option of using GPRS. Maybe it is possible to use private IP addresses on such connections? But I know too little of GPRS workings to be aware of such possiblity?
Many thanks in advance.
PS. As an additional info - both the phone and the server reside in the same base station area.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要与您的提供商联系以获得固定 IP 地址。
虽然您可以将其设置为拨号连接,但这并不意味着它可以工作。这完全独立于您正在使用的系统。
对于大多数提供商来说,这不是免费服务!
You need to talk to your provider to get a fixed IP address.
Although you can set it for a dial up connection, doesn't mean it will work. This is totally independent of the system you are using.
With most providers, this is no free service!
您的意思是您希望在 Windows Mobile 设备上运行服务器并让互联网上的其他设备连接到该服务器吗?或者您的意思是您正在运行的服务器没有固定的公共互联网地址供您的 Windows Mobile 设备与之通信?
在服务器上使用静态 IP 的另一种方法是使用动态 dns 服务,例如 dyndns 通过此服务,您可以在服务器上运行一个应用程序,该应用程序可以将 dns 记录更新为当前的动态公共 IP 地址,并通过已分配的 dyndns 域名访问服务器。
至于您关于在 gprs 连接上使用私有 IP 地址的问题,简短的回答是否定的。您需要设置通往您的专用网络的 VPN 隧道。一些移动运营商可以提供为您分配专用 apn 的服务,并且他们在自己和您的网络之间建立隧道,然后您的手机在建立 gprs 连接时将从分配的池中获取专用 ip 地址,但这不是免费(或便宜)的服务,并且需要网络端的硬件来终止隧道。
Do you mean you want to have a server running on your windows mobile device and have other device on the internet connect to it? Or do you mean that the server you are running doesn't have a fixed public internet address for your windows mobile device to talk to?
An alternative to using a static ip on the server is to use a dynamic dns service like dyndns With this service you can run an app on the server that can update the dns records to the current dynamic public ip address and access the server through the dyndns domain name it has been assigned.
As far as your question about using private ip addresses on your gprs connection, the short answer is no. You would need to set up a vpn tunnel to your private network. Some mobile carriers can provide a service where you are allocated a private apn, and they set up a tunnel between themselves and your networks, then your handset would get a private ip address from your allocated pool when it has established the gprs connection, but this isn't a free (or cheap) service and does require hardware at your network end to terminate the tunnels.