LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-DR: netmask questions

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS-DR: netmask questions
From: Horms <horms@xxxxxxxxxxxx>
Date: Wed, 9 Apr 2003 09:10:18 +0900
On Tue, Apr 08, 2003 at 07:52:13PM -0400, Alan Murrell wrote:
> Hello,
> 
> I have a couple of questions regarding the netmask
> setup when using LVS-DR.
> 
> >From the sample on the Mini-HOWTO, the VIP is
> '192.168.1.110', and so the following command is used:
> 
> /sbin/ifconfig eth0:110 192.168.1.110 broadcast
> 192.168.1.110 netmask 255.255.255.255
> 
> I just wanted to make sure that the above is indeed
> correct:
> 
>   - BROADCAST is the same as the VIP
>   - NETMASK really is 255.255.255.255
> 
> even if it is a /24 subnet?

Off the top of my head, that should probably be 255.255.255.0.
Unless it is a an alias on the loopback interface (e.g lo:0)
in which case it should be 255.255.255.255.

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