RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 585253 - range support & preferred_lft for IPv6 secondaries
Summary: range support & preferred_lft for IPv6 secondaries
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: initscripts
Version: 6.0
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Lukáš Nykrýn
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 960054
TreeView+ depends on / blocked
 
Reported: 2010-04-23 14:40 UTC by Wouter de Jong
Modified: 2016-11-25 13:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-24 06:47:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Wouter de Jong 2010-04-23 14:40:37 UTC
Description of problem:

Feature request.

For IPv4, we can specify ranges like :

/etc/sysconfig/network-scripts/ifcfg-ethX-range0

CLONENUM_START=0
DEVICE=eth0:0-253
IPADDR_START=x.x.1.1
IPADDR_END=x.x.1.254
NETMASK=255.255.255.0

Would be very useful to be able to do something similar for IPv6.

Since network-scripts/ifup-ipv6 and network-scripts/network-functions-ipv6 
are based on http://www.deepspace6.net/projects/initscripts-ipv6.html, 
this could probably be easily implemented based on (ipv6_add_addr_on_device_with_range_support) :

* http://cvs.deepspace6.net/view/*checkout*/initscripts-ipv6/common/etc/sysconfig/network-scripts/network-functions-ipv6

* http://cvs.deepspace6.net/view/*checkout*/initscripts-ipv6/common/etc/sysconfig/network-scripts/ifup-ipv6

Second feature request regarding IPv6 secondaries would be to be able to 
set the preferred_lft to something custom, eg :

ipv6_exec_ip addr change $ipv6addr dev $DEVICE preferred_lft 0

So you can prevent the addresses from being included in the source address selection algorithm. (Based on http://www.davidc.net/networking/ipv6-source-address-selection-linux, and it works ok)
Debian & Gentoo seem to support this via their config files.

Version-Release number of selected component (if applicable): initscripts-9.03.4-1.el6.i686

Comment 2 RHEL Program Management 2010-04-23 16:45:33 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Bill Nottingham 2010-04-23 18:29:17 UTC
There's a bug already on preferred_lft, actually.

Comment 4 Wouter de Jong 2010-04-26 08:36:20 UTC
Sorry, you're totally right.
I missed that one (Bug #583441).

Comment 5 RHEL Program Management 2010-07-15 14:48:04 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release. It has
been denied for the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 6 Wouter de Jong 2010-07-16 18:09:55 UTC
If this is denied for 6.0, could this be considered for 6.1 then please ?

Comment 12 RHEL Program Management 2012-05-03 04:40:49 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 14 Lukáš Nykrýn 2013-04-24 06:47:21 UTC
I am closing this as wontfix, this RFE is quite old and we don't have a patch for it (original links does not work anymore).
If somebody still wants this feature, please feel to reopen this bug.

Comment 15 Stefan Neufeind 2013-11-26 11:07:12 UTC
We'd appreciate to get a way that at least IPv6-secondaries can be declared as "preferred_lft 0" (not to be used for automatic source-selection) in ifup-ipv6. See also #583441 filed against Fedora.


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