title: Redirect all traffic internal ip to interface
body: <p>I have a 3 docker containers with postfix service. My box have 4 ips (eth0, eth0:1, eth0:2, eth0:3)</p>
  
  <p><strong>My container info:</strong></p>
  
  <p>docker run -h mailserverX.DOMAIN.tdl -d -p IPfromEth0:1:80:80 debian:8 /bin/sh -c "while true; do echo hello world; sleep 1; done"</p>
  
  <hr>
  
  <p><strong>I want redirect traffic like below:</strong></p>
  
  <p>Send emails through eth0:1 instead of eth0 for container A with ip 172.17.0.2</p>
  
  <p>Send emails through eth0:2 instead of eth0 for container B with ip 172.17.0.3</p>
  
  <p>Send emails through eth0:3 instead of eth0 for container C with ip 172.17.0.4</p>
  
  <p>It's possible?</p>
  
  <p>Thanks in advance</p>