1 Apr 2002 05:46
Re: Allowing ifconfig to automatically fill in IPv6 host ID
<ww <at> styx.org>
2002-04-01 03:46:44 GMT
2002-04-01 03:46:44 GMT
On Tue, Mar 26, 2002 at 05:10:09PM +0700, Robert Elz wrote: > > But all that happens in single user mode, without /usr mounted, so you can't > use sed (nor awk, let alone perl) to assist, really just what the shell is > able to do for you. or you can call /usr a critical filesystem in /etc/rc.conf and make sure it's mounted. you're not nfs mounting /usr on your routers are you? (& > Now, I have no doubt but that it is possible to do all that is needed in the > NetBSD /bin/sh but this seems like something that is useful enough that > having ifconfig able to do it seems like the better way. at the expense of treating a mask of /64 as a special case. is the feature creep necessary? imo, we need a more general interface for configuring networking. it should be extensible enough to do things like defining a prefix setting operation. > It may be that there's a method to do this already, but to make this easy, > it would be nice to be able to config just the IID part of the address, and > then allow the host (these are hosts, not routers...) autoconfigure from the > prefixes obtained via RA's (or the above ioctls via ifconfig if that gets > done). Note: changing the MAC addr in order to have it build an EUI-64 > out of a configured mac addr isn't the right way to achieve this! it seems to me that features like this belong in the daemons that implement the userland parts of router advertisement and solicitation: maybe(Continue reading)
RSS Feed