summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStef Simoens <stef.simoens@scarlet.be>2011-09-27 16:55:22 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-10-26 11:28:39 -0500
commitf94e8836333f6dea142d9a7b29610fcc8d6b12a3 (patch)
treef5d47602839bb2fe0a82e35c1f921539bd0f8985 /doc
parentb1da4dcb9913d6d28fa39c60dcf9c867c39486ef (diff)
downloadopenrc-f94e8836333f6dea142d9a7b29610fcc8d6b12a3.tar.gz
openrc-f94e8836333f6dea142d9a7b29610fcc8d6b12a3.tar.bz2
openrc-f94e8836333f6dea142d9a7b29610fcc8d6b12a3.tar.xz
Add macvlan support
X-Gentoo-Bug: 384029 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=384029
Diffstat (limited to 'doc')
-rw-r--r--doc/net.example.Linux.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in
index 952f8eb..b841613 100644
--- a/doc/net.example.Linux.in
+++ b/doc/net.example.Linux.in
@@ -581,6 +581,18 @@
# NOTE: depend functions only work in /etc/conf.d/net
# and not in profile configs such as /etc/conf.d/net.foo
+# MAC-VLAN support
+# The following configuration can be used to create a new interface 'macvlan0'
+# linked to 'eth0'
+#macvlan_macvlan0="eth0"
+
+# MAC-VLAN mode (private, vepa, bridge, passtru)
+#mode_macvlan0="private"
+
+# IP address, MAC address, ... are configured as a normal interface
+#config_macvlan0="192.168.20.20/24"
+#mac_macvlan0="00:50:06:20:20:20"
+
#-----------------------------------------------------------------------------
# Bonding
# For link bonding/trunking on 2.4 kernels, or kernels without sysfs