Re: [PATCH 2/5] vlan: add ifcfg-vlan parser



On 11/21/2011 12:45 PM, Chuck Anderson wrote:
I think you should support the common and documented format:

DEVICE=eth0.43

which is documented in /usr/share/doc/initscripts-*/sysconfig.txt

   Ethernet 802.1q VLAN items:
      DEVICE=eth0.42
        Initscripts use the device name for VLAN devices.
                Example: eth0.42 for vlan 42 on device eth0.
        Valid VLAN ID range is 0-4095. Most ethernet switches reserve
        VLAN ID 1 to be used as management VLAN; starting from VLAN
        ID 2 is recommended.
      REORDER_HDR=yes|no
        When enabled 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 ISC dhcpd which read the raw
        ethernet packet and make assumptions about the location of
        bytes. If you don't need it turn it off because there
        is a small performance penalty. Default is on.
      GVRP=yes|no
        When enabled, this will announce new vlan creation to a GVRP
        enabled trunk port on a switch. Default is off.
Ok, thanks

Weiping Pan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]