-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VLAN definition doesn't create correct configuration #104
Comments
While the RHEL Docs clearly state this, For VLANs to be activated it is sufficient to use it only once in this file, and then all adapters that are matching There is a risk because the VLAN matching will be done for each interface on the host when I would suggest to either add |
Configuration file for an interface with a VLAN (ie: ifcfg-enp6s0f0.330) appears to be missing 'VLAN=yes'
The following config:
network::if::static { 'enp6s0f0.330':
ensure => 'up',
ipaddress => '10.2.3.248',
netmask => '255.255.255.0',
}
Generates:
File managed by Puppet
DEVICE=enp6s0f0.330
BOOTPROTO=none
HWADDR=....
ONBOOT=yes
HOTPLUG=yes
TYPE=Ethernet
IPADDR=10.2.3.248
NETMASK=255.255.255.0
PEERDNS=no
NM_CONTROLLED=no
However the mandatory variable 'VLAN=yes' is missing.
Refer to:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Configure_802_1Q_VLAN_Tagging_Using_the_Command_Line.html#sec-Setting_Up_802.1Q_VLAN_Tagging_Using_ifcfg_Files
The text was updated successfully, but these errors were encountered: