S
S
Sekii2019-08-02 11:55:12
Mikrotik
Sekii, 2019-08-02 11:55:12

Mikrotik. How to set up routing between subnets?

Good afternoon.
There are switches in the network with mikrotik (d-link and cisco). They sometimes reset their IP to the factory one (for example - 10.90.90.90).
I would like not to go with a laptop and connect directly to the switch in order to reconfigure its IP, but to do it remotely.
Mikrotik's main subnet is 192.168.10.0/24. I also add the network 10.90.90.90 255.0.0.0 to the adress list for the interface where 192.168.10.0/24 is, I add the route to 10.90.90.90, but I still can’t access the switch at 10.90.90.90.
Tell me what I'm doing wrong?
Thank you.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Alexey Golobokov, 2019-08-05
@Sekii

This happens to me too often with D-Links.
I add an address, for example, 10.90.90.99, to the interface of a Mikrotik that looks towards D-Link. Then I go to this Mikrotik
via ssh with port forwarding :

A
Alexey, 2019-08-02
@Protosuv

Everything is strange in this situation, but iron is iron...
The very idea of ​​​​remote reconfiguration is certainly correct, but I know from my own experience that, alas, there are cases when a physical presence is required (or the presence of an assistant who can do some manipulations over the phone).
Prescribing a route in this situation on mikrotik does not save the situation, because the device on which the IP actually flew off does not know anything about the gateway, which in your case is this mikrotik. Therefore, there is a route to 10.90.90.90, but in fact there is nothing in the return line, because all packets will go to this subnet but will not fall into the 192.168.10.0/24 subnet. ((
Thus, one more IP address of the same subnet (i.e. 10.90.90.95 for example) needs to be hung on the interface looking towards these switches. In this case, the devices will see each other because they are already on the same subnet.
Well, in general, of course, you need to understand the reasons for the loss of the correct IP addresses by the interfaces ...

S
Sergey, 2019-08-02
@SStep

dlink does not have a gateway by default, so I doubt if you can see it from another subnet.
Offtopic, but the settings should not be reset, or you forget to save or iron problems and you need to solve them. I won’t tell you about the cisco, but there is a tool for the link - https://chrome.google.com/webstore/detail/d-link-n... which can be run on a computer in the same subnet where the link is (for example, via rdp) and change ip

2
20ivs, 2019-08-02
@20ivs

no need to add anything. the thing is that after the configuration, after the configuration, this very configuration must also be saved.
and after that the settings will not be lost after reboot.
in ciscos, after the configuration, you forget to do the same:
do wr

P
poisons, 2019-08-02
@poisons

My friend, what is the address of the sheet that you are carrying. It is enough to add 10.90.90.1/24 to the interface that looks towards the switch. The route will be automatically added.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question