I have a cluster of 3 CM4 modules connected via Ethernet (Turing Pi 2 board), all are running 64bit Raspberry Pi OS (Bullseye)

One of the CM4 has wifi (calling it host), the others don't (calling them clients). I'm sharing the connection from the Pi with WiFi to the rest of the cluster, with the following setup:

On the host:


interface eth0
static ip_address=

wlan0 is configured too, with a static IP






iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE

[...] means there is more in the config file but I've left the default.

I can access the clients from the host CM4, the clients are able to connect to the outside network, and the clients have a 192.168.4.xxx IP on eth0. Now I would like to be able to access the clients CM4 from the rest of my local network and not just from the host CM4, how can I manage that ?

  • Is the "host" wlan0 address static (or reserved IP in DHCP) and does your router allow you to add static routes? i.e. you could add a route for via the wlan0 ip address Apr 24 at 3:45
  • the "host" wlan8 has a static ip, but not sure how I could add a route for
    – pmriolacci
    Apr 29 at 15:20
  • that's why I asked "does your router allow you to add static routes" - only you know your router Apr 30 at 3:23


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.