In response to the remark: "Simon is right: routing doesn't have anything to do with the source address and it shouldn't have to"
I think Simon is not right (no pun intended). I am not entirely familiar with the ideas behind LwIP. But sourcebased routing is very much in line with rfc1122 (ip for hosts). I quote: > Under the Strong ES model, the route computation for an outgoing datagram > is the mapping: > > route(src IP addr, dest IP addr, TOS) -> gateway > > Here the source address is included as a parameter in order to select a > gateway that is directly reachable on the corresponding physical > interface. Note that this model logically requires that in general there > be at least one default gateway, and preferably multiple defaults, for > each IP source address. We are facing a similar challenge with our project and we need a similar mechanism. Is the adaptation of the ip_route available somewhere in the community? Regards, Erik van Veelen -- View this message in context: http://lwip.100.n7.nabble.com/Sending-to-a-non-local-network-without-default-netif-set-tp22981p23521.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
