Hi everyone…
I have a hikvision dvr in my home connected to mikrotik routerboard with pppoe connection configured inside the router, I use no-ip.com to give me a domain name so i can access my dvr from ouside the network everything works fine but when the broadband connection (pppoe) reconnects it gives me another external ip address from the isp ((my ISP assigns dynamic ip’s to users).. and when my dvr tries to refresh the new external ip it sends wrong one to no-ip.com ..but when i open any pc and go ahead to one of what is my ip websites they give me another external ip address which is the correct one and automatically the dvr correct’s the no-ip.com with the correct external ip..if the broadband connection reconnect again but with no pc connected to the router then the router still gives the wrong external ip address to the dvr untill one of my pc’s connect to the router and correct it…I can’t figur out what is happining and why the dvr nor my mobile phone shows the correct external ip address only my pc..is there any thing I can do inside my mikrotik router so it gives out the correct ip to all the devices connected to it??
thanks
First I would question what is updating the no-ip.com dynamic dns service. I would suppose that it is your PC… if this is the case then the reason that the PC fixes things is actually because it is updating no-ip.com. The solution in this case would be to get something that is always on to do the updating, either another PC or your router.
Second, your PPPoE connection may be dropping and changing the IP address more often then you are aware if they are disconnecting when there hasn’t been traffic for a given time.
Third, the easy solution would be to request a Static Public IP or if your ISP is really flexible you could even have them setup something a bit unconventional like port forwarding traffic from one of their routers to you over a static private IP… meaning if they had a router with the public IP of 22.33.44.55 they could port forward traffic on TCP 8081 to an IP on your router’s interface like 10.0.0.55. They would be doing special NAT for that traffic. This would only make since if they could not assign a static public IP due to inalienability or something. It is quite unconventional but it would accomplish getting you access to a DVR without assigning a static public IP to you.
Thanks for your response but in my case my ISP don’t assign static ip address for some reason..and i have the no-ip updater app on my mobile and also in my router neither one of them shows the correct one in no-ip website (they do change it after each connection but with false one) only when i open my pc and connect it to my router magically the external ip corrects itself again but with the correct one and everything goes fine… my request was if there is any kind of scripting in mikrotik routerboard itself that search for the real external ip and update’s itself ???