On Fri, 7 Nov 2008, johan beisser wrote: >On Nov 7, 2008, at 9:44 AM, Dave Anderson wrote: >> >> Perhaps most of these issues could be dealt with by changing the >> network >> configuration procedure to have a hierarchy of interface-configuration >> files rather than just hostname.<interface-name>. If hostname.<mac> >> were used if the hardware MAC matches, then hostname.<interface-name>, >> then (say) hostname.only if there's only one NIC found, the sysadmin >> could assign interfaces to groups and use those group names >> everywhere, >> and so not need to use the actual interface names at all.
>> This appears to be a fairly simple change. Does it sound reasonable >> to >> people with more knowledge of OpenBSD networking? > >It's not a simple change. Having now looked at /etc/netstart, it's clearly not as simple as I'd hoped -- but it doesn't look all that difficult. The only issue I don't (yet) see a solution for is how to get the original hardware MAC address for an interface (rather than the current MAC address, which appears to be what ifconfig reports). I could parse the dmesg from the most recent boot, but that feels wrong -- especially since I'm not certain that that information will always be available, complete and unaltered. Dave -- Dave Anderson <[EMAIL PROTECTED]>