DISCLAIMER: Maybe this isn't the right place for this. Please let me know if it isn't.

I recently stayed at a Hilton Garden Inn (member of the Hilton hotel family). While there, I connected my computer via ethernet to their network (which, as near as I can tell, is run by AT&T). When I did I was surprised to see that I received a public IP address in the 50.95.2.xxx pool with the subnet of, and a router of

In order to determine if I was publicly accessible, I ran a small server on my laptop and connected from my computer located at home, where Comcast is my ISP (accessed over VNC). I've seen this happen to me a few times before, but not always. It seems to be random. I'm not using the "premium access" which is aimed at business customers with VPNs, just the basic complementary one that is for surfing email or the web.

Connecting using a different thunderbolt->ethernet adapter (thus a different NIC) results in me getting a 192.168.x address, which I see on my other devices (phone, iPad).

Has anyone else seen this / has anyone found why it happens? It seems very insecure to give out public addresses to random hotel clients. Unsuspecting average users might have a configuration where they have something running that (typically behind NAT) isn't a problem, such as guest access to file shares or a vnc server with an insecure password. Not to mention the v4 address shortage.

EDIT: it had all the normal constraints such as a captive portal and 2-3 megabit speed restrictions.

  • 1
    It's a fact wayport, now an AT&T company, mostly leases public IP's. (I suspect they treat hotels like its a cell site). Who is it insecure for? – Tyson Apr 11 '16 at 3:34
  • 1
    it may be insecure for customers that have a machine running something like a VNC server. If that server is found on the public internet, especially if their password isnt strong, it could be a problem. Also people who have Guest access for something like AFP. – lightbord Apr 11 '16 at 4:31

Hotels cater to business guests who may need to use certain enterprise applications like VPN and VOIP. These sorts of applications often require that your computer has a public IP address with unblocked ports. As such, many hotels give you exactly that. Some hotels will actually let you choose whether you want this by asking if you want a public IP when you first connect to the network, along with a description saying that you probably want this if you use business applications like VPN.

You mentioned that you feel it is insecure to give out public IP addresses. However, keep in mind that NAT (using a shared public IP) is no better at blocking incoming connections then a firewall rule that does so. Other than perhaps anonymity, there isn't much of a reason not to give someone a public IP with all incoming connections blocked instead of using NAT. (And even the anonymity benefit is questionable as it may be possible to gain information about users behind a NAT from doing traffic analysis based on things such as differences in how network protocols are implemented in different operating systems.) Of course, as you indicated, they don't block incoming connections either, which is likely for the reasons mentioned in the first paragraph.

Disclaimer: Everyone should critically evaluate any security info/advice they receive. I make no claim that this answer is correct/complete, nor do I claim that acting based on it won't go horribly wrong. Anyone using it should use it at their own risk.

  • What I find confusing / interesting is that I was assigned this address at random, while switching to another thunderbolt->ethernet adapter (and thus a different NIC) results in me getting a 192.168.x.x ip. No choice on the captive login page, just chose complementary which is supposed to be for surfing the web or email. I could see it happening for their "premium access" customers, of which I certainly am not one. It seems to be random. Is there some specific reason or criteria anyone has found that causes me to get a 50 address instead of a 192 like most devices (including my other NIC) get? – lightbord Apr 11 '16 at 4:20
  • So you're saying that you tried using two different thunderbolt to ethernet adapters and one gave you a public IP while the other gave you a private one? It's possible that they might have a limited number of public IPs to give out and switch over to NAT when the public IPs are exhausted. If the number of users is close to the number of available public IPs, then one might expect that the number of users would randomly fluctuate below/above the number of available public IPs. In this case it might appear "random" whether you get a public or private IP, depending on how many users there are. – John Apr 11 '16 at 18:54
  • You could test this hypothesis by using the same NIC, then repeatedly change your mac address and reconnect, keeping track of whether you get a public/private IP. If you do this 20 times, one would expect that you would get a public IP a larger fraction of the time in the first 10 attempts than in the second 10. – John Apr 11 '16 at 19:09

the address block you are refering to are owned by Wayport.net, a company that appears to rent service to Hilton hotels via AT&T wifi business services.

Keep in mind, that while the user may be more exposed to unsolicited access by third parties, anyone can use the IP they are assigned for any purpose. A NAT network provider would for instance be unable to support applications that require port forwarding. By using a public IP, they are not confining users to situations where stateful packet filtering and NAT are required.


Simply Best :-P

  • You can't access your computer by External IP. because your ISP using Carrier-Grad NAT technology.
  • This means that basically, you and other clients inside your ISP are in a big Metropolitan Area Network (MAN), The same way your home router is creating a Local Area Network (LAN) but in a bigger scale. Unfortunately they can't port forward :(

    Why NAT?

  • As you may know, the pool of free IPv4 exhausted a couple of years ago so they need to use a lower amount of public IPv4's

Is there any way to access my pc remotely?

  • Yes! you can, Using a ISP's private IP assigned to you (Check on Router).

  • Using this IP (10.1.X.X) you can access your computer remotely if the other computer is connected to the ISP which you're also connected.

  • System B( can be connected to System A They might be have a Common DNS (

  • 1
    This answer doesn't seem to be directed at the actual question, but instead cherry-picked terms in the question. Please update the potentially useful information about NAT to provide an answer to the actual question regarding the scenario of being assigned a public IP address by a hotel. – Ashley Steel Apr 12 '16 at 15:50
  • how a hotel can assign a public IP? – Sathish Kumar Apr 12 '16 at 16:01

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.