Bug 217312 - IPv6 stateful configuration not used receiving 'AdvManagedFlag: on'
Summary: IPv6 stateful configuration not used receiving 'AdvManagedFlag: on'
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Thomas Graf
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-26 22:48 UTC by Matthew Booth
Modified: 2014-06-18 08:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-14 23:49:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matthew Booth 2006-11-26 22:48:52 UTC
Description of problem:
I have IPV6_AUTOCONF=yes specified in /etc/sysconfig/network-scripts/ifcfg-foo.
I have:
net.ipv6.conf.eth0.accept_ra=1
net.ipv6.conf.eth0.accept_redirects=1
net.ipv6.conf.eth0.autoconf=1

I have radvd configured to contain 'AdvManagedFlag: on':
[root@mbooth ~]# radvdump
Router advertisement from xxxx::xxxx:xxxx:xxxx:xxxx (hoplimit 255)
Received by interface eth0
        # Note: {Min,Max}RtrAdvInterval cannot be obtained with radvdump
        AdvCurHopLimit: 64
        AdvManagedFlag: on
        AdvOtherConfigFlag: on
        AdvHomeAgentFlag: off
        AdvReachableTime: 0
        AdvRetransTimer: 0
        Prefix xxxx:xxxx:xxxx:xxxx::/64
                AdvValidLifetime: 2592000
                AdvPreferredLifetime: 604800
                AdvOnLink: on
                AdvAutonomous: on
                AdvRouterAddr: off
        AdvSourceLLAddress: XX XX XX XX XX XX

I have dhcp6s configured correctly in this environment (I am currently using an
IPv6 address assigned by it). The machine correctly obtains an IP address in the
network specified by radvd. However, unless I add DHCPV6C=yes to ifcfg-foo,
which starts dhcp6c explicitly on the interface, the stateful protocol is never
used.

Version-Release number of selected component (if applicable):
kernel-2.6.9-42.0.3.EL

How reproducible:
Always


Steps to Reproduce:
1. As above
  
Actual results:
Machine obtains IP using stateless protocol, but ignores stateful (DHCPv6).

Expected results:
Machine obtains IP (and associated network info) using stateful autoconf (DHCPv6).

Comment 1 Thomas Graf 2008-06-14 10:13:15 UTC
Are you still experiencing this problem?

Comment 2 Matthew Booth 2008-06-14 22:11:43 UTC
No idea.

Comment 3 Thomas Graf 2008-06-14 23:49:45 UTC
The current upstream decision is to not invoke dhcpv6 if the managed flag is
set. The flag is ignored and a explicit call to a dhcp client is expected in the
if-up scripts to achieve stateful autoconf.

Therefore I'm closing this bug for now. We may back port this to RHEL5 if it
gets implemented upstream.


Note You need to log in before you can comment on or make changes to this bug.