Answer the question
In order to leave comments, you need to log in
Why, with a static IP connected, does it show one address on 2ip, and another address in the wan router?
Good time dear!
Please give a hint to the lamer.
The task was to organize remote video surveillance via the Internet. There is a working computer, switches and ip cameras, all connected to the Internet via a 4g router. At first, everything went pretty smoothly. I bought a SIM card, connected a static public ip address to it , found out what NAT port forwarding is, turned off firewalls, copied the wan ip address from the browser menu of the router, pasted it into radmin on my home computer and connected to my work computer without any problems. It would seem that everything is simple, but then something went wrong.
There was a power outage at work, the router rebooted and radmin stopped connecting to the working computer. I went into this router (being at work already physically) through a working computer and saw that the wan address had changed (initially I thought that this was the same static public ip). I rebooted the router and found that this is a pattern. The address changes on every reboot. And if for the first time it was from the "white" range, then after reboots it became "gray".
I got through to technical support (it was a long time), a couple of hours ago, it was already late in the evening. The specialist introduced himself as an engineer and said that I need to go to 2ip.ru and exactly what is displayed on it is my static public ip address. I thought - I’m a lama, I didn’t guess right away (although he couldn’t explain why I successfully connected via wan ip, he said that it was “just the ip address of the router”) - and began to enter a new address into radmin. Unfortunately, it didn't lead to anything. I googled the problem and ended up on a couple of forums, including this one, where people answered that the wan address of the router is kind of likenat forwarding from a static address that I see on 2ip. And now I'm a little confused. I realized that I need to deepen my knowledge of how networks work, but this is the time, and first of all I would like to ask more educated comrades to shed light on this problem. Either I misunderstand something, or there is a contradiction between the words "engineer" from technical support and users who left answers in topics with a similar problem. I don’t understand why the wan address changes after each reboot of the router, why the first time I used it I was able to connect to a working computer from my home (I assume that at that time the wan address and the address with 2ip apparently coincided or just some unknown magic), why the address with 2ip does not work, and what should I do now to establish the connection again.
Answer the question
In order to leave comments, you need to log in
The answer was simple and not obvious. After rebooting the router, the provider (equipment) sent incorrect settings to the router. Specialists in the support service are not equally helpful, today the consultant guy turned out to be more savvy and the problem was quickly resolved.
A static address and a permanent address are, in general, slightly different things. Although this is more a matter of terminology and its interpretation. But in terms of meaning, "static" is manually assigned on the equipment (at the same time, the provider is obliged to transfer the settings - at least the address, mask and gateway - for such an address), and "permanent" - assigned via DHCP, but always the same ( binding to the client port of the provider's equipment or the hardware address of the client's equipment).
And if for the first time it was from the "white" range, then after reboots it became "gray".Now that looks like a breach of contract.
The specialist introduced himself as an engineer and said that I need to go to 2ip.ru and exactly what is displayed on it is my static public ip address.Either he didn’t understand you (didn’t understand that you have a “white address” service activated), or he deliberately misled you. The "public address" service unambiguously assumes that this address will have equipment in your area of responsibility (in this case, the gateway - the WAN of the router). The "permanent public address" service further assumes that this address will not change over time.
If you reboot your router at work and 2ip shows you a different external IP address every time, then most likely static is not assigned to you. Or on the router, the statics must be set manually. (specify how your provider gives you statistics)
With port forwarding and remote connection, everything seems to be right with you. Understand the address that comes to the router when the connection is raised.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question