1VCONFIG(8)                  System Manager's Manual                 VCONFIG(8)
2
3
4

NAME

6       vconfig - VLAN (802.1q) configuration program.
7

SYNOPSIS

9       vconfig [lots of long options]
10

DESCRIPTION

12       The  vconfig  program allows you to create and remove vlan-devices on a
13       vlan enabled kernel. Vlan-devices are virtual  ethernet  devices  which
14       represents the virtual lans on the physical lan.
15

OPTIONS

17       add [interface-name] [vlan-id]
18              Creates   a   vlan-device  on  [interface-name].  The  resulting
19              vlan-device will be called according to the  nameing  convention
20              set.
21
22       rem [vlan-device]
23              Removes the named vlan-device.
24
25       set_flag [vlan-device] 0 | 1
26              When  1,  ethernet  header  reorders  are turned on. Dumping the
27              device will appear as a common ethernet  device  without  vlans.
28              When  0(default)  however,  ethernet  headers are not reordered,
29              which results in vlan tagged packets when  dumping  the  device.
30              Usually the default gives no problems, but some packet filtering
31              programs might have problems with it.
32
33
34       set_egress_map [vlan-device] [skb-priority] [vlan-qos]
35              This flags that outbound packets with a particular  skb-priority
36              should be tagged with the particular vlan priority vlan-qos. The
37              default vlan priority is 0.
38
39
40       set_ingress_map [vlan-device] [skb-priority] [vlan-qos]
41              This flags that inbound packets with the particular vlan  prior‐
42              ity  vlan-qos  should  be queued with a particular skb-priority.
43              The default skb-priority is 0.
44
45
46       set_name_type VLAN_PLUS_VID |  VLAN_PLUS_VID_NO_PAD  |  DEV_PLUS_VID  |
47       DEV_PLUS_VID_NO_PAD
48              Sets  the way vlan-device names are created. Use vconfig without
49              arguments to see the different formats.
50
51
52
53       NOTES  VLAN will use Broadcom's NICE interface when the network  device
54              supports  it.  This  is necessary, since usually the hardware of
55              these devices already removes the vlan  tag  from  the  ethernet
56              packet.  The  set_flag  option on vlan-devices created on such a
57              physical network device  will  be  ignored.   Dumping  the  net‐
58              work-device will show only untagged(non-vlan) traffic, and dump‐
59              ing the vlan-devices will only show traffic  intended  for  that
60              vlan, without the tags.
61

FILES

63       /proc/net/vlan/config
64       /proc/net/vlan/[vlan-device]
65
66

SEE ALSO

68       ip(8), ifconfig(8)
69

AUTHORS

71       This manual page was written by Ard van Breemen <ard@kwaak.net>
72       The vlan patch is written by Ben Greear <greearb@candelatech.com>
73
74
75
76                                                                    VCONFIG(8)
Impressum