Transparent redirect to another interface ?

Chuck Swiger cswiger at mac.com
Thu Feb 22 18:51:35 UTC 2007


On Feb 22, 2007, at 3:55 AM, Frank Bonnet wrote:
> I have a new mailhub with two ethernet gigabit interfaces, and I  
> would like to
> transparently redirect IMAP or POP3 requests to the second  
> interface which
> have a different IP address, to let the first interface drive the  
> SMTP traffic only.
>
> Is it possible? This will avoid thousands of email clients re- 
> configuration to
> let users grab their incomming emails.

Configuring the two interfaces with two different IP addresses is no  
problem at all, presuming that these IP addresses reside in different  
subnets.  If both IPs reside in the same subnet, you are better off  
configuring the second IP as an alias on the first interface, and  
using the second NIC for some other purpose.

You can do other things, such as using ng_fec to perform "port  
trunking", or using IPFW or some other thing to manually force  
traffic out of the other interface, but it's unlikely to result in  
much benefit.

-- 
-Chuck



More information about the freebsd-questions mailing list