Answer the question
In order to leave comments, you need to log in
How to route local and internet traffic to different gateways?
Hello! Help me to understand. The situation is this:
There is office 1 with mikrotik rb1100AHx2 ip 192.168.0.1 and office 2 with mikrotik rb2011iL ip 192.168.0.13 between them an EoIP tunnel has been raised.
Office 1 has a dc1 domain controller with a DHCP server that distributes the 192.168.0.0/22 network with the 192.168.0.1 gateway to both offices.
How to make office 2 employees go to the Internet through 192.168.0.13, and office 2 local traffic
goes through the tunnel?
Answer the question
In order to leave comments, you need to log in
First you need to define this "local traffic" and then wrap it through the tunnel a def. wrap the route through the interface looking at the provider, well, change the dhcp subnet so that it does not intersect with the tunnel
Raise the second DHCP at the second office, distribute addresses on it from the same subnet, make non-overlapping ranges on both DHCPs. Let the second DHCP also issue another gateway for its clients.
Because the second DHCP is closer to its clients, then it will be the first to respond to their requests. Although, of course, there is a chance that the first one will answer.
You can block the passage of DHCP traffic to the remote network on Mikrotiks in the firewall, then there will definitely not be any confusion. On the other hand, you can consider another office's DHCP as a backup.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question