Bug 1912412
| Summary: | need better help info for bareudp in iproute2 | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Mingyu Shi <mshi> | |
| Component: | iproute | Assignee: | Andrea Claudi <aclaudi> | |
| Status: | CLOSED ERRATA | QA Contact: | Mingyu Shi <mshi> | |
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | 8.4 | CC: | aclaudi, atragler, gnault, jiji, lmiksik, mshi, sukulkar, yuma | |
| Target Milestone: | rc | Keywords: | Triaged | |
| Target Release: | 8.5 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | iproute-5.9.0-4.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1937861 (view as bug list) | Environment: | ||
| Last Closed: | 2021-05-18 15:00:18 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1937861 | |||
|
Description
Mingyu Shi
2021-01-04 11:54:33 UTC
This is now fixed upstream with commit 86d9660dc180 ("iplink_bareudp: cleanup help message and man page"):
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=86d9660dc1805be4435497ff194f618535e8fc97
Thanks Guillaume! Mingyu, please consider granting qa_ack+ and setting ITM, I'll try to squeeze this into rhel-8.4. Tried with iproute-5.9.0-4.el8.x86_64, the new description looks good:
# ip link help bareudp
Usage: ... bareudp dstport PORT
ethertype PROTO
[ srcportmin PORT ]
[ [no]multiproto ]
Where: PORT := UDP_PORT
PROTO := ETHERTYPE
Note: ETHERTYPE can be given as number or as protocol name ("ipv4", "ipv6",
"mpls_uc", etc.).
# man ip-link
Note: ETHERTYPE can be given as number or as protocol name ("ipv4", "ipv6",
"mpls_uc", etc.).
Bareudp Type Support
For a link of type Bareudp the following additional arguments are supported:
ip link add DEVICE type bareudp dstport PORT ethertype PROTO [ srcportmin PORT ] [ [no]multiproto ]
dstport PORT - specifies the destination port for the UDP tunnel.
ethertype PROTO - specifies the ethertype of the L3 protocol being tunnelled. ethertype can be given as plain Ethernet protocol number or using the protocol name ("ipv4", "ipv6", "mpls_uc", etc.).
srcportmin PORT - selects the lowest value of the UDP tunnel source port range.
[no]multiproto - activates support for protocols similar to the one specified by ethertype. When ethertype is "mpls_uc" (that is, unicast MPLS), this allows the tunnel to also handle multicast MPLS. When ethertype is "ipv4", this allows the
tunnel to also handle IPv6. This option is disabled by default.
iproute-5.9.0-4.el8.x86_64 CI tests, passed: https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/35311555 Verified with iproute-5.9.0-4.el8.x86_64 Just as #c7 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 (iproute bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2021:1653 |