diff options
author | Camiel Dobbelaar <camield@cvs.openbsd.org> | 2011-06-27 12:55:22 +0000 |
---|---|---|
committer | Camiel Dobbelaar <camield@cvs.openbsd.org> | 2011-06-27 12:55:22 +0000 |
commit | b1e3e844f1a544dd505d61af6799df0965641b34 (patch) | |
tree | 498445780c9b374cae143e191b1674654acc6bed /sbin/ifconfig/ifconfig.8 | |
parent | bd65fc4c24baa2d16e2ee91074aff3db0534c59d (diff) |
vlan parent devices do not have to be physical, and they can be
changed on the fly now.
ok sthen deraadt
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index b189b055553..3105a4701a2 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ifconfig.8,v 1.216 2011/03/13 21:24:20 jmc Exp $ +.\" $OpenBSD: ifconfig.8,v 1.217 2011/06/27 12:55:21 camield Exp $ .\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $ .\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $ .\" @@ -31,7 +31,7 @@ .\" .\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94 .\" -.Dd $Mdocdate: March 13 2011 $ +.Dd $Mdocdate: June 27 2011 $ .Dt IFCONFIG 8 .Os .Sh NAME @@ -1487,11 +1487,11 @@ This value is a 12-bit number which is used to create an 802.1Q 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 @@ are not set at the same time, the vlan tag will be inferred from 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 |