Mikrotik CSR 125 - How to route all LAN traffic to a specific IP address.

Morning all,

Could someone be so kind and tell me how I would route all LAN traffic through a specific IP address please.

Would this be done through the firewall, DNS or something else?

Your assistance would be much appreciated.

Regards
Andy

Not sure what you mean?
Do you mean you have two WANIPs but you want traffic to go through only one of hte WANIPs?

I am wanting to know how I can route all LAN traffic through a single public IP address so it can access the internet.

I have configured my internal network space to 10.x.x.x /24.

I would like all LAN traffic to be assigned an IP in the range of 144.240.244.171/28 for example.

You need to setup your router to use NAT.
If you want to use one “external” ip in whole private network you need to use NAT

Try to look here
https://wiki.mikrotik.com/wiki/NAT_Tutorial

Still confusing, he/she is asking to use the router like every router is already configured. Where is the catch?
Just to be clear you cannot choose what your public IP will be. The ISP has to follow rules for public IPs on the internet.
The main difference in public IPs is whether its a fixed IP address or dynamic (changes from time to time by the ISP provider).

In terms of the private IP structure behind the router (your LANS), you can pretty much have any IP structure you desire.
As noted when applying NAT rules (the default in any consumer router and in the default setup provided my mikrotik) the router will ensure
that all IPs coming from the LAN are mapped to your public IP and that is the IP the rest of the world will see.

In your case the only change possibly you would need to make is change the default IP address on the mikrotik from 192.168.88.1-.254
to whateveryou want in this case it appears a /28 subnet? (255.255.255.240) which means 14 useable private IPs…

144.240.244.171/28 which would equate to an IP Pool of 144.240.244.172-144.240.244.17.174 ???

Not quite sure if accurate but it should be close. Of course besides ip pool you would need to change DHCP server, and DHCP network and IP address.
The question i have what is the requirement that you need such as strange private IP structure???