On Tue, 2010-04-06 at 11:54 +0100, Cyrus wrote:
> Hello,
> 
> I am trying to run a two node LVS set-up.
> My VIP is 174.121.60.28 and my RIP is 174.121.60.50.
> I can ping the VIP from the RIP but am unable to ping the VIP from outside.
> 
> Ifconfig gives me this:
> 
> eth0      Link encap:Ethernet  HWaddr 00:26:B9:79:6E:C2
>           inet addr:174.121.60.50  Bcast:174.121.60.55  Mask:255.255.255.248
>           inet6 addr: fe80::226:b9ff:fe79:6ec2/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1670618 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1521512 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:330044128 (314.7 MiB)  TX bytes:353914009 (337.5 MiB)
>           Interrupt:169 Memory:da000000-da012800
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:1278 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1278 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:1139484 (1.0 MiB)  TX bytes:1139484 (1.0 MiB)
> 
> ip addr show gives me this:
> 
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
>     inet6 ::1/128 scope host
>        valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
>     link/ether 00:26:b9:79:6e:c2 brd ff:ff:ff:ff:ff:ff
>     inet 174.121.60.50/29 brd 174.121.60.55 scope global eth0
>     inet 174.121.60.28/24 brd 127.255.255.255 scope global eth0

Okay, first of all, the VIP you've specified (174.121.60.28) lies
outside the configured subnet. You specified a RIP/CIDR of 174.121.50/29
which allows for IP's in the range 174.121.60.49 - 174.121.60.54 so you
might want to check that first. The network mask you gave the VIP (/24)
also doesn't match your primary IP.

Second, if you have configured the VIP and can't ping it it's either a
firewall or a network problem, not LVS.

Good luck!

Léon


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

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

Reply via email to