Repository :
http://git.fedorahosted.org/cgit/docs/networking-guide.git
On branch : master
---------------------------------------------------------------
commit 87334d56a346e139e119a7dd89610a9c22d9a60e
Author: Stephen Wadeley <swadeley(a)redhat.com>
Date: Thu Feb 26 22:52:47 2015 +0100
Modifying a Static Ethernet Connection
---------------------------------------------------------------
en-US/Configure_Networking.xml | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/en-US/Configure_Networking.xml b/en-US/Configure_Networking.xml
index b3751da..d4e0bf5 100644
--- a/en-US/Configure_Networking.xml
+++ b/en-US/Configure_Networking.xml
@@ -2156,6 +2156,16 @@ connection.gateway-ping-timeout: 0
<lineannotation>[output truncated]</lineannotation></screen>
The use of the <option>-p, --pretty</option> option adds a title banner and
section breaks to the output.</para>
+ <bridgehead id="Modifying_a_Static_Ethernet_Connection">Modifying a
Static Ethernet Connection</bridgehead>
+
+<para>
+ To replace existing <systemitem
class="protocol">IP</systemitem> addresses, enter a command as
follows:
+ <screen>~]$ <command>nmcli con mod
<replaceable>test-lab</replaceable> ipv4.addresses
"192.168.112.112"</command></screen></para>
+ <para>
+ To add additional <systemitem class="protocol">IP</systemitem>
addresses, use the <literal>+</literal> prefix as follows:
+ <screen>~]$ <command>nmcli con mod
<replaceable>test-lab</replaceable> +ipv4.addresses
"192.168.114.114"</command></screen></para>
+ <para>
+
<example
id="ex-Configuring_a_Static_Ethernet_Connection_Using_the_Interactive_Editor">
<title>Configuring a Static Ethernet Connection Using the Interactive
Editor</title>