←back to thread

224 points gurjeet | 2 comments | | HN request time: 0.001s | source
Show context
rnhmjoj ◴[] No.26638168[source]
I wonder how much more it will take before the answer to "What is my IP address?" will simply be "Look in the settings" or "Just type ip addr in the terminal".

We are so used to NAT that we don't realize how crazy it is that you essentially have to ask a stranger what's your address. It's really difficult to explain this to someone with no networking knowledge. Nothing else works this way: phone numbers, emails or postal addresses.

replies(4): >>26638280 #>>26638286 #>>26638463 #>>26639036 #
marcosscriven ◴[] No.26639036[source]
You don’t really have to ask a stranger - you can ask your router, in a similar way you can check the door number on your street.
replies(4): >>26639422 #>>26640496 #>>26640565 #>>26643982 #
remram ◴[] No.26639422[source]
Ask your router? Is there a generic way to do this, or do you mean "look into its vendor-specific management interface"?
replies(1): >>26639748 #
1. the8472 ◴[] No.26639748{3}[source]
NAT-PMP, UPnP-IGD or PCP can be used for that. Home routers usually support at least one of those, but you may have to explicitly enable it.
replies(1): >>26640062 #
2. remram ◴[] No.26640062[source]
3 competing techs... Of course this doesn't suffice in a variety of situations which is why STUN is a thing: https://tools.ietf.org/html/rfc3489