Hi
The code is the mesh-local-control example based on IOT-Bridge project
If my comprehension is correct, this example set-up a DHCP server on all wifi-mesh lite node,
To give IP for the mesh childs.
So all nodes have his own IP with gateway + DNS.
To share the Internet connection of the node to the ...
Search found 4 matches
- Thu Aug 28, 2025 10:26 am
- Forum: ESP-IDF
- Topic: Bridging Ethernet for Nodes with ESP-MESH-LITE
- Replies: 5
- Views: 443
- Tue Aug 26, 2025 7:54 am
- Forum: ESP-IDF
- Topic: Bridging Ethernet for Nodes with ESP-MESH-LITE
- Replies: 5
- Views: 443
Re: Bridging Ethernet for Nodes with ESP-MESH-LITE
Hi,
Finally it work, with a L3 bridge
All nodes have IP addresses in the mesh network,
We enabled CONFIG_BRIDGE_DATA_FORWARDING_NETIF_ETHERNET,
And called :
ip_napt_enable(ip_info.ip.addr, 1);
or
esp_bridge_create_all_netif();
By calling esp_bridge_create_all_netif , DNS also are initialized ...
Finally it work, with a L3 bridge
All nodes have IP addresses in the mesh network,
We enabled CONFIG_BRIDGE_DATA_FORWARDING_NETIF_ETHERNET,
And called :
ip_napt_enable(ip_info.ip.addr, 1);
or
esp_bridge_create_all_netif();
By calling esp_bridge_create_all_netif , DNS also are initialized ...
- Mon Aug 25, 2025 2:53 pm
- Forum: ESP-IDF
- Topic: Bridging Ethernet for Nodes with ESP-MESH-LITE
- Replies: 5
- Views: 443
Re: Bridging Ethernet for Nodes with ESP-MESH-LITE
Hi,
Thanks for the reply.
The RPI is connected to the leaf node with Ethernet.
As the leaf node can reach Internet, we think it is possible to share the Internet connection to the RPI,
With a bridge L2 or L3.
ESP32
+-----------+ +-----------+
| |<--HTTP packets-->|HTTP client|
| | | root | ESP32 ...
Thanks for the reply.
The RPI is connected to the leaf node with Ethernet.
As the leaf node can reach Internet, we think it is possible to share the Internet connection to the RPI,
With a bridge L2 or L3.
ESP32
+-----------+ +-----------+
| |<--HTTP packets-->|HTTP client|
| | | root | ESP32 ...
- Fri Aug 22, 2025 2:26 pm
- Forum: ESP-IDF
- Topic: Bridging Ethernet for Nodes with ESP-MESH-LITE
- Replies: 5
- Views: 443
Bridging Ethernet for Nodes with ESP-MESH-LITE
Hello,
We use some ESP32 devices with esp-mesh-lite library, the root is connected to a WIFI Access Point.
https://github.com/espressif/esp-mesh-lite
Following the examples (rainmaker, mesh_local_control), the root and the nodes can access to Internet, throught the NAPT of the mesh library.
https ...
We use some ESP32 devices with esp-mesh-lite library, the root is connected to a WIFI Access Point.
https://github.com/espressif/esp-mesh-lite
Following the examples (rainmaker, mesh_local_control), the root and the nodes can access to Internet, throught the NAPT of the mesh library.
https ...