LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Connexion Pb - LVS NAT

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Connexion Pb - LVS NAT
From: Matthieu MARC <marc.mathieu@xxxxxxxxxxx>
Date: Tue, 20 Mar 2001 14:04:05 +0100
Joseph Mack a écrit :

> Matthieu MARC wrote:
> >
> > I just setting up an LVS cluster with 2 web server (192.168.0.1 &
> > 192.168.0.2). My LVS server is 192.168.0.254 on eth0 and 10.11.1.67 on
> > eth0:1.
> >
> > I configure the LVS server with ls_nat.conf, and ./configure ls_nat.conf
> > to have the rc.lvs_nat. When I start rc.lvs_nat all is ok. ipvsadm give
> > the right table.
>
> setup with telnet first, it's simpler to debug.
> can you send the output of ipvsadm for the director
> and netstat -rn for both real-servers.
>
> What is "Pb"?
>
> Joe
> --
> Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
> contractor to the National Environmental Supercomputer Center,
> mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
>
> _______________________________________________
> 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

oups 'pb' is for problem. A french shortcut :-)

##### LVS SERVER #####

IP Virtual Server version 0.9.7 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port          Forward Weight ActiveConn InActConn
TCP  lvs:www rr
  -> ha2:www                     Masq    1      0          0
  -> ha1:www                     Masq    1      0          0


-----------------


eth0      Lien encap:Ethernet  HWaddr 00:01:03:11:EF:27
          inet adr:192.168.0.2  Bcast:192.168.0.255  Masque:255.255.255.0

eth0:1    Lien encap:Ethernet  HWaddr 00:01:03:11:EF:27
          inet adr:10.11.1.67  Bcast:10.255.255.255  Masque:255.255.255.0

------------

Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic   MSS Fenêtre irtt
Iface
10.11.1.67      0.0.0.0         255.255.255.255 UH        0 0          0 eth0

192.168.0.2     0.0.0.0         255.255.255.255 UH        0 0          0 eth0

192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0

10.11.1.0       0.0.0.0         255.255.255.0   U         0 0          0 eth0

127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         10.11.1.67      0.0.0.0         UG        0 0          0 eth0



#############################################################################################

##### WEB 1 #####

Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic   MSS Fenêtre irtt
Iface
192.168.0.67    0.0.0.0         255.255.255.255 UH        0 0          0 eth0

192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0

127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         192.168.0.2     0.0.0.0         UG        0 0          0 eth0

eth0      Lien encap:Ethernet  HWaddr 00:01:03:11:ED:EF
          inet adr:192.168.0.67  Bcast:192.168.0.255  Masque:255.255.255.0


#############################################################################################

##### WEB 2 #####

Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic   MSS Fenêtre irtt
Iface
192.168.0.67    0.0.0.0         255.255.255.255 UH        0 0          0 eth0

192.168.0.68    0.0.0.0         255.255.255.255 UH        0 0          0 eth0

192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0

127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         192.168.0.2     0.0.0.0         UG        0 0          0 eth0



eth0      Lien encap:Ethernet  HWaddr 00:01:03:11:ED:B3
          inet adr:192.168.0.68  Bcast:192.168.0.255  Masque:255.255.255.0




<Prev in Thread] Current Thread [Next in Thread>