[netcf-devel] [PATCH] Maximum vlanid should be 4095
Jianwei Hu
jiahu at redhat.com
Wed Aug 13 04:42:08 UTC 2014
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>
--
1.8.3.1
More information about the netcf-devel
mailing list