Answer the question
In order to leave comments, you need to log in
How can I assign an external IP address to one of the local ones?
Good evening. Please, tell the inexperienced how to make packets outgoing from a certain local network go through a certain external IP address?
I have three external ip addresses: 1.1.1.156, 1.1.1.157 and 1.1.1.158, as well as local ones: 10.0.10.0/24, 10.0.20.0/24 and 10.0.30.0/24. Here's how to do it through NAT or Routes, or somehow, so that, for example, 10.0.30.0/24 goes to the Internet under 1.1.1.158?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Here is the answer to my question:
https://forum.mikrotik.com/viewtopic.php?f=13&t=158677
Mikrotik, 3 providers, switching and splitting
Mikrotik 7 providers into 7 Vlan?
How to set up 2 providers, 2 subnets and 1 on all network printers on mikrotik?
Mikrotik Dual WAN without default route?
/ip firewall nat
add action=src-nat chain=srcnat src-address=10.0.10.0/24 to-addresses=1.1.1.156 out-interface=your_interface
add action=src-nat chain=srcnat src-address=10.0.20.0 /24 to-addresses=1.1.1.157 out-interface=your_interface
add action=src-nat chain=srcnat src-address=10.0.30.0/24 to-addresses=1.1.1.158 out-interface=your_interface
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question