Page 1 of 1

Reply UDP packets in the source interface

Posted: Wed Dec 27, 2017 1:17 pm
by copercini
Hi!

I'm working with ethernet+Wifi and for example: Ethernet interface gets the IP 192.168.0.20 and WiFi gets 192.168.0.45 on the same network. That's fine, the only problem is when UDP packets are received from wifi (192.168.0.45) and replied via Ethernet (192.168.0.20).

In a nutshell: my PC broadcast a UDP packed and it's got 2 replies from Ethernet (192.168.0.20) and nothing from wifi (192.168.0.45). There is some configuration in lwip or ESP32 for reply these UDP packets to a source interface?

Re: Reply UDP packets in the source interface

Posted: Wed Dec 27, 2017 3:19 pm
by martinayotte
With any kind of hardware, even with PCs, it is not good to have 2 interfaces on the same subnet, because there are default gateways conflicts.