Bug 1151039

Summary: 'dhcrelay -6 -l <nic1> -u <nic2>' does not work
Product: Red Hat Enterprise Linux 7 Reporter: Jiri Popelka <jpopelka>
Component: dhcpAssignee: Jiri Popelka <jpopelka>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: haliu, jpopelka, ljozsa, lmiksik, praiskup, thozza
Target Milestone: rcKeywords: Patch, Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: dhcp-4.2.5-32.el7 Doc Type: Bug Fix
Doc Text:
Cause When running DHCPv6 relay agent and 'lower' interface is specified ('-l') on command line before 'upper' interface ('-u'). Consequence Relaying of messages does not work. Fix Problem in one of our patches was identified and fixed. Result DHCPv6 relay agent properly relays messages.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 10:36:28 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:
Embargoed:
Attachments:
Description Flags
upstream patch for bug #1005814 none

Description Jiri Popelka 2014-10-09 13:15:27 UTC
Created attachment 945309 [details]
upstream patch for bug #1005814

Description of problem:
Patch [1] that we use to fix bug #1005814 breaks dhcrelay (dhcp relay agent daemon) for IPv6.
When the 'lower' interface is specified ('-l') on command line before 'upper' interface ('-u') the relaying of messages does not work.
Example:
$ dhcrelay -d -6 -I -l eth0 -u eth1

http://pkgs.devel.redhat.com/cgit/rpms/dhcp/tree/dhcp-4.2.5-ipv6-bind-to-interface.patch?h=rhel-7.1

Version-Release number of selected component (if applicable):
dhcp-4.2.5-30.el7

How reproducible:
always

Steps to Reproduce:
1. [relay machine]
  $ dhcrelay -d -6 -I -l eth0 -u eth1
2. [relay machine]
  $ wireshark
3. [client machine]
  $ dhclient -d -6 -S ethx (ethx is connected to the same link as dhcrelay's 'lower' interface)

Actual results:
no Relay-Forw message

Expected results:
Relay-Forw message sent to ff05::1:3

Additional info:
dhcrelay -d -6 -I -u eth1 -l eth0
still works

Comment 3 Jiri Popelka 2014-10-09 13:54:40 UTC
cloned for RHEL-6 as bug #1151054

Comment 9 Ladislav Jozsa 2014-12-02 14:26:04 UTC
Verified with dhcp-4.2.5-32.el7. dhcrelay works with any 'upper' 'lower' interface order on the cmdline.I can also confirm that bz#1005814 works as well.

Comment 11 errata-xmlrpc 2015-03-05 10:36:28 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-0450.html