I’m using i.MX RT1064 with lwIP (NXP SDK) and trying to use both ENET1 and ENET2.
ENET2 works fine when initialized alone (IP assigned, ping replies).
When both ENET1 and ENET2 are initialized, both links come up and get IPs via DHCP, but only ENET1 replies to ping.
Calling netif_set_default(&enet2_netif) does not make ENET2 respond.
Hardware, PHY, clocks, and MAC addresses are correct (ENET2 works standalone).
Question:
Does the NXP lwIP ethernetif / ENET driver assume a single netif internally?
Are RX/IRQ handlers or ethernetif_input() tied to ENET1 by default, and what is required to properly support dual ENET MACs?