Answer the question
In order to leave comments, you need to log in
How to bind two IP addresses to one interface on Mikrotik?
There is the following data: the provider provides the IP address 217.xxx.xxx.xxx/27. Later, an application for new IP addresses was requested, and in addition to this, the IP address 109.xxx.xxx.xxx/27 was added. And the interesting thing is that the first address (217) traffic is not tagged by VLAN, and the second address (109) traffic is tagged by VLAN 222. And I had a problem configuring all this on Mikrotik CRS125-24G-1S. The firmware on it is 6.43.8 (latest), and I did the following: I created the vlan222 interface and specified the 222 tag in the Interfaces menu. Bind the address 109 to the vlan222 interface. Added a default route through the gateway for address 109, but with a distance of 2. And in general, traffic goes through 217 address, but 109 address is not visible from the external network, and if you turn off the route through 217 address, then address 109 starts to be seen from the outside , and tagged traffic quietly goes through it.
Why 2 addresses? It is necessary that from one domain (at address 217) on port 80 there should be forwarding to one internal web server, and from the second domain (at address 109) on the same port there should be forwarding to the second internal web server.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question