A
A
Anon1122019-04-25 15:43:34
Computer networks
Anon112, 2019-04-25 15:43:34

How to determine ip by mac address OR how to find your PC on the internet when changing ip?

Hello bandits
. The task is to find a server (to find out ip) which will be transported to another city.
Given: a windows server with a poppy address and a static ip
Purpose: to determine the new assigned ip at the new workplace, and even if it is dynamic (which is strange for the server), also know about it.
ps
programs like teamviewer and ammy-admin to connect remotely and register ipconfig in cmd are not suitable.
viruses a la njRAT too.
Are there any scripts that will help you find a server on the Internet at the mac address (such as the idea of ​​Google's APIs, which, as I understand it, was abandoned)?
spoiler
рубрика паранойя: Хотя я думаю его аналог прекрасно внедрен в дырявый ШИНДОУС и наверняка зная mac и имея нужные знания, можно получить ответ об адресе от любой машины
Or scripts that will report a new ip address to a given PC at a certain interval?

And a bit of heavy fiction: is it possible to implement this script, the program at the hardware level. So that even after reinstalling the OS (say from windows to windows) the script would work smoothly.?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Satisfied IT, 2019-04-25
@Anon112

Or scripts that will report a new ip address to a given PC at a certain interval?

Dynamic dns services like https://www.noip.com/ install software that works as a service, enter your account by registering on this service and the software binds the server ip to a domain name like blablabla.no-ip.info periodically checking whether it has changed address and updating it if necessary.

A
Anon112, 2019-04-26
@Anon112

But thanks for the reminder about the ARP protocol. While reading, I came across the Bootstrap Protocol.
This is just what I need. Honestly, I didn't know about it. So the conspiracy nonsense turned out to be quite a common protocol developed by grandfathers who faced the same problem.
Good to you, "atets" sis-admins.

Z
zersh, 2019-05-09
@zersh

It's not entirely clear what does arp and external ip have to do with it.
Having passed the chain of provider routers, it will not be relevant.
If you need to determine the current external ip: you can pull https://ping.eu or an analogue through the batch file, the response will be external ip.
Using the same script to send a letter through a free mail service. There you can also add the exhaust of the same ipconfig. If you need an internal ip.
Launch add through the task scheduler after turning on the server with a timeout (so that the network has time to initialize) in 10 minutes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question