LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] Need help with a routing problem on my new real server

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] Need help with a routing problem on my new real server
From: Randy Paries <rtparies@xxxxxxxxx>
Date: Tue, 7 Feb 2012 00:52:10 -0600
Hello,
first of all, I am not a network guy. I know just enough to be stupid.
We have a segmented network(i think that is the correct term.) Our
class C is split in half  and we did that because of the ARP problem.
(i had a real network guy help me set that up years ago)

I set up this LVS probably 5 or 6 years ago and it has been working flawlessly.
One of my real servers(i have two) died and I had to rebuild from scratch
I tried to duplicate the setup of REAL_SERVER_1

i am doing a LVS-DR configuration

my problem is that when I am on REAL_SERVER_2(and i have httpd
stopped) and try to wget http://www.mydomain.com i get failed:
Connection refused

I did some googling and it seemed like everyone says it is a routing
problem. But i have no idea how to tell and go from here.

One thing i noticed on the route statements is
REAL_SERVER_1 (same eth)
169.254.0.0        *                 255.255.0.0        U     0      0
       0 eth2
default         xxx.xxx.xxx.254 0.0.0.0               UG    0      0
     0 eth2
REAL_SERVER_2 (differnt eth)
169.254.0.0     *                  255.255.0.0         U      0      0
       0 eth1
default         xxx.xxx.xxx.    254 0.0.0.0          UG    0      0
    0 eth0

Not sure what the 169.254.0.0 is and if it is causing the problem

Thanks for any help
Randy



REAL_SERVER_1
#ifconfig
eth1      Link encap:Ethernet  HWaddr 00:1D:60:B1:A1:34
          inet addr:192.168.0.203  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:60ff:feb1:a134/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11050158969 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9456803905 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4288930994836 (3.9 TiB)  TX bytes:1778434930771 (1.6 TiB)
          Base address:0x2000 Memory:d4200000-d4220000

eth2      Link encap:Ethernet  HWaddr 00:1D:60:B1:A1:35
          inet addr:xxx.xxx.xxx.234  Bcast:xxx.xxx.xxx.255  Mask:255.255.255.128
          inet6 addr: fe80::21d:60ff:feb1:a135/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:35080274 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3409799741 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:19742636680 (18.3 GiB)  TX bytes:4471224846838 (4.0 TiB)
          Base address:0x2020 Memory:d4220000-d4240000

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:189738137 errors:0 dropped:0 overruns:0 frame:0
          TX packets:189738137 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:402447694066 (374.8 GiB)  TX bytes:402447694066 (374.8 GiB)

lo:0      Link encap:Local Loopback
          inet addr:xxx.xxx.xxx.10  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:16436  Metric:1

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
xxx.xxx.xxx.128 *                 255.255.255.128 U     0      0        0 eth2
192.168.0.0        *                 255.255.255.0    U     0      0
     0 eth1
169.254.0.0        *                 255.255.0.0        U     0      0
       0 eth2
default         xxx.xxx.xxx.254 0.0.0.0               UG    0      0
     0 eth2


REAL_SERVER_2
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:81:5A:24:C9
          inet addr:xxx.xxx.xxx.231  Bcast:xxx.xxx.xxx.255  Mask:255.255.255.128
          inet6 addr: fe80::2e0:81ff:fe5a:24c9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:250 errors:0 dropped:0 overruns:0 frame:0
          TX packets:225 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:33261 (32.4 KiB)  TX bytes:26309 (25.6 KiB)
          Interrupt:58 Memory:fe5f0000-fe600000

eth1      Link encap:Ethernet  HWaddr 00:E0:81:5A:24:CA
          inet addr:192.168.0.160  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:81ff:fe5a:24ca/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:923 errors:0 dropped:0 overruns:0 frame:0
          TX packets:223 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:127261 (124.2 KiB)  TX bytes:21656 (21.1 KiB)
          Interrupt:217 Base address:0x6000

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:38 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3141 (3.0 KiB)  TX bytes:3141 (3.0 KiB)

lo:0      Link encap:Local Loopback
          inet addr:xxx.xxx.xxx.10  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:16436  Metric:1

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
xxx.xxx.xxx.128 *               255.255.255.128  U     0      0        0 eth0
192.168.0.0     *                  255.255.255.0      U     0      0
     0 eth1
169.254.0.0     *                  255.255.0.0         U      0      0
       0 eth1
default         xxx.xxx.xxx.    254 0.0.0.0          UG    0      0
    0 eth0

_______________________________________________
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>