Centos7 Configuration Dual Network Card Bond

Time:2019-8-13

Environment: CentOS 7.5
ip:10.0.0.5
Network Card: ens33, ens38

Edit master configuration file

Vim/etc/sysconfig/network-scripts/ifcfg-bond0#edit bond configuration

Centos7 Configuration Dual Network Card Bond

Configure master-slave network card configuration file

vim /etc/sysconfig/network-scripts/ifcfg-ens33

Centos7 Configuration Dual Network Card Bond

vim /etc/sysconfig/network-scripts/ifcfg-ens38

Centos7 Configuration Dual Network Card Bond

Service Opening and Detection

Restart network services:

systemctl restart network

Check whether the network card information is normal:

ifconfig


You can also determine bond status by looking at memory information:

cat /proc/net/bonding/bond0

Recommended Today

Implementation of PHP Facades

Example <?php class RealRoute{ public function get(){ Echo’Get me’; } } class Facade{ public static $resolvedInstance; public static $app; public static function __callStatic($method,$args){ $instance = static::getFacadeRoot(); if(!$instance){ throw new RuntimeException(‘A facade root has not been set.’); } return $instance->$method(…$args); } // Get the Facade root object public static function getFacadeRoot() { return static::resolveFacadeInstance(static::getFacadeAccessor()); } protected […]