1

Configuring route to use the same interface for outbound traffic as that of inbound traffic

view story
linux-howto

http://serverfault.com – I have a Linux box with two interfaces: one for data and the other for management purpose. If both are on the same network, I have a route added for both interfaces. Imagine the routing table is: 192.168.132.0 255.255.255.0 eth0 192.168.132.0 255.255.255.0 eth1 ( management interface) The problem is that even if a connection is initiated to mgmt IP (eth1), return traffic will be on eth0. How can I ensure that return traffic on a connection uses the same interface as that of forwardeded traffic? (HowTos)