Page 1 of 1

bridge ethernet and wifi but with IP

Posted: Tue Jul 04, 2023 3:16 pm
by Gustav_1997
Hi,

I am trying to bridge my ethernet and WIFI interfaces on my esp32 but still have an IP assigned to it. This is because I want to be able to update my ESP32 with an OTA function. But I require the bridging for my application.

Firstly I would like to know if this is possible (to have both a bridge as well as an static IP on either interface for internet connection with OTA functionality)?

further, I used the eth2ap example to bridge my ethernet and WIFI interface and tried to assign it a static IP, but when I successfully assign it an IP, it no longer bridges the interfaces.

I made some modifications to the example to add the static IP. I will upload the .c file here. Any advice would be highly appreciated.

Re: bridge ethernet and wifi but with IP

Posted: Wed Jul 12, 2023 8:41 am
by ESP_ondrej
Try this one https://github.com/espressif/esp-idf/tr ... ork/bridge. I merged the update to support WiFi just yesterday so please wait few days to be synchronized to GitHub. Here you could find more info and work in progress version: https://github.com/espressif/esp-idf/issues/5697