OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: 2 interfaces

From: mouss (moussnetoyen.net)
Date: Wed Feb 13 2008 - 04:39:39 CST


Greg wrote:
> Hi, I have a rather old copy of postfix (2.2.3) running on a machine
> with 2 network cards in it, and using 2 default gateways, with iproute2
> how would one make sure all the mail goes out, via. only one of these.
>

routing and interface selection is done by the tcp/ip stack. so check
how to do this with iproute2.