LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Lvs for multi-site/subnet terminal services

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Lvs for multi-site/subnet terminal services
From: Paul Dickson <pdickson@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Jul 2009 11:42:18 -0400
I switched target boxes because I didn't want to mess around with network
stuff on a production box.  Anyway I created the loopback adapter on my
target box, set it to have the VIP with the netmask 255.255.255.0.  I tried
it with no gateway, the gateway of my physical NIC, and my physical NIC's
IP.  I assume being a local loopback it doesn't need a gateway but I'm quite
confused about the whole thing.  It seems like it¹s getting to the target
box but the response is going no where.  Here is my config on my LVS box.

root@template:~# ifconfig
eth2      Link encap:Ethernet  HWaddr 00:50:56:ad:40:e6
          inet addr:10.14.2.157  Bcast:10.14.2.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fead:40e6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2251826 errors:100 dropped:0 overruns:0 frame:0
          TX packets:1560562 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:691081526 (691.0 MB)  TX bytes:122118021 (122.1 MB)
          Interrupt:18 Base address:0x1424

eth2:0    Link encap:Ethernet  HWaddr 00:50:56:ad:40:e6
          inet addr:10.14.2.158  Bcast:10.14.2.158  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:18 Base address:0x1424

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:842 errors:0 dropped:0 overruns:0 frame:0
          TX packets:842 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:160192 (160.1 KB)  TX bytes:160192 (160.1 KB)

10.14.2.158 is the VIP.

This is the setup of my target terminal server.  First the local loopback
then the physical nic.







Paul K. Dickson
Systems Administrator
Frederick County Government, IIT
pdickson@xxxxxxxxxxxxx
301-600-2399/x12399




> From: "L.S. Keijser" <leon@xxxxxxxx>
> Reply-To: "LinuxVirtualServer.org users mailing list."
> <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
> Date: Wed, 22 Jul 2009 16:01:29 +0200
> To: "LinuxVirtualServer.org users mailing list."
> <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
> Subject: Re: [lvs-users] Lvs for multi-site/subnet terminal services
> 
> On Wed, 2009-07-22 at 14:46 +0100, Graeme Fowler wrote: > On Wed, 2009-07-22
> at 09:15 -0400, Paul Dickson wrote: > > The default gateway for the target
> servers is 10.14.3.1.  I'd prefer to use > > DR for performance reasons.
> Wading through the mini howto it looks like I > > need to have the VIP on the
> target servers as well.  The problem is they are > > on a different subnet so
> I'm not sure how to make that work. > > They're Windows machines; you'll need
> to install the "Microsoft Loopback > Adapter" via the "Add Hardware" wizard. >
> > You then configure that with the VIP and ensure that it has a /32 >
> (255.255.255.255) netmask, either in the settings (Server 2008 allows > this I
> believe) or via the Registry (you'll have to Google for that > one). Also
> (this is at least true for win2k) configure the loopback adapter to use a
> metric of 253. --
> Léon _______________________________________________ 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

PNG image

PNG image

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