LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

AW: Port Mapping

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: AW: Port Mapping
From: Harald Sammer <H.Sammer@xxxxxxxxx>
Date: Mon, 3 Mar 2003 15:40:03 +0100
The output after one try is:

IP Virtual Server version 1.0.6 (size=4096)
Prot    LocalAddress:Port                       Scheduler       Flags
->      Remote Address:Port     Forward Weight  ActiveConn      InActConn
TCP     <official IP address>:5000      rr              persistent 30
->      192.168.0.1:5000                Local           1               0
1                       

Harald Sammer

-----------------------------------
Harald Sammer
Logics Software GmbH
Schwanthalerstrasse 9-11
D-80336 Muenchen
Tel: +49 / 89 / 55 24 04 - 0
Fax: +49 / 89 / 55 24 04 - 44
mailto: h.sammer@xxxxxxxxx
http://www.logics.de
-----------------------------------





-----Ursprüngliche Nachricht-----
Von: Horms [mailto:horms@xxxxxxxxxxxx]
Gesendet: Montag, 3. März 2003 07:19
An: LinuxVirtualServer.org users mailing list.
Betreff: Re: Port Mapping


On Fri, Feb 28, 2003 at 06:00:57PM +0100, Harald Sammer wrote:
> High,
> 
> Now I have two NICs in my director PC.
> The first one (with an offical IP address) is used to communicate with
other
> PCs.
> The second one (with e.g. 192.168.0.1) is used for heartbeat with the
backup
> director.
> If I run an application on the IP address 192.168.0.1, it is not possible
to
> contact it using ipvsadm:
> ipvsadm -A -t <official IP address>:5000 -s rr -p 30
> ipvsadm -a -t <official IP address>:5000 -r 192.168.0.1:5000 -m
> If I go directly to the application without ipvsadm it works, so the
routing
> seems to be ok.

What is the output of ipvsadm -Ln after these commands?

-- 
Horms
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>