0

Runing arm64 Bullseye on Raspberry Pi3

The Use Case is:

  • Sky router running DHCP server.
  • All devices connected via WiFi to Sky router.
  • Successfully connected a Pi via WiFi to the router. Network all good. Next...
  • I want to be able to add an IP camera to the LAN port [eth0] and obtain IP addresses from the Sky router which is reachable via wlan0. The cam is PoE and cable only, no wifi. i have a PoE injector and lan cable from that to the pi.

I am not sure if this is even possible. Aside , any device on the network neefs to be able to communicate with the cam. it would be nice if i can get comms working the other way, from eth0 to internet via wlan0 but for now just one way would be a start.

when i connect the cam.to eth0 it gets a local link ip 164.x.y.z so something needs doing.

I dont know what the networking term is for this so id be keen to know but ive read about bridging, vlans and dhcpcd ... i can't say i know which is what and what to chose.

help!

I have tried two guides which didnt work and I had to reflash the SDcard twice. Kind of need some help please.

https://sureshjoshi.com/development/ras ... -ethernet- viewtopic.php?t=193770#:~:text=The%20wa ... 0bridge%22.

2 Answers2

1

You want to do a bridge between the WiFi and Ethernet and that's not feasible.

So you need to configure routing and masquerading between WiFi and Ethernet and I recommend that you add DHCP for easy IP administration on the Ethernet interface.

A recent guide that takes you through the steps could be this one:

https://pimylifeup.com/raspberry-pi-wifi-bridge/

MatsK
  • 2,882
  • 3
  • 17
  • 22
0

If you need the camera to obtain IP address from "Sky router" then only way is to turn RPi into a bridge. You need to create bridge interface and assign both Ethernet and Wi-Fi to it as slave interfaces. There is answer on unix&linux that should get you started.

Configuring bridge on debian (ifup)

Make sure that your Wi-Fi access point DOES NOT have AP/client/wireless isolation option turned on. This will prevent communication between Wi-Fi clients (other devices on Wi-Fi won't be able to talk to camera or even RPi).