vlandev (parent) does not need to be physical, and can be changed on the 
fly now.


Index: ifconfig.8
===================================================================
RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v
retrieving revision 1.216
diff -u -r1.216 ifconfig.8
--- ifconfig.8  13 Mar 2011 21:24:20 -0000      1.216
+++ ifconfig.8  21 Jun 2011 13:02:03 -0000
@@ -1487,11 +1487,11 @@
 vlan header for packets sent from the vlan interface.
 This value cannot be changed once it is set for an interface.
 .It Cm vlandev Ar parent-interface
-Associate with physical interface
-.Ar iface .
+Associate with interface
+.Ar parent-interface .
 Packets transmitted through the vlan interface will be
-diverted to the specified physical interface
-.Ar iface
+diverted to the specified interface
+.Ar parent-interface
 with 802.1Q vlan encapsulation.
 Packets with 802.1Q encapsulation received
 by the parent interface with the correct vlan tag will be diverted to
@@ -1506,12 +1506,8 @@
 the interface name, for instance
 .Cm vlan5
 will be assigned 802.1Q tag 5.
-If the vlan interface already has
-a physical interface associated with it, this command will fail.
-To change the association to another physical interface, the existing
-association must be cleared first.
 .It Fl vlandev
-Disassociate from the physical interface.
+Disassociate from the parent interface.
 This breaks the link between the vlan interface and its parent,
 clears its vlan tag, flags, and link address, and shuts the interface down.
 .It Cm vlanprio Ar vlan-priority

Reply via email to