Thread (14 messages) flat view 14 messages, 5 authors, 2007-02-13

Re: /proc/sys/net/ipv[46]/conf/ issue unsolved

From: Neil Horman <nhorman@tuxdriver.com>
Date: 2007-02-13 19:46:19

On Tue, Feb 13, 2007 at 07:24:32PM +0000, Hugo Santos wrote:
Neil,

On 2/13/07, Neil Horman [off-list ref] wrote:
quoted
Can't this simply be fixed by adding a custom udev rule?  Correct me if I'm
wrong, but the only reason that interfaces come up automatically after 
their
appropriate module is inserted is because most distos udev rules issue an 
ifup
$DEVICE when they get a creation event for $DEVICE.  Why not add a custom 
rule
in for net device creation events to set appropriate sysctl values before 
the
ifup is issued.
 The issue is not as much with automatic auto-configuration but with
not being able to disable auto-configuration (and others) before
setting the interface up.
Yes, I understand that, but until the IFF_UP flag is set on the interface, it
doesn't really have any effect on the system as a whole.  You should be able to
undo any default setting that you want before you call ifup on the interface, or
am I missing something?

Neil
 Hugo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help