I'm curious whether it is possible to use the Pi in the following configuration:
╔══════════╗ ╔══════════╗
║ internet ║ ║ device 1 ║
╚═════╤════╝ ╚═════╤════╝
│ ╔══════╧══════╗ ░░░░░░░░░░░░░░ ╔══════════╗
└────────────╢ wifi/router ║ ░░░░ wifi ░░░░ ║ device 2 ║
cable ╚═════════════╝ ░░░░░░░░░░░░░░ ╚══════════╝
░░░░░░
░░░░░░ . . .
░wifi░
░░░░░░ Here is no
░sig-░ cable possible!
░nal ░
░░░░░░
░░░░░░
cable ╔═════════════╗
┌────────────╢ raspberrypi ║
│ ╚═════════════╝
│ Following devices are out of range
╔═╧═╗ of the wifi signal:
║ S ║ ╔══════════╗
║ w ╟─────╢ device 5 ║
║ i ║ ╚══════════╝
║ t ║ ╔══════════╗
║ c ╟─────╢ device 4 ║
║ h ║ ╚══════════╝
╚═══╝
I need not only internet connection for device 5 and device 4, but also I must be able to log in to device 5 and device 4 using ssh from device 1 or device 2. Is there any possible solution using a raspberry pi? Where the pi is still able to be logged in and just forwarding the network traffic.
If it is not possible to use the pi in this configuration while still be able to ssh in to the pi, is there a possibility to use the pi like a "invisible bridge/switch" then?
I'm trying to accomplish something like this:
router 192.168. 1. 1 (the one and only dhcp, gateway to the internet)
device 1 192.168. 1. 2
device 2 192.168. 1. 3
raspberrypi 192.168. 1. 4 ?
device 4 192.168. 1. 5
device 5 192.168. 1. 6
I found things like this post, but I wonder, why the Pi should act as a DHCP. Is there a way that the wifi/router is the only DHCP there?