LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: setting netmask and broadcast

To: Joseph Mack <mack.joseph@xxxxxxx>
Subject: Re: setting netmask and broadcast
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Tony Clarke <sam@xxxxxxxxxx>
Date: Fri, 13 Sep 2002 15:07:15 +0100
Joseph Mack wrote:

Hi,

   Is there a way to set the netmask and broadcast address of vip's?

do you mean apart from ifconfig/ip addr add when you install them on the various machines?
No. I mean adding a line in /etc/lvs.cf along with the usual setting.
So you could have something like

       address = 202.172.98.02 eth0:111
       active = 1
       load_monitor = rup
       timeout = 5
       reentry = 60
       netmask = 255.255.0.0

or whatever it is you want to use. And then this option gets
parsed out and run along with the other options in ifconfig.

If that makes any sense..
Tony.



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