On 08/13/2014 12:42 AM, Jianwei Hu wrote:
The valid vlan id range is 0~4095.
Please refer to /usr/share/doc/initscripts-9.47/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.
---
data/xml/interface.rng | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/xml/interface.rng b/data/xml/interface.rng
index 8a058a6..845d871 100644
--- a/data/xml/interface.rng
+++ b/data/xml/interface.rng
@@ -491,7 +491,7 @@
<define name='vlan-id'>
<data type="unsignedInt">
- <param name="maxInclusive">4096</param>
+ <param name="maxInclusive">4095</param>
</data>
</define>
</grammar>
ACK and pushed. Thanks for the bugfixes!