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

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


satishhargunani at gmail

Apr 7, 2008, 5:17 AM

Post #1 of 2 (607 views)
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
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


jmack at wm7d

Apr 7, 2008, 7:56 AM

Post #2 of 2 (567 views)
Permalink
Re: [lvs-users] Setting the LVS for the web service in local node [In reply to]

On Mon, 7 Apr 2008, satishh wrote:

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

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.localnode.html

read the intro

Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

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

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.