zoukankan      html  css  js  c++  java
  • linux centos配置bond

    思科交换机的配置

    CORESW-CD18-254#show run int port-channel 25

    Building configuration...

    Current configuration : 122 bytes

    !

    interface Port-channel25

     description Po25_To_cd-gw-bound0

     no switchport

     ip address 172.17.201.2 255.255.255.252

    end

    CORESW-CD18-254#show run int gi             

    CORESW-CD18-254#show run int gigabitEthernet 1/0/25

    Building configuration...

    Current configuration : 141 bytes

    !

    interface GigabitEthernet1/0/25

     description Gi1/0/25_To_cd-gw-Bound0-em3

     no switchport

     no ip address

     channel-group 25 mode active

    end

    CORESW-CD18-254#show run int gigabitEthernet 2/0/25

    Building configuration...

    Current configuration : 141 bytes

    !

    interface GigabitEthernet2/0/25

     description Gi2/0/25_To_cd-gw-Bound0-em4

     no switchport

     no ip address

     channel-group 25 mode active

    end

    CORESW-CD18-254#

    centos的配置

    DEVICE=bond0                                                                                                 

    ONBOOT=yes

    BONDING_OPTS="miimon=1000 mode=4"

    TYPE=Ethernet

    BOOTPROTO=none

    IPADDR=172.17.201.1

    NETMASK=255.255.255.252

    EVICE=em3                                                                                                   

    TYPEONBOOT=yes

    HOTPLUG=no

    TYPE=Ethernet

    BOOTPROTO=none

    SLAVE=yes

    MASTER=bond0

    DEVICE=em4                                                                                                   

    TYPEONBOOT=yes

    HOTPLUG=no

    TYPE=Ethernet

    BOOTPROTO=none

    SLAVE=yes

    MASTER=bond0 

  • 相关阅读:
    Springboot默认配置文件application.properties的常见配置属性
    Springboot基础核心
    这样统计代码执行耗时,才足够优雅!
    什么原因才导致 select * 效率低下的?
    建立apk定时自动打包系统第三篇——代码自动更新、APP自动打包系统
    [LeetCode] 543. 二叉树的直径
    Mybatis源码分析(一)
    Dockerfile创建docker
    JavaScript浅析
    mac os下 vmware Fusion Linux虚拟机配置静态ip无法上网问题
  • 原文地址:https://www.cnblogs.com/wangzengyi/p/12492743.html
Copyright © 2011-2022 走看看