1

I would like to have the following setup. Please note that I'm a beginner therefore "Bridge" is in quotes.

                  WiFi                       LAN
192.168.1.0/24 <~.~.~.~> (wlan0) RPi (eth0) ----- device (192.168.1.15)

Firewall 192.168.1.10
DNS&DHCP 192.168.1.1                       

I'm using RPi 3B with Debian Stretch. The device is some device that is not able to connect to WiFi and has the static ip.
Connecting my notebook to the network should allow me to access the web interface of the device. I've already searched the web for days - with zero success.

Thanks for any help.

statho
  • 13
  • 1
  • 3

1 Answers1

1

As far as I understand you have a router running on subnet 192.168.1.0/24. This router also works as access point for that subnet. The RasPi is connected as client to the access point.

In this case it is not possible to bridge wlan0 and eth0 on the RasPi. To bridge a WiFi client connection it must be supported by the WiFi device with WDS (Wirless Distribution Service) and 4addr. The WiFi on-board chip of the RasPi doesn't support it. For details you can look at Raspberry Pi WiFi to Ethernet Bridge for a server?.

I see three possibilities:

  1. Purchase an USB/WiFi dongle that supports WDS. Then you can make a real bridge.
  2. If you only want to connect to the web server on the device, you can use routing with port forwarding. An example of this setup for a printer you can find at Share Ethernet printer on Wi-Fi.
  3. You can use a pseudo bridge with proxy arp. For an example of this setup you can look at Workaround for a wifi bridge on a Raspberry Pi with proxy arp.
Ingo
  • 42,961
  • 20
  • 87
  • 207