Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 1999 13:57:47 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        "Jeffrey J. Libman" <jeffrl@wantabe.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: mountd and rpc.statd won't run 
Message-ID:  <199912202157.NAA00717@mass.cdrom.com>
In-Reply-To: Your message of "Sun, 19 Dec 1999 13:06:44 CST." <Pine.BSF.4.21.9912191303290.58952-100000@cutter.wantabe.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> after moving 54 virtual hosts to this machine, rpc.statd will not run: it
> hangs; mountd runs (-r or not -r), but will not serve up mounts and dies.

Sounds like you may have DNS issues with one or more of the virtual IPs. 

> 2) configure the loopback interface properly. (i assign all virtual ip's
> to the lo0 interface).

That's actually not really a good idea.  Bind them to the interface that 
they'll be communicating on; that way you don't need to route them.

> 	b) it has been claimed that the virtual ip's need netmask
> 	0xffffffff rather than 0xffffff00. i have tried it both ways.

That's also not correct.  The virtual addresses need to be configured 
_correctly_, where all the normal rules regarding netmask overlap are 
followed.

ie.  if you have three 'virtual' addresses 10.0.0.1, 10.0.0.2 and 
10.0.0.3, you would add them as:

10.0.0.1 / 255.0.0.0
10.0.0.2 / 255.255.255.255
10.0.0.3 / 255.255.255.255

In other words, you add an aliased address with the correct netmask, 
unless it overlaps a network previously established by another address, 
in which case you add it with an all-ones netmask.

This is the way it's always worked on FreeBSD.


-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912202157.NAA00717>