Can I configure my RouterOS AP to provide internet access (from wifi) to devices connected to its LAN ports

My setup is as follow:

  • Modem from ISP is connected to a “primary wifi AP” (AP-A) through its WAN port
  • AP-A serves wifi to assorted client devices in my house
  • I would like “secondary wifi AP” (AP-B) (which is a MikroTik hAP ac²) to join AP-A’s network as a wifi client and provide internet access to devices plugged into its LAN ports

I do know that it is possible to have AP-B join AP-A’s network as a wifi client. I achieved this in the RouterOS console by providing the password for AP-A’s network in the Wireless -> Security Profiles menu and then scanning for the network on the main Wireless menu and joining it. I verified it had joined the network by seeing its MAC address on AP-A’s client list.

However this is where I got stuck. I do not know what to do next. How can I “connect” the internet access that should be available from AP-B being a client on AP-A’s wifi network to devices plugged into LAN ports of AP-B?

Some ideas which have come to mind:

  1. AP-B could create its own network for clients plugged into its LAN ports. I can do this but I don’t know how to “share” the internet connection with that network.
  2. AP-B could somehow let clients plugged into its LAN ports join the same network as AP-A. I don’t know how to do this since AP-A is the one running the DHCP server for that network.

While I wouldn’t turn down a “spoon-fed” solution I would prefer to understand the different options and “learn how to fish for myself”. Currently I am at a loss trying to grasp (a) what solutions are viable (b) what “networking entities” those solutions need (c) how to set those up properly.