LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: No buffer space available

To: 'Peter Mueller' <pmueller@xxxxxxxxxxxx>, 'Roberto Nibali ' <ratz@xxxxxxxxxxxx>, "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx '" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: No buffer space available
From: Jeremy Kusnetz <JKusnetz@xxxxxxxx>
Date: Mon, 30 Sep 2002 15:59:50 -0400
Before I go any further, Roberto, THANK YOU VERY MUCH for the help you've
given me today!  It's very much appreciated!

> Ratz here is choice cuts from IPaddr.

Hmm, I tried the IPaddr that comes with heartbeat-0.4.9.1 (I'm currently
using 0.4.9)

I still can't get it to work with a /32.

Looks like IPaddr calls findif to figure out the netmask and broadcast of an
IP/cider.

Here are some samples:
./findif 216.163.120.4/24
eth0    netmask 255.255.255.0   broadcast 216.163.120.255
  -- looks good
./findif 216.163.120.4/31
eth0    netmask 255.255.255.254 broadcast 216.163.120.5
  -- looks good
./findif 216.163.120.4/32
eth0    netmask 255.255.255.0   broadcast 216.163.120.255
  -- Huh????

For now I've hardcoded in the proper netmask and broadcast I want for a /32
in the IPaddr script.  Interestingly enough when I do this, and rerun findif
for /32 I get the right values:
./findif 216.163.120.4/32
eth0    netmask 255.255.255.255 broadcast 216.163.120.4

So I know hardcoding these values in the script is not ideal, but it looks
like it works.  Any reason not to do so?  LVS seems to be functional on my
development environment.


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