After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 777863 - [review] dummy connections support [bg/dummy-bgo777863]
[review] dummy connections support [bg/dummy-bgo777863]
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
1.6.x
Other Linux
: Normal enhancement
: ---
Assigned To: Beniamino Galvani
NetworkManager maintainer(s)
Depends on:
Blocks: nm-review
 
 
Reported: 2017-01-28 07:59 UTC by Mantas Mikulėnas (grawity)
Modified: 2017-02-22 20:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mantas Mikulėnas (grawity) 2017-01-28 07:59:23 UTC
This is a feature request for adding 'dummy' type virtual interfaces.

  ip link add frob0 type dummy

Has no parameters of its own (besides name) – only the generic IP configuration, MAC address, etc.

Use cases:

 * Sometimes you have e.g. a VM bridge whose ports come and go, and you want it to remain 'UP' despite having no VMs running at the moment. There doesn't seem to be a bridge setting for that (a bridge with no ports always shows up as 'NO-CARRIER', and I don't think NM even allows _configuring_ empty bridges), so you add a dummy interface as a port.

 * When configuring a router or a multihomed host, it's common to assign IP address to the "loopback" interface (e.g. because they're reachable through several networks but don't actually belong to any of them). But some programs can't handle 'lo' well, so a separate dummy0 is often used instead.
Comment 1 Beniamino Galvani 2017-02-01 18:15:13 UTC
Pushed branch bg/dummy-bgo777863 for review.
Comment 2 Thomas Haller 2017-02-03 18:08:24 UTC
lgtm
Comment 3 Francesco Giudici 2017-02-22 18:25:42 UTC
Nice branch! lgtm