Description of problem: If no IPv4 address is configured, then DHCP for an IPv6 address is not carried out. Version-Release number of selected component (if applicable): initscripts-8.45.30-2.el5 How reproducible: Always Steps to Reproduce: 1. Configure IPv6 in /etc/sysconfig/network: NETWORKING=yes NETWORKING_IPV6=yes HOSTNAME=foo 2. Configure the network interface in /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0 BOOTPROTO=none ONBOOT=yes HWADDR=00:50:56:99:01:38 DHCPV6C=yes 3. Restart networking: # service network restart Actual results: Interface eth0 has the default IPv6 link-local address assigned to it, but not the address that would be allocated to it via IPv6 DHCPD. Expected results: The dhcp6c daemon is started and an IPv6 address is acquired for the address as well as additional information such as DNS servers etc. Additional info: This appears to be a bug in the /etc/sysconfig/network-scripts/ifup-eth script at line 234 where it exec's the ifup-post script (because IPADDR is not specified and - and therefore never gets to line 305 for configuration of the interface by DHCP.
Fixed in http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=eb389d68f4637418983e4b514a67eb84cf2f4d7b ; could be backported.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, if no IPv4 address was configured, then DHCP for an IPv6 address was not carried out. Subsequently, the eth0 interface had the default IPv6 link-local address assigned to it, instead the address that would be allocated to it via IPv6 dhcpd utility. This bug has been fixed in the /etc/sysconfig/network-scripts/ifup-eth script and now, the dhcp6c daemon is started and an IPv6 address is acquired for the address as well as additional information such as DNS servers etc.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1081.html