Subject: Re: "default" outgoing address
To: None <tech-kern@netbsd.org>
From: Greg A. Woods <woods@most.weird.com>
List: tech-kern
Date: 02/05/1999 15:00:45
[ On Friday, February 5, 1999 at 13:20:13 (+0100), Anders Magnusson wrote: ]
> Subject: Re: "default" outgoing address
>
> > > Sounds OK to me though I also like Paul Goyette's idea:
> > > 
> > > 	sysctl -w net.inet.ip.<ifname>.srcaddr=NNN.NNN.NNN.NNN
> > 
> > Unfortunatly you can't do that w/ sysctl. All the parts of the sysctl MIB
> > need to be known at compile time - of sysctl!
> > 
> Actually, the sysctl interface should/will be redesigned. Loading of
> modules that can have sysctl-modifying functionality isn't possible
> today because of this limitation.

Hmm.  Yes.  I keep forgetting how hokey the current sysctl
implementation is.

You guys probably know this already, but just in case you don't I should
point out that the FreeBSD folks have had a go or two at trying to
re-implement the guts of sysctl.  Some of what they've done appears to
be of some value w.r.t. to these issues.

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>