LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: HPUX and Direct Routing

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: HPUX and Direct Routing
From: Andreas Lundqvist <lvs@xxxxxx>
Date: Fri, 24 Mar 2006 13:26:45 +0100
On Thursday 23 March 2006 19:28, Joseph Mack NA3T wrote:

> did you try these?
>
> http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.arp_problem.html#tes
>ting_for_arp

I did but I don't get the same results. The only time the vip even turns up in 
the arp cache of the client is when the director is connected and then it's 
the directors mac address. Without the director the client have no idea of 
the vip only the realservers. And when I ping the vip on the realserver that 
has the vip on the loopback there is no sign of any mac address in the arp 
cache on the realserver.

So it seems ok to me.

>
> > Does it matter what netmask/broadcast I use on the loopback alias?
>
> http://www.austintek.com/LVS/LVS-HOWTO/mini-HOWTO/#255_4

That doesn't seem to be true for HPUX.

alun@u30240~ >ifconfig lo0
lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST>
        inet 127.0.0.1 netmask ff000000 

alun@u30240~ >ping 127.0.0.1
PING 127.0.0.1: 64 byte packets
64 bytes from 127.0.0.1: icmp_seq=0. time=0. ms

----127.0.0.1 PING Statistics----
1 packets transmitted, 1 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 0/0/0

[0]
alun@u30240~ >ping 127.0.0.10
PING 127.0.0.10: 64 byte packets
64 bytes from 127.0.0.10: icmp_seq=0. time=0. ms

----127.0.0.10 PING Statistics----
1 packets transmitted, 1 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 0/0/0


alun@u30240~ >ping 192.168.0.1
PING 192.168.0.1: 64 byte packets

----192.168.0.1 PING Statistics----
2 packets transmitted, 0 packets received, 100% packet loss

alun@u30240~ >s ifconfig lo0:1 inet 192.168.0.1 netmask 255.255.255.0 -arp up
Password:

[0]
alun@u30240~ >ping 192.168.0.1
PING 192.168.0.1: 64 byte packets
64 bytes from 192.168.0.1: icmp_seq=0. time=0. ms
64 bytes from 192.168.0.1: icmp_seq=1. time=0. ms

----192.168.0.1 PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 0/0/0

[0]
alun@u30240~ >ping 192.168.0.10
PING 192.168.0.10: 64 byte packets

----192.168.0.10 PING Statistics----
5 packets transmitted, 0 packets received, 100% packet loss

alun@u30240~ >ifconfig lo0:1
lo0:1: flags=8c9<UP,LOOPBACK,RUNNING,NOARP,MULTICAST>
        inet 192.168.0.1 netmask ffffff00 

So HPUX seems to handle the 127.0.0.0/8 in some different way.

>
> there is supposed to be someway to handle this, but I don't
> remember what you do to trick the machine.

I don't see any reason to trick the server after my test, do you?

>
> if you're still getting load balancing after some testing (a
> week, month?), could you send us a description of your setup

Sure will let you know. Many thanks for your time.

-- 
Andreas Lundqvist
08-76 49994
070-9514117

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