LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Natting Issue

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Natting Issue
From: Reet Vyas <reet.vyas28@xxxxxxxxx>
Date: Thu, 29 Mar 2012 18:12:39 +0530
I have no idea of Piranha. But I will try.
Primary server public IP: 122.166.233.136
NAT Router IP: 192.168.3.10
NAT Router netmask: 255.255.255.0
NAT Router device: eth1:1

instead of this ip 122.166.233.136, ip is 122.166.233.133 as .136 is VIP .
i have twwo VIP one for eth0 and one for eth1 . Correct me if i m dng
something wrong

default gateway of real servers is 192.168.3.10?
How do you test your setup?
this is my tcpdump on eth0 for 5004 port and tcpdump for eth1 is nothing
means it is coming to lvs but not going to real server

18:06:46.533407 IP 122.166.233.133.avt-profile-1 > 14.140.226.234.54951:
Flags [R.], seq 0, ack 3449547871, win 0, length 0
18:06:47.145247 IP 14.140.226.234.54951 > 122.166.233.133.avt-profile-1:
Flags [S], seq 3449547870, win 8192, options [mss 1460,nop,nop,sackOK],
length 0
18:06:47.145275 IP 122.166.233.133.avt-profile-1 > 14.140.226.234.54951:
Flags [R.], seq 0, ack 1, win 0, length 0
18:06:47.810289 IP 14.140.226.234.54951 > 122.166.233.133.avt-profile-1:
Flags [S], seq 3449547870, win 8192, options [mss 1460,nop,nop,sackOK],
length 0
18:06:47.810302 IP 122.166.233.133.avt-profile-1 > 14.140.226.234.54951:
Flags [R.], seq 0, ack 1, win 0, length 0
18:06:48.086243 IP 14.140.226.234.54952 > 122.166.233.133.avt-profile-1:
Flags [S], seq 1133302008, win 8192, options [mss 1460,nop,nop,sackOK],
length 0
18:06:48.086257 IP 122.166.233.133.avt-profile-1 > 14.140.226.234.54952:
Flags [R.], seq 0, ack 1133302009, win 0, length 0
18:06:48.823466 IP 14.140.226.234.54952 > 122.166.233.133.avt-profile-1:
Flags [S], seq 1133302008, win 8192, options [mss 1460,nop,nop,sackOK],
length 0
18:06:48.823487 IP 122.166.233.133.avt-profile-1 > 14.140.226.234.54952:
Flags [R.], seq 0, ack 1, win 0, length 0
18:06:49.563384 IP 14.140.226.234.54952 > 122.166.233.133.avt-profile-1:
Flags [S], seq 1133302008, win 8192, options [mss 1460,nop,nop,sackOK],
length 0
18:06:49.563409 IP 122.166.233.133.avt-profile-1 > 14.140.226.234.54952:
Flags [R.], seq 0, ack 1, win 0, length 0


On Thu, Mar 29, 2012 at 5:53 PM, Enno Gröper <enno+lvs@xxxxxxxxxxxxxxxxx>wrote:

> Hi,
>
> Am 29.03.2012 14:06, schrieb Reet Vyas:
> > Hi this link m using to configure can u pls tell what shud my gateway as
> > per my network
> >
> http://www.centos.org/docs/4/4.5/SAC_Virtual_Server_Administration/s1-piranha-globalset-VSA.html
> I have no idea of Piranha. But I will try.
> Primary server public IP: 122.166.233.136
> NAT Router IP: 192.168.3.10
> NAT Router netmask: 255.255.255.0
> NAT Router device: eth1:1
>
> This should be the setup you already had. But there is nothing wrong
> with it.
> Where is the part, that mentions iptables?
>
> default gateway of real servers is 192.168.3.10?
> How do you test your setup?
>
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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