[netcf-devel] Support for VLAN interfaces
David Lutterkort
lutter at redhat.com
Tue Jun 30 05:33:23 UTC 2009
These patches add support for VLAN interfaces, both toplevel and enslaved
to a bridge.
As previously discussed, VLAN interfaces only reference the underlying
device, so that a brde br0 with a VLAN interface eth0.42 enslaved looks
like
<interface type="bridge" startmode="onboot">
<name>br0</name>
<protocol family="ipv4">
<dhcp/>
</protocol>
<bridge stp="off">
<interface type="vlan" device="eth0" vlan="42"/>
</bridge>
</interface>
Differing from other types of interfaces, the <name/> subtag is optional
for VLAN's since it can be derived from the name of the underlying device
and the VLAN tag.
David
More information about the netcf-devel
mailing list