Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users
[lvs-users] Setting the LVS for the web service in local node
 

Index | Next | Previous | View Flat


satishhargunani at gmail

Apr 7, 2008, 5:17 AM


Views: 367
Permalink
[lvs-users] Setting the LVS for the web service in local node

Hello,

I want to setup the LVS in the local node for Web Service .

i'am in the lan segment of 192.168.0.0/24.

The LVS Box has the ipaddress 192.168.0.84.
THE Virtual Service ip is 192.168.0.85

The web server is listening in ipadress 127.0.0.1:80 and 127.0.0.2:80 .

so i want to redirect the traffic .

I have created virtual interface

eth0:0 Link encap:Ethernet HWaddr 00:0C:29:95:DB:92
inet addr:192.168.0.85 Bcast:192.168.0.85 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0x1080

route add -host 192.168.0.85 dev eth0:0

i have created the following service

ipvsadm -A -t 192.168.0.85:80 -s wlc
ipvsadm -a -t 192.168.0.85:80 -r 127.0.0.1
ipvsadm -a -t 192.168.0.85:80 -r 127.0.0.2


for testing from the client 192.168.0.25 when i give this command it give


C:\>telnet 192.168.0.85 80
Connecting To 192.168.0.85...Could not open a connection to host on port 80
: Connect failed

And through this command in linux box i get this output

ipvsadm -lnc
Fri Apr 4 07:37:38 2008

IPVS connection entries
pro expire state source virtual destination
TCP 00:57 SYN_RECV 192.168.0.25:3036 192.168.0.85:80
192.168.0.240:80


what wrong settings i'am doing pls correct me ??





--
View this message in context: http://www.nabble.com/Setting-the-LVS-for-the--web-service-in-local-node-tp16537275p16537275.html
Sent from the LVS mailing list archive at Nabble.com.


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Subject User Time
[lvs-users] Setting the LVS for the web service in local node satishhargunani at gmail Apr 7, 2008, 5:17 AM
    Re: [lvs-users] Setting the LVS for the web service in local node jmack at wm7d Apr 7, 2008, 7:56 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.