The physical network interface is configured even when the vlan interface only is defined in kickstart

Solution Verified - Updated -

Issue

  • The vlan network interface can be configured in kickstart file from Red Hat Enterprise Linux 6.4. https://access.redhat.com/knowledge/solutions/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 eth0.123, the following network command is defined in the kickstart file. And, the network command for eth0 is not defined.
network --bootproto=static --device=eth0 --ip=172.31.123.6 --netmask=255.255.255.0
--gateway=172.31.123.1 --nameserver=172.31.123.1 --hostname=test.example.redhat.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 correct vlan information after installation.

Environment

Red Hat Enterprise Linux (RHEL) 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.