summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifconfig.8
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2009-06-24 18:21:37 +0000
committerjamie <jamie@FreeBSD.org>2009-06-24 18:21:37 +0000
commit17732421076935a7d2072f52c7a30754ed31f34b (patch)
tree64fae747524b876a567b23c9085d45d1c3982f56 /sbin/ifconfig/ifconfig.8
parentc6535b4fd4e8f344a50494d0f7bde4929bcbe834 (diff)
downloadFreeBSD-src-17732421076935a7d2072f52c7a30754ed31f34b.zip
FreeBSD-src-17732421076935a7d2072f52c7a30754ed31f34b.tar.gz
Add the "vnet" and "-vnet" options, to allow moving interfaces between
jails with VIMAGE. Approved by: bz (mentor)
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r--sbin/ifconfig/ifconfig.815
1 files changed, 14 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index d27bed8..5f571f8 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -28,7 +28,7 @@
.\" From: @(#)ifconfig.8 8.3 (Berkeley) 1/5/94
.\" $FreeBSD$
.\"
-.Dd January 7, 2009
+.Dd June 24, 2009
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -417,6 +417,18 @@ If the driver offers user-configurable VLAN support, disable
reception of extended frames, tag processing in hardware, or
frame filtering in hardware,
respectively.
+.It Cm vnet Ar jail
+Move the interface to the
+.Xr jail 8 ,
+specified by name or JID.
+If the jail has a virtual network stack, the interface will disappear
+from the current environment and become visible to the jail.
+.It Fl vnet Ar jail
+Reclaim the interface from the
+.Xr jail 8 ,
+specified by name or JID.
+If the jail has a virtual network stack, the interface will disappear
+from the jail, and become visible to the current network environment.
.It Cm polling
Turn on
.Xr polling 4
@@ -2367,6 +2379,7 @@ tried to alter an interface's configuration.
.\" .Xr eon 5 ,
.Xr rc 8 ,
.Xr routed 8 ,
+.Xr jail 8 ,
.Xr sysctl 8
.Sh HISTORY
The
OpenPOWER on IntegriCloud