LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: using sysctl.conf to set hidden interfaces

To: tc lewis <tcl@xxxxxxxxx>
Subject: Re: using sysctl.conf to set hidden interfaces
Cc: Jeremy Hansen <jeremy@xxxxxxxxxxxx>, "lvs-users@xxxxxxxxxxxxxxxxxxxxxx" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Horms <horms@xxxxxxxxxxxx>
Date: Mon, 19 Jun 2000 15:06:29 -0700
On Mon, Jun 19, 2000 at 05:25:30PM -0400, tc lewis wrote:
> 
> 
> On Mon, 19 Jun 2000, Horms wrote:
> 
> > On Fri, Jun 16, 2000 at 08:05:25PM -0400, Jeremy Hansen wrote:
> > > 
> > > I've noticed that using rh's sysctl.conf (don't know if this is rh
> > > specific) to set the sysctl parameters for hidden loopback interface for
> > > direct method doesn't seem to really work for the loopback interface.  I
> > > assume this is because sysctl is processed before the loopback interface
> > > exists.  Is this the case.  Of course this isn't like a major deal, it's
> > > just that in Ultramonkey docs it doesn't seem to mention this and it does
> > > seem to rely on making these settings in sysctl.conf.
> > 
> > Ouch.
> > 
> > Can anyone (from RedHat) suggest how to configure interfaces
> > using Red Hat style configuration files?
> 
> /etc/sysconfig/network-scripts/ifcfg-*
> ?
> 
> those should be brought up when the runlevel's "network" script is run on
> redhat, if the files has an ONBOOT=yes.
> 
> or were you looking for more detail?  i'm not sure if those config files
> support noarp options or stuff like that.

Apologies, I should have been more specific.

Configure interfaces to be hidden using redhat like config.

> > In the mean time adding the following to /etc/rc.d/rc.local should help.
> > 
> > sysctl -p /etc/sysctl.conf
> 
> action "Configuring kernel parameters" sysctl -p /etc/sysctl.conf
> 
> is already in redhat's rc.sysinit.
> but rc.sysinit is executed before anything else--not sure if that would
> cause problems.

Yes but it is executed once only, before the interfaces come up, so
it is not able to set interfaces to be hidden, as the appropriate
proc entries don't exist yet.

-- 
Horms


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