Answer the question
In order to leave comments, you need to log in
How to configure Mikrotik so that it automatically picks up the route to a remote network?
The situation is as follows: there is a Windows 10 computer connected to Mikrotik hAP Lite (RB941-2nD), RouterOS v6.45.8
Internet connection via PPPoE.
Windows successfully establishes an L2TP connection to the corporate network, receives routes and DNS suffixes via DHCP. Thus, when I write on the command line , the ping gitlab.{company}.app
computer successfully resolves the hostname to an address like 10.10.10.50 and establishes a connection with it. From the output tracert
, I clearly see that the packets go to the corporate network and to the Internet along different routes (that is, the VPN in the corporate network is not the default gateway)
I want the same thing to happen on Mikrotik. That is, so that the router (and not the computer) raises the L2TP connection and resolves the traffic - this one to the Internet (that is, to the PPPoE interface), and this one to the corporate network (that is, to L2TP).
I found how to set up L2TP, the connection is established. But how to make Mikrotik pick up routes to the corporate network and DNS from there just like Windows - I can’t figure it out yet. Can you please tell me the best way to do this?
Answer the question
In order to leave comments, you need to log in
With the help of Drno, the problem was solved as follows:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question