There are two routers in the provider's local network. Routers see each other.
- IP address of router A : 10.173.236.10 (router model: Asus rtn-12d1)
Network address of router A : 192.168.1.1
IP address of router B : 10.173.239.17 (Tp-link manufacturer, I don’t remember the model).
IP address of router B network: 192.168.0.1
It is necessary that the computer from network A ( IP address, for example, 192.168.1.192 ) see the computer from network B ( for example, 192.168.0.19 ) as local, preferably without third-party software ( virtual adapters in the current context are not considered as such), and if with software, then Please explain the algorithm of its operation.
PS
Just let me ask you a personal question. Do you see clients of your own provider (as in this example)? If so, could you indicate the provider and the area in which you live. Well, a couple more sub-questions for experienced uncles;)
- How often does this feature occur (do all providers have clients visible to each other?).
Is it used by regular users / companies and again as often.
All this is needed to play Heroes 5 and the project, if you're curious.
UPDATED
You can check the availability of clients in the following way (hesitated for a long time, on the one hand, most likely, the person who gathered to answer the question I asked knows how to do this, on the other hand, it will not be superfluous, plus again somebody can fix / improve the algorithm):
- Go to the settings of the router, if there is none, then the settings of the network adapter.
- We copy the IP address of the main gateway.
We send ping request to the main gateway.
If he answered, then send ping requests to "neighboring" gateways. Here is an example of a loop for cmd: for / l% i in (1,1,254) do ping -n 1 <first and second octets of the gateway>.% I. <4 octets of the gateway (254)> This is more than enough to answer my question .
If he did not answer, then we send ping requests to clients, and not to the main gateway. Here is an example loop for cmd: for / l% i in (1,1,254) do ping -n 1 <First three octets>.% I.
Tracert between them:
- 192.168.1.1 [Router A] --->
- 178.173.25.33 [host-33.pool25] --->
- 192.168.2.107 [sr-2.107] --->
- 10.173.239.17 [external IP router B].