Network - Ubuntu 22.04: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Adding an alias # nmcli connection show NAME UUID TYPE DEVICE Ethernet connection 1 bb928bec-bfb0-45d9-9b58-84d6832cb485 ethernet eno1 br0 8c929bd9-a291-4278-a2e3-28f5b6820066 bridge br0 br-b737ea16f9fc cfde9e6c-7d56-4a43-a7d3-8856bad399ab bridge br-b737ea16f9fc docker0 bfef2e0a-519d-48bd-b963-02d5dcac0407 bridge docker0...") |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
Adding an alias | === Adding an alias === | ||
# nmcli connection show | # nmcli connection show | ||
<pre> | |||
NAME UUID TYPE DEVICE | NAME UUID TYPE DEVICE | ||
Ethernet connection 1 bb928bec-bfb0-45d9-9b58-84d6832cb485 ethernet eno1 | Ethernet connection 1 bb928bec-bfb0-45d9-9b58-84d6832cb485 ethernet eno1 | ||
br0 8c929bd9-a291-4278-a2e3-28f5b6820066 bridge br0 | br0 8c929bd9-a291-4278-a2e3-28f5b6820066 bridge br0 | ||
..... | |||
</pre>NetworkManager doesn't really support such aliases. It supports connection profiles (that basically correspond to a regular ifcfg file), and it supports multiple IP addresses per profile. But you can't split one profile into multiple parts, like what initscripts' aliases are. | |||
Latest revision as of 11:50, 15 January 2023
Adding an alias
- nmcli connection show
NAME UUID TYPE DEVICE Ethernet connection 1 bb928bec-bfb0-45d9-9b58-84d6832cb485 ethernet eno1 br0 8c929bd9-a291-4278-a2e3-28f5b6820066 bridge br0 .....
NetworkManager doesn't really support such aliases. It supports connection profiles (that basically correspond to a regular ifcfg file), and it supports multiple IP addresses per profile. But you can't split one profile into multiple parts, like what initscripts' aliases are.