Not sure what solution to use

Howdy,

I’ve been asked by the landlord of a multi-tenant building to come up with a way to reconfigure their internet connection.

Right now, they have 6 IP addresses. One is in the 12.118.xx.xx range and the other 5 are 12.97.xx.xx

Everything is currently using the 12.118.xx.xx address as the externally-facing connection.

I would like to use the small Mikrotik 5-port router to add the other addresses for tenants to use as their externally facing addresses.

Would it be possible for me to turn on a VLAN for each of the ports on the Mikrotik, and then just have them route through the 12.118.xx.xx address?

Any suggestions would be appreciated.

Difficult to provide more specific instructions due to the scarce information, but:

Assuming there’s one router with one WAN connection which routes 6 public IP addresses, in order to masquerade outgoing Internet connections you only need:

  • Have all the IPs assigned on the router. I assume the 12.118.xx.xx one is the one the ISP hands over for your connection (Static, DHCP or PPPoE?) You can create an empty bridge and assign the 5 12.97.xx.xx IPs on it.

  • Create src-nat rules so that different src-address LAN ranges (guess each building uses its own) are src-nat’ed as an specific 12.97.xx.xx IP as to-addresses for each.