wiki:nmcli_network_tool
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:nmcli_network_tool [2021/05/06 13:15] – [Overview] walkeradmin | wiki:nmcli_network_tool [2021/05/06 13:21] (current) – walkeradmin | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| ==== nmcli ==== | ==== nmcli ==== | ||
| + | While nmcli may have many uses, I want to focus on just one. This is not a how to fix your network, this is just highlighting a good use for nmcli. Running nmcli displayed the following output: | ||
| + | \\ | ||
| + | \\ | ||
| + | < | ||
| + | nmcli con | ||
| + | |||
| + | |||
| + | NAME UUID TYPE DEVICE | ||
| + | eth0 d9ced338-a402-60eb-c131-0fd3ab4b5ab7 | ||
| + | eth1 84d43311-57c8-8986-f205-9c78cd6ef5d2 | ||
| + | eth2 ee7189fe-a32a-4873-bf26-145d4e19a51d | ||
| + | eth4 3a73717e-65ab-93e8-b518-24f5af32dc0d | ||
| + | eth5 841334f5-7d18-33f9-86f1-84cee61678a0 | ||
| + | eth3 c5ca8081-6db2-4602-4b46-d771f4330a6d | ||
| + | </ | ||
| + | If you look at the above output, you can see that the <color # | ||
| + | \\ | ||
| + | \\ | ||
| + | The problem was in the ifcfg-ethx files, and once this was fixed (the eth name and mac address in each file was incorrect). | ||
| + | \\ | ||
| + | \\ | ||
| + | After fixing this issue, running nmcli again gave the following output: | ||
| + | \\ | ||
| + | < | ||
| + | nmcli con | ||
| + | |||
| + | |||
| + | NAME UUID TYPE DEVICE | ||
| + | eth0 d9ced338-a402-60eb-c131-0fd3ab4b5ab7 | ||
| + | eth1 84d43311-57c8-8986-f205-9c78cd6ef5d2 | ||
| + | eth2 ee7189fe-a32a-4873-bf26-145d4e19a51d | ||
| + | eth4 3a73717e-65ab-93e8-b518-24f5af32dc0d | ||
| + | eth5 841334f5-7d18-33f9-86f1-84cee61678a0 | ||
| + | eth3 c5ca8081-6db2-4602-4b46-d771f4330a6d | ||
| + | </ | ||
| + | Now that the <color # | ||
| + | \\ | ||
| + | \\ | ||
| + | |||
wiki/nmcli_network_tool.1620306952.txt.gz · Last modified: (external edit)
