summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-10-30 13:44:06 +0000
committerpjd <pjd@FreeBSD.org>2004-10-30 13:44:06 +0000
commit99334313420dd90c7d7f5cc6dac1a292b472001f (patch)
tree8b33932a48beb2cd86ecc804ea6123b37da7fcc4 /share/man
parentae417ad6eff174e3deea727e7b5be16491f4cf7a (diff)
downloadFreeBSD-src-99334313420dd90c7d7f5cc6dac1a292b472001f.zip
FreeBSD-src-99334313420dd90c7d7f5cc6dac1a292b472001f.tar.gz
Allow to change interfaces name on boot time.
Now, one should be able to put something like this into /etc/rc.conf: ifconfig_fxp0_name="net0" ifconfig_net0="inet 10.0.0.1/16" Reviewed by: green
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man5/rc.conf.56
1 files changed, 6 insertions, 0 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 1db6f84..ca5ffa3 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -928,6 +928,12 @@ it is possible to use something like:
.Bd -literal
ifconfig_ed0="DHCP"
.Ed
+.Pp
+It is also possible to rename interface by doing:
+.Bd -literal
+ifconfig_ed0_name="net0"
+ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000"
+.Ed
.It Va ipv6_network_interfaces
.Pq Vt str
This is the IPv6 equivalent of
OpenPOWER on IntegriCloud