Bug 2060905

Summary: [RFE] Support connection for loopback interface
Product: Red Hat Enterprise Linux 8 Reporter: Gris Ge <fge>
Component: NetworkManagerAssignee: Thomas Haller <thaller>
Status: CLOSED NEXTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact: Jaroslav Klech <jklech>
Priority: high    
Version: 8.6CC: bgalvani, jbainbri, jklech, jmaxwell, lrintel, qguo, rkhan, sfaye, sukulkar, till, vbenes, wenliang
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2073512 (view as bug list) Environment:
Last Closed: 2022-11-29 22:57:37 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: 2059655, 2073512, 2130221    

Description Gris Ge 2022-03-04 13:45:48 UTC
Description of problem:

Supporting loopback interface allows us:
 * Add extra IP to loopback.
 * Define DNS configuration.
 * Define special route which does not bind to a interface.
 * Define route rule which is not interface related.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Jamie Bainbridge 2022-03-30 05:46:22 UTC
Customers running Oracle often want to change the MTU of the loopback to 16 KiB (down from the default 64 KiB).

I'm not sure why this is. It seems Oracle sends MTU-sized UDP messages, however it can't handle such large messages as 64 KiB at once without dropping them. Reducing the MTU to 16 KiB resolves this.

As far as I know, every system running Oracle needs to manage the loopback MTU.

Comment 15 Thomas Haller 2022-11-25 16:00:11 UTC
fixed upstream (1.41.6+) by https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1332

Comment 16 Jamie Bainbridge 2022-11-29 22:57:37 UTC
This work is done upstream but it is a large set of code changes and introduces undesirable risk to backport to RHEL 8. To ensure the stability of NetworkManager in RHEL8, this feature will be delivered in RHEL 9 and later. That work is being done on Bug 2073512.

For RHEL 8 and earlier, there are multiple viable workarounds depending on specific need. These include:

- a dummy interface to hold IP addresses
- a systemd unit to apply loopback settings on boot
- use the network initscript to manage loopback settings/IPs

These are documented on the knowledgebase at:

 How do I manage the "lo" loopback interface using NetworkManager? 
 https://access.redhat.com/solutions/2108251

Comment 17 Jaroslav Klech 2023-02-06 12:30:54 UTC
(In reply to Jamie Bainbridge from comment #16)
> This work is done upstream but it is a large set of code changes and
> introduces undesirable risk to backport to RHEL 8. To ensure the stability
> of NetworkManager in RHEL8, this feature will be delivered in RHEL 9 and
> later. That work is being done on Bug 2073512.
> 
> For RHEL 8 and earlier, there are multiple viable workarounds depending on
> specific need. These include:
> 
> - a dummy interface to hold IP addresses
> - a systemd unit to apply loopback settings on boot
> - use the network initscript to manage loopback settings/IPs
> 
> These are documented on the knowledgebase at:
> 
>  How do I manage the "lo" loopback interface using NetworkManager? 
>  https://access.redhat.com/solutions/2108251

Hi Jamie,

does it mean that for RHEL 8 there does not need to be a release note for this feature?

Thanks for your clarification,
Jaroslav

Comment 18 Jamie Bainbridge 2023-02-07 01:54:43 UTC
(In reply to Jaroslav Klech from comment #17)
> does it mean that for RHEL 8 there does not need to be a release note for
> this feature?

I don't expect this would be in the Release Notes for RHEL 8.

This isn't a feature at all in RHEL 8, so we wouldn't say that we haven't put the feature in.

For customers who ask the specific "how do I do this?" question, we have the knowledgebase to answer that.

However, I expect this feature would be in the RHEL 9.2 Release Notes, and that work can be done on Bug 2073512 which includes this feature in 9.2.

lmk if I can help any time.

Comment 19 Jaroslav Klech 2023-02-08 15:16:35 UTC
(In reply to Jamie Bainbridge from comment #18)
> (In reply to Jaroslav Klech from comment #17)
> > does it mean that for RHEL 8 there does not need to be a release note for
> > this feature?
> 
> I don't expect this would be in the Release Notes for RHEL 8.
> 
> This isn't a feature at all in RHEL 8, so we wouldn't say that we haven't
> put the feature in.
> 
> For customers who ask the specific "how do I do this?" question, we have the
> knowledgebase to answer that.
> 
> However, I expect this feature would be in the RHEL 9.2 Release Notes, and
> that work can be done on Bug 2073512 which includes this feature in 9.2.
> 
> lmk if I can help any time.

Based on the previous comment, im removing this from 8.8 RN schedule. Setting "No Doc Update", removing from tickets.yml