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 990896 - RFE: support config of ipv6 ip-dhcp-host/ip-dhcp-range/ip-route in libvirt
Summary: RFE: support config of ipv6 ip-dhcp-host/ip-dhcp-range/ip-route in libvirt
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Laine Stump
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-01 07:32 UTC by hongming
Modified: 2016-04-26 14:20 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-25 22:27:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description hongming 2013-08-01 07:32:05 UTC
Description of problem:
The ipv6 ip-dhcp-host/ip-dhcp-range/route vanish in virsh net-dumpxml and net-edit


Version-Release number of selected component (if applicable):
libvirt-0.10.2-21.el6.x86_64
dnsmasq-2.48-13.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
# cat network2.xml
<network>
<name>net7</name>
<bridge name="virbr7" />
<forward mode="route"/>
<ip family="ipv6" address="2001:db8:ca2:7::1" prefix="64" >
<dhcp>
<range start="2001:db8:ca2:7::100" end="2001:db8:ca2:7::fff" />
<host id="0:4:7e:7d:f0:7d:a8:bc:c5:d2:13:32:11:ed:16:ea:84:63" name="lucas" ip="2001:db8:ca2:2:3::4" />
</dhcp>
</ip>
<route family="ipv6" address="2001:db8:ca2:8::" prefix="64" gateway="2001:db8:ca2:7::4" >
</route>
</network>

# virsh net-define network2.xml
Network net7 defined from network2.xml

# virsh net-start net7
Network net7 started

# virsh net-dumpxml net7
<network>
  <name>net7</name>
  <uuid>b12150b0-e752-bf95-6f1d-2e60f2c7fe29</uuid>
  <forward mode='route'/>
  <bridge name='virbr7' stp='on' delay='0' />
  <mac address='52:54:00:B0:4F:7D'/>
  <ip family='ipv6' address='2001:db8:ca2:7::1' prefix='64'>
  </ip>
</network>

# virsh net-edit net7
The ipv6 ip-dhcp-host/ip-dhcp-range/route vanish

# ps -ef|grep dnsmasq
nobody   13556     1  0 03:24 ?        00:00:00 /usr/sbin/dnsmasq --strict-order --local=// --domain-needed --pid-file=/var/run/libvirt/network/net7.pid --conf-file= --except-interface lo --bind-interfaces --listen-address 2001:db8:ca2:7::1


Actual results:
Fail to config ipv6 ip-dhcp-host/ip-dhcp-range/ip-route in libvirt

Expected results:
Successfully config ipv6 ip-dhcp-host/ip-dhcp-range/ip-route in libvirt

Additional info:

Comment 2 Yves Vogl 2013-11-01 19:08:44 UTC
I can confirm this.

dnsmasq.x86_64       2.48-13.el6       
libvirt.x86_64       0.10.2-18.el6_4.14

Comment 3 Laine Stump 2013-11-04 09:17:55 UTC
RHEL6.x libvirt is based on libvirt-0.10.2.

DHCPv6 is supported in libvirt-1.0.1 and later. Static routes in network definitions are supported libvirt-1.0.6 and later, i.e. these are new features that are not currently a part of libvirt in RHEL6.x.

If you have a requirement for these features, please open a ticket with Red Hat customer support so that the possiblity of a backport can be investigated.

Comment 4 Laine Stump 2013-11-04 09:21:47 UTC
I've turned this into an RFE. *if* libvirt is rebased in a future version of RHEL, this capability will come for free. If not, then it would require non-trivial backport work.

Comment 7 Jiri Denemark 2014-04-04 21:38:06 UTC
This bug was not selected to be addressed in Red Hat Enterprise Linux 6. We will look at it again within the Red Hat Enterprise Linux 7 product.

Comment 8 Jiri Denemark 2014-07-25 22:27:11 UTC
This was apparently implemented before 7.0.


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