diff --git a/docs/source/guides/admin-guides/manage_clusters/common/deployment/cfg_network_bond.rst b/docs/source/guides/admin-guides/manage_clusters/common/deployment/cfg_network_bond.rst index ad3bdd89c..d7360b127 100644 --- a/docs/source/guides/admin-guides/manage_clusters/common/deployment/cfg_network_bond.rst +++ b/docs/source/guides/admin-guides/manage_clusters/common/deployment/cfg_network_bond.rst @@ -5,6 +5,7 @@ The following example set the xCAT properties for compute node ``cn1`` to create * Compute node ``cn1`` has two physical NICs: eth2 and eth3 * Bond eth2 and eth3 as ``bond0`` + * Assign ip ``40.0.0.1`` to the bonded interface ``bond0`` Define attributes in the ``nics`` table ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18,15 +19,15 @@ Define attributes in the ``nics`` table b. Define ``bond0`` and bond ``eth2`` and ``eth3`` as ``bond0`` :: - chdef cn1 nictypes.bond0=bond \ - nicdevices.bond0="eth2|eth3" + chdef cn1 nictypes.bond0=bond nicdevices.bond0="eth2|eth3" + chdef cn1 nicips.bond0=40.0.0.1 Add network object into the networks table ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Use the ``chdef`` command to add/modify the networks in the ``networks`` table :: - chdef -t network net40 net=20.0.0.0 mask=255.0.0.0 mgtifname=eth1 + chdef -t network net40 net=40.0.0.0 mask=255.0.0.0 mgtifname=eth1 chdef cn1 nicnetworks.bond0=net40 Add ``confignetwork`` into the node's postscripts list