Sorry, I another problems want to ask. I already know what codes cause eth1's(xnetif_1) gateway be "255.255.0.0", that is a function reads ini file error, so it can reads a right gateway "192.168.191.254" after I write a correct function.
Next, I trace packet when I ping eth1(192.168.191.220), the packet send to "etharp_query(netif, dst_addr, q)" on etharp_output(), it returns "ERR_OK", but the packet already loss, I don't understand. ps: I set all devices and PC on the same subnet, and device_1 and device_2 are no problems after pinging them, so my two interfaces can work on the same subnet. -- View this message in context: http://lwip.100.n7.nabble.com/Lwip-with-two-ethernet-ports-tp24405p24456.html Sent from the lwip-users mailing list archive at Nabble.com. _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
