Network - Ubuntu 22.04: Difference between revisions

From Mike's wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
Adding an alias  
=== Adding an alias ===
 
# nmcli connection show
# nmcli connection show
<pre>
<pre>
Line 7: Line 6:
br0                    8c929bd9-a291-4278-a2e3-28f5b6820066  bridge    br0             
br0                    8c929bd9-a291-4278-a2e3-28f5b6820066  bridge    br0             
.....
.....
</pre>
</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

  1. 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.