Bug 1151054

Summary: 'dhcrelay -6 -l <nic1> -u <nic2>' does not work
Product: Red Hat Enterprise Linux 6 Reporter: Jiri Popelka <jpopelka>
Component: dhcpAssignee: Jiri Popelka <jpopelka>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.6CC: ljozsa, pkotvan, thozza, tlavigne
Target Milestone: rcKeywords: Patch, Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: dhcp-4.1.1-45.P1.el6 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-07-22 05:39:49 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 #1001742 none

Description Jiri Popelka 2014-10-09 13:52:35 UTC
Created attachment 945313 [details]
upstream patch for bug #1001742

Description of problem:
Patch [1] that we use to fix bug #1001742 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

[1] http://pkgs.devel.redhat.com/cgit/rpms/dhcp/tree/dhcp-4.1.1-P1-ipv6-bind-to-interface.patch?h=rhel-6.6

Version-Release number of selected component (if applicable):
dhcp-4.1.1-43.P1.el6.x86_64

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

clone of bug #1151039 (RHEL-7)

Comment 2 Jiri Popelka 2014-10-10 09:45:30 UTC
Lowering both severity/priority as the IPv6 version of dhcrelay is probably not much used and there's a workaround (changing order of command-line arguments).

Comment 8 errata-xmlrpc 2015-07-22 05:39:49 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-1258.html