I'm looking for a way to configure a Linux single-board computer as both a bridge and yet still be accessible with its own IP address. Here's a rough sketch. wlan0 and eth0 are the names of the network ports on the SBC.
Wifi Router <==== [wlan0]=> Linux SBC (static IP 192.168.2.5) <=[eth0] ====> Ethernet Device (static IP 192.168.10.6)
^
|
|
|<===> Laptop (192.168.2.100)
The "Ethernet Device" might be something like an oscilloscope or an IP camera. It has a static IPv4 address and port number. The laptop needs to be able to see it using this address. Further, this device needs to talk to devices that are connected to the wifi router. And the Linux SBC need to be able to talk to this device as well, say to capture and store data & configure the ethernet device.
The Linux SBC also has a static IPv4 address and needs to be able to talk to devices connect to the wifi router.
The Laptop needs to be able to talk to the Linux SBC since this computer is doing other things like running analog-to-digital measurements.
So this is sort of a bridge but from what I've tried, using bridge-utils keeps wlan0 from being used independently.
I tried an iptables solution and the Ethernet Device can ping out but the laptop can't ping it. I used this method:
http://www.glennklockwood.com/sa/rpi-wifi-bridge.php
So, is this doable? Is there something in my configuration that's set incorrectly?