Talk:Setup Gateway Routing On Multiple Network Interfaces/@comment-33568359-20171105014602

Just a quick question: Can't this be avoided by just setting a gateway per interface? I'm fairly certain that by defining a route per interface/subinterface/subnet, the kernel will be smart enough to route the traffic back to the network it came from. I could be wrong, and if so, it would be nice to know that. I have, in the past, built big data clusters (Debian/Ubuntu based systems) with multiple NICs and avoided all of this by just adding a gateway statement to each interface. It seemed to have no issues routing the traffic to it's respective int/subint/subnet. If I'm incorrect, please let me know. Thanks in advance!