I have read it is possible to have the Pi to act as a gateway computer in a LAN or mixed WLAN/LAN. 39227/rpi-as-internet-gateway-bridge
It is not clear to me how the info on what is the intended gateway should be configured in the DHCP. In my case the DHCP should be on the wireless router, because I want it to be a hub for all my devices and have the Pi to just provided connection (as a modem would do, if you wish). This seems to be the same as in the link above, but it is not clear to me how a new host, say my mobile phone, should get the info on what to use as a gateway. I would have said I have to put this info in the wireless router config, but I do not see any mention of that in that tutorial (nor I see such a setting in my wireless router!)
This seems particularly important to me when mobile phones or other devices with little space for custom configurations are to be attached to the wireless router. I mean, for a regular computer I can still harness the TCP/IP settings and have it to use the gateway I want, but with mobiles I see no option than the gateway info being passed by the DHCP. What am I missing?
What makes my Pi be recognised as a gateway by the devices attached to the router in the tutorial linked above?