On Thu, Nov 13, 2025 at 02:48:46AM +0000, Kenneth Hendrickson wrote: > I have several different architectures. Some have the re ethernet interfaces. > Some have the igc ethernet interfaces. Some have the vr ethernet interfaces. > > Several of those interfaces are all set up the same way (if they exist). > So I am loading (at install time) hostname.if files for all of my > architectures, > even though those interfaces don't exist on every machine. >
The hostname.if files for non-existant interfaces shouldn't cause any direct problems. Obviously having old configuration files hanging around might cause unexpected surprises for someone who later adds an interface that by chance happens to match a long forgotten configuration file, although that doesn't seem likely in your use case. > This prevents me from having separate files for each hostname, > for interfaces that are always configured the same. If at some point you do need to configure one machine differently from your standard setup, it's worth noting that hostname.lladdr files take precedence over the interface name variety. So, assuming that all these machines have physical NICs, (rather than virtual machines with possibly non-unique link layer addresses), you can use this to over-ride your defaults.

