Varnish and multiple interfaces

Henry M. Umansky humansky at Princeton.EDU
Tue Oct 4 03:26:59 CEST 2011


Hello,
I'm running Varnish 2.1.5 on Red Hat Enterprise Linux Server release 6.1. Currently I have two interfaces: eth0 and an alias eth0:0. I need Varnish to bind to eth0:0, which it does perfectly, however, outgoing traffic is going through eth0. Is there anyway to tell Varnish to send outgoing traffic through the same IP address I tell varnish to "listen" to? I guess I can route the traffic accordingly via iptables, but I'd prefer to do it at the application layer if possible.

Any help would be much appreciated, varnish is an amazing product!!!

Henry Umansky
Web Development Services
Princeton University
humansky at princeton.edu
609-258-1674





More information about the varnish-misc mailing list