# You may copy this file to /etc/sysconfig/network-scripts and run 'ifup vlan2'

# we need to identify the physical device to pass it to vconfig
PHYSDEVICE=eth0
DEVICE=vlan2
BOOTPROTO=static
BROADCAST=10.1.2.255
IPADDR=10.1.2.1
NETMASK=255.255.255.0
NETWORK=10.1.2.0
ONBOOT=yes
GATEWAY=10.1.2.254
USERCTL=no

# skb_priority is the priority in the socket buffer (sk_buff).
# vlan_qos is the 3 bit priority in the VLAN header
# you may define 0-7 priority and qos mappings for ingress and egress
INGRESS_PRIORITY_0=0
INGRESS_QOS_0=0
INGRESS_PRIORITY_1=1
INGRESS_QOS_1=1
INGRESS_PRIORITY_2=2
INGRESS_QOS_2=2
#
EGRESS_PRIORITY_3=3
EGRESS_QOS_3=3

#* FLAGS:  1 REORDER_HDR  When this is set, the VLAN device will move the
#            ethernet header around to make it look exactly like a real
#            ethernet device.  This may help programs such as DHCPd which
#            read the raw ethernet packet and make assumptions about the
#            location of bytes.  If you don't need it, don't turn it on, because
#            there will be at least a small performance degradation.  Default
#            is OFF.
REORDER_HDR=
