Thank you Miguel, I understand now :) On 12/27/2014 02:05 AM, Miguel Bernabé wrote: > > When my server is interrogated at 10.108.240.164, it needs to send the > > reply to 10.108.0.111. > > > > So here is my config : > > > > root@lb04-1:~# ip rule list > > 0: from all lookup local > > 32758: from 10.108.240.164 lookup table_eth1 > > If your server does not use the bind call to bind the socket to the IP address 10.108.240.164 then the rule above will not match the packet. This is, if your server does not bind the socket to a given IP address, the source IP address of the packet for the IP header will be |INADDR_ANY and the kernel will fill it at the time the route is choosen using the route table regarding the destination IP address so this source IP address will be the address of the device that match the route. | > > > Miguel Ángel Bernabé -- To unsubscribe from this list: send the line "unsubscribe lartc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html