ref: 1ec3271355b4d8f685ee0f2d3dec71d052d4acba
parent: 67f18dc14f0650e3e0689fba8ef4546a23f42773
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun May 12 09:50:52 EDT 2024
ipconfig(8): document loopback and null media
--- a/sys/man/8/ipconfig
+++ b/sys/man/8/ipconfig
@@ -83,6 +83,7 @@
.BR gbe ,
.BR ppp ,
.BR pkt ,
+.BR null ,
or
.BR loopback .
The
@@ -396,6 +397,23 @@
.EX
ip/ipconfig -6
ip/ipconfig ra6 recvra 1
+.EE
+.PP
+Configure
+.B loopback
+interface for localhost addresses.
+.IP
+.EX
+ip/ipconfig loopback /dev/null 127.1 /128
+ip/ipconfig loopback /net/null ::1 /128
+.EE
+.PP
+Configure
+.B null
+interface for discarding packets.
+.IP
+.EX
+ip/ipconfig null /dev/mordor 8.8.8.8 /128
.EE
.SH FILES
.B /sys/log/ipconfig
--
⑨