summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-03-29 07:54:48 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-03-29 07:54:50 +0000
commit8a45d5e24e1c5ee40486d0baaf946edd92913ae4 (patch)
tree29a5707ef55cea424d756195d8e89c52822a03f5
parent6e1239795fcc18710398380bd32ec78aa16cd8a0 (diff)
downloadopenrc-8a45d5e24e1c5ee40486d0baaf946edd92913ae4.tar.gz
openrc-8a45d5e24e1c5ee40486d0baaf946edd92913ae4.tar.bz2
openrc-8a45d5e24e1c5ee40486d0baaf946edd92913ae4.tar.xz
Bug #360963: Improve interface naming/set_name_type documentation on new vlan code.
This is primarily for users with set_name_type settings from previous sysadmins can easily see what changes to make. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--doc/net.example.Linux.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in
index 69c9ba6..424c677 100644
--- a/doc/net.example.Linux.in
+++ b/doc/net.example.Linux.in
@@ -540,11 +540,21 @@
# You can also configure the VLAN - see for ip man page for more details
# To change the vlan interface name. If not set, the standard "iface.vlanid"
-# will be used
+# will be used. This is the replacement for the old 'vconfig set_name_type'
+# functionality.
#vlan1_name="vlan1"
#vlan2_name="eth0.2"
+
+# The following shows the old set_name_type setting and what new option to set:
+# Using eth9 & VLAN VID 26 as an example.
+# VLAN_PLUS_VID vlan26_name="vlan0026"
+# VLAN_PLUS_VID_NO_PAD vlan26_name="vlan26"
+# DEV_PLUS_VID vlan26_name="eth9.0026"
+# DEV_PLUS_VID_NO_PAD vlan26_name="eth9.26"
+
# Set the vlan flags
#vlan1_flags="reorder_hdr off gvrp on loose_binding on"
+
# Configure in/egress maps
#vlan1_ingress="2:6 3:5"
#vlan1_egress="1:2"