[networking-guide] master: nmcli, lock to mac address example (e1117a9)
stephenw at fedoraproject.org
stephenw at fedoraproject.org
Tue Jul 15 20:29:12 UTC 2014
Repository : http://git.fedorahosted.org/cgit/docs/networking-guide.git
On branch : master
>---------------------------------------------------------------
commit e1117a931e757146e9730fc4bb94ace1bdd928a6
Author: Stephen Wadeley <swadeley at redhat.com>
Date: Tue Jul 15 22:23:41 2014 +0200
nmcli, lock to mac address example
>---------------------------------------------------------------
en-US/Configure_Networking.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/en-US/Configure_Networking.xml b/en-US/Configure_Networking.xml
index 4cf9d7b..234071b 100644
--- a/en-US/Configure_Networking.xml
+++ b/en-US/Configure_Networking.xml
@@ -1962,6 +1962,15 @@ lo loopback unmanaged</screen>
<screen>~]$ <command>nmcli -p con up "<replaceable>my-eth1</replaceable>" ifname <replaceable>eth1</replaceable></command></screen>
To view detailed information about the newly configured connection, issue a command as follows:
<screen>~]$ <command>nmcli -p con show configured <replaceable>my-eth1</replaceable></command></screen></para>
+ <para>
+ To lock a profile to a specific interface, issue a command as follows:
+ <screen>~]$ <command>nmcli connection add type ethernet con-name "<replaceable>my-eth1</replaceable>" ifname eth1</command></screen>
+To make a profile usable for all compatible Ethernet interfaces, issue a command as follows:
+ <screen>~]$ <command>nmcli connection add type ethernet con-name "<replaceable>my-eth1</replaceable>" ifname "*"</command></screen>
+ Note that you have to use the <option>ifname</option> argument even if you do not want to set a specific interface. Use the wildcard character <literal>*</literal> to specify that the profile can be used with any compatible device.</para>
+ <para>To lock a profile to a specific MAC address, issue a command as follows:
+ <screen>~]$ <command>nmcli connection add type ethernet con-name "<replaceable>my-eth1</replaceable>" ifname "*" mac 00:00:5E:00:53:00</command></screen>
+ <!-- http://www.rfc-editor.org/internet-drafts/draft-eastlake-rfc5342bis-05.txt -->
</para>
<bridgehead id="Adding_a_Wi-Fi_Connection">Adding a Wi-Fi Connection</bridgehead>
More information about the docs-commits
mailing list