summaryrefslogtreecommitdiff
path: root/share/man/man5
diff options
context:
space:
mode:
authorAndrew Fresh <afresh1@cvs.openbsd.org>2022-12-05 20:12:01 +0000
committerAndrew Fresh <afresh1@cvs.openbsd.org>2022-12-05 20:12:01 +0000
commit6aeef17b9b410041e8bb41f073976b0e040e0b3c (patch)
treeb77017361f6ebecfd7a4c7700b3b2cae189f082a /share/man/man5
parenta0aed11acb56c17b402008db501faf2ebec4f03c (diff)
Add support configuring hostname.if(5) by lladdr
Original implementation by martijn@ Feedback and suggestions from kn@, sthen@, claudio@, florian@, and deraadt@. ok deraadt
Diffstat (limited to 'share/man/man5')
-rw-r--r--share/man/man5/hostname.if.511
1 files changed, 7 insertions, 4 deletions
diff --git a/share/man/man5/hostname.if.5 b/share/man/man5/hostname.if.5
index a7f54f9dbd7..452d562158d 100644
--- a/share/man/man5/hostname.if.5
+++ b/share/man/man5/hostname.if.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hostname.if.5,v 1.79 2022/07/26 00:36:54 kn Exp $
+.\" $OpenBSD: hostname.if.5,v 1.80 2022/12/05 20:12:00 afresh1 Exp $
.\" $NetBSD: hosts.5,v 1.4 1994/11/30 19:31:20 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)hosts.5 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: July 26 2022 $
+.Dd $Mdocdate: December 5 2022 $
.Dt HOSTNAME.IF 5
.Os
.Sh NAME
@@ -40,10 +40,13 @@
The
.Nm hostname.*\&
files contain information regarding the configuration of each network interface.
-One file should exist for each interface that is to be configured, such as
-.Pa hostname.fxp0
+The interface can be referenced by name or lladdr, such as
+.Pa hostname.fxp0 ,
+.Pa hostname.00:00:5e:00:53:af ,
or
.Pa hostname.bridge0 .
+One file should exist for each interface that is to be configured,
+with priority given to configuration by interface name over lladdr.
A configuration file is not needed for lo0.
.Pp
The configuration information is expressed in a line-by-line packed format