bridge ethernet and wifi but with IP
Posted: Tue Jul 04, 2023 3:16 pm
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.
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.