showbas.blogg.se

Centos 7 ifconfig
Centos 7 ifconfig













To test the fault tolerance we can down one interface and check whether you are still able access the server. Use following command to view bond interface settings like bonding mode & slave interface. Use ‘ ifconfig‘ & ‘ ip add‘ command to check bond interface along with its slave interfaces. ~]# systemctl restart rvice Step:4 Test & Verify bond interface. SLAVE=yes Step:3 Restart the Network Serviceīelow command will restart the network service and will bring above changes into the effect. Please refer this for Different Modes in NIC bonding Step:2 Edit the NIC interface filesįor ifcfg-enp0s3 ~]# vi /etc/sysconfig/network-scripts/ifcfg-enp0s3įor ifcfg-enp0s8 ~]# cat /etc/sysconfig/network-scripts/ifcfg-enp0s8

centos 7 ifconfig

In my example i am using ‘ mode=5′ which is used to provide fault tolerance and load balancing. Specify the IP address, Netmask & bonding modes as per your requirement. ~]# modinfo bondingĬreate a bond interface file ( ifcfg-bond0) under the folder “ /etc/sysconfig/network-scripts/” network-scripts]# vi ifcfg-bond0 To list the bonding module info, use following command.















Centos 7 ifconfig