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 14:14] – walkeradmin | wiki:nmcli_network_tool [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
---- | ---- | ||
- | A customer had made lots of changes to the network interfaces on a unit and was having a lot of issues, performing an <color # | + | A customer had made lots of changes to the network interfaces on a unit and was having a lot of issues, performing an <color # |
+ | \\ | ||
+ | \\ | ||
+ | However, using the nmcli tool told a slightly different story. | ||
\\ | \\ | ||
\\ | \\ | ||
---- | ---- | ||
+ | |||
==== 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.1620306887.txt.gz · Last modified: 2023/03/09 22:35 (external edit)