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 1151039 - 'dhcrelay -6 -l <nic1> -u <nic2>' does not work
Summary: 'dhcrelay -6 -l <nic1> -u <nic2>' does not work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dhcp
Version: 7.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Jiri Popelka
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-09 13:15 UTC by Jiri Popelka
Modified: 2015-03-05 10:36 UTC (History)
6 users (show)

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.
Clone Of:
Environment:
Last Closed: 2015-03-05 10:36:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
upstream patch for bug #1005814 (10.71 KB, patch)
2014-10-09 13:15 UTC, Jiri Popelka
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0450 0 normal SHIPPED_LIVE dhcp bug fix update 2015-03-05 15:05:48 UTC

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


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