Repository :
http://git.fedorahosted.org/cgit/docs/networking-guide.git
On branch : master
---------------------------------------------------------------
commit b994b51400bef053cd4cf64267341e527e22c9c3
Author: Stephen Wadeley <swadeley(a)redhat.com>
Date: Sat Nov 15 11:52:29 2014 +0100
Change NETMASK to PREFIX
NETMASK is depreciated
PREFIX is easier to use, less error prone.
See usr/share/doc/initscripts/sysconfig.txt
---------------------------------------------------------------
en-US/Configure_802_1Q_VLAN_Tagging.xml | 2 +-
en-US/Configure_Network_Bonding.xml | 4 ++--
en-US/Configure_Network_Bridging.xml | 4 ++--
en-US/Configure_Network_Teaming.xml | 2 +-
en-US/Configure_Networking.xml | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/en-US/Configure_802_1Q_VLAN_Tagging.xml
b/en-US/Configure_802_1Q_VLAN_Tagging.xml
index 67eb915..da3bcf5 100644
--- a/en-US/Configure_802_1Q_VLAN_Tagging.xml
+++ b/en-US/Configure_802_1Q_VLAN_Tagging.xml
@@ -189,7 +189,7 @@ ONBOOT=yes</screen>
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.1.1
-NETMASK=255.255.255.0
+PREFIX=24
NETWORK=192.168.1.0
VLAN=yes</screen>
<para>
diff --git a/en-US/Configure_Network_Bonding.xml b/en-US/Configure_Network_Bonding.xml
index 85a064c..6fe3ffd 100644
--- a/en-US/Configure_Network_Bonding.xml
+++ b/en-US/Configure_Network_Bonding.xml
@@ -364,7 +364,7 @@ See the <filename>modprobe(8)</filename> man page for more
command options.
NAME=bond0
TYPE=Bond
IPADDR=192.168.1.1
-NETMASK=255.255.255.0
+PREFIX=24
ONBOOT=yes
BOOTPROTO=none
BONDING_OPTS="<replaceable>bonding parameters separated by
spaces</replaceable>"</programlisting>
@@ -479,7 +479,7 @@ Then when complete, bring up all the slaves, which will bring up the
bond (provi
NAME=bondN
TYPE=Bond
IPADDR=192.168.1.1
-NETMASK=255.255.255.0
+PREFIX=24
ONBOOT=yes
BOOTPROTO=none
BONDING_OPTS="<replaceable>bonding parameters separated by
spaces</replaceable>"</programlisting>
diff --git a/en-US/Configure_Network_Bridging.xml b/en-US/Configure_Network_Bridging.xml
index f62d74c..237736b 100644
--- a/en-US/Configure_Network_Bridging.xml
+++ b/en-US/Configure_Network_Bridging.xml
@@ -282,7 +282,7 @@ See the <filename>modprobe(8)</filename> man page for more
command options.
<programlisting>DEVICE=br0
TYPE=Bridge
IPADDR=192.168.1.1
-NETMASK=255.255.255.0
+PREFIX=24
ONBOOT=yes
BOOTPROTO=none
NM_CONTROLLED=no
@@ -350,7 +350,7 @@ NM_CONTROLLED=no</programlisting>
ONBOOT=yes
TYPE=Bridge
IPADDR=192.168.1.1
-NETMASK=255.255.255.0
+PREFIX=24
NM_CONTROLLED=no</programlisting>
</para>
diff --git a/en-US/Configure_Network_Teaming.xml b/en-US/Configure_Network_Teaming.xml
index b90ebd9..5c633be 100644
--- a/en-US/Configure_Network_Teaming.xml
+++ b/en-US/Configure_Network_Teaming.xml
@@ -507,7 +507,7 @@ DEVICETYPE=Team
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.11.1
-NETMASK=255.255.255.0
+PREFIX=24
TEAM_CONFIG='{"runner": {"name": "activebackup"},
"link_watch": {"name": "ethtool"}}'</screen>
This creates the interface to the team, in other words, this is the master.
</para>
diff --git a/en-US/Configure_Networking.xml b/en-US/Configure_Networking.xml
index 680c111..c434640 100644
--- a/en-US/Configure_Networking.xml
+++ b/en-US/Configure_Networking.xml
@@ -1582,7 +1582,7 @@ To restrict connections and networking, there are two options which
can be used
<programlisting>DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
-NETMASK=255.255.255.0
+PREFIX=24
IPADDR=10.0.1.27
NM_CONTROLLED=no</programlisting>
Optionally specify the hardware or MAC address using the
<command>HWADDR</command> directive. Note that this will influence the device
naming procedure as explained in <xref
linkend="ch-Consistent_Network_Device_Naming" />. You do not need to specify
the broadcast address as this is calculated automatically by
<application>ipcalc</application>.