Bug 1152951

Summary: Impossible to set up an IPv6 multipath route
Product: Red Hat Enterprise Linux 6 Reporter: ddu
Component: iprouteAssignee: Pavel Šimerda (pavlix) <psimerda>
Status: CLOSED ERRATA QA Contact: Jaroslav Aster <jaster>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5CC: ebenes, jaster, psimerda, thozza
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: iproute-2.6.32-43.el6 Doc Type: Bug Fix
Doc Text:
Prior to this update, multipath routing did not function with IPv6 addresses and resulted in an "IP address is expected rather than "2001:470:25:94::1" error. To fix this bug, a patch that enables adding multipath routes using IPv6 addresses has been applied.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 06:41:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1201208    
Bug Blocks:    
Attachments:
Description Flags
patch none

Description ddu 2014-10-15 09:22:31 UTC
Description of problem:

This is the same bug as in Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=734697

In Fedora, this bug has been fixed.

Also in Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556974

Doing multipath routing with IPv4 works fine, but it doesn't with IPv6:
    # ip -6 route add default nexthop via 2001:470:25:94::1 weight 1 nexthop via 2001:41e0:ff00:47::1 weight 1
    Error: an IP address is expected rather than "2001:470:25:94::1"

Note that the Debian bug doesn't specify it, but the problem happens even if you only specify one path:
    # ip -6 route add default nexthop via 2001:470:25:94::1 weight 1

This should be equivalent to the same command without the "nexthop":
    # ip -6 route add default via 2001:470:25:94::1 weight 1
    Error: an IP address is expected rather than "2001:470:25:94::1"

Again, this works perfectly fine with IPv4.

How reproducible:
    100%

Steps to Reproduce:
    1. Make sure your network is IPv6 enabled
    2. Try adding a multipath IPv6 route (it doesn't have to have several "nexthop", one is enough to trigger the bug)

Actual results:
Below error output:
Error: an IP address is expected rather than "2001:470:25:94::1"

Expected results:
A working IPv6 multipath route.

Comment 3 Pavel Šimerda (pavlix) 2014-12-16 10:12:03 UTC
Created attachment 969509 [details]
patch

Comment 16 Jaroslav Aster 2015-03-09 10:39:52 UTC
Still does not work. Same error message.

Comment 20 errata-xmlrpc 2015-07-22 06:41:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1331.html