The physical network interface is configured even when the vlan interface only is defined in kickstart
Issue
- The
802.1q tagged vlan
network interface can be configured inside the kickstart file in Red Hat Enterprise Linux 6.4. Refer Solution 25133 - To configure the
vlan
network interface only, it's configured in kickstart file. And the network kickstart command for the physical network interface is not included. - For example, to configure the
vlan
interface i.e.eth0.123
, the following network command is defined in the kickstart file. And, the network command foreth0
is not defined.
network --bootproto=static --device=eth0 --ip=192.168.0.100 --netmask=255.255.255.0 --gateway=192.168.0.254 --nameserver=192.168.0.1 --hostname=test.example.com --onboot=yes --noipv6 --vlanid=123 --activate
- But,
eth0
was configured unexpectedly. It got the network information from DHCP, default gateway was changed, and it failed since it could not download any rpms from the installation repository. - Also,
/root/anaconda-ks.cfg
doesn't include the correctvlan
information after installation.
Environment
- Red Hat Enterprise Linux (RHEL) 6.4 specific
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.