[lvs-users] apache is not listening on real-ip and add ip alias on lo.

Michael Moody michael at gsc.cc
Thu Oct 30 16:04:37 GMT 2008


Alternative to the suggestion below (where it listens to all IP's), in case it's ssl, and you don't want it to listen to all, you can create separate virtualhost entries for the VIP and RIP with identical configs, and it will work just fine (I've tested this with multiple ssl's on one server)

Michael S. Moody
Sr. Systems Engineer
Global Systems Consulting

-----Original Message-----
From: jackbillow [mailto:jackbillow at gmail.com]
Sent: Wednesday, October 29, 2008 8:24 PM
To: lvs-users at linuxvirtualserver.org
Subject: [lvs-users] apache is not listening on real-ip and add ip alias on lo.

hi Sebastien Termeau
apache is not listening on real-ip. you can try it.

you can make apache is listening all ip,like this:

 tcp        0      0 0.0.0.0:80 <http://192.168.1.149/>            0.0.0.0:*
LISTEN      4502/httpd

and add ip alias on lo, as follow:

lo:0    Link encap:Ethernet
         inet addr:192.168.1.61  Bcast:192.168.1.255  Mask:255.255.255.0


if you do below two thing, it will work fine.





More information about the lvs-users mailing list