From 8a45d5e24e1c5ee40486d0baaf946edd92913ae4 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 29 Mar 2011 07:54:48 +0000 Subject: [PATCH] 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 --- doc/net.example.Linux.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in index 69c9ba64..424c6775 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"