当前位置:网站首页>Bond0 script
Bond0 script
2022-07-25 14:09:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
#!/usr/bin/bash
this is bond0
##2021-3-28
cat > /etc/sysconfig/network-scripts/ifcfg-bond0 <<-EOF DEVICE=bond0 TYPE=Ethernet ONBOOT=yes NM_CONTROLLED=no BOOTPROTO=none IPADDR=192.168.146.128 PREFIX=24 IPV6INIT=no USERCTL=no GATEWAY=192.168.146.2 EOF cat > /etc/sysconfig/network-scripts/ifcfg-eth0 <<-EOF DEVICE=eth0 TYPE=Ethernet ONBOOT=yes NM_CONTROLLED=no BOOTPROTO=none IPV6INIT=no USERCTL=no MASTER=bond0 SLAVE=yes EOF cat > /etc/sysconfig/network-scripts/ifcfg-eth1 <<-EOF DEVICE=eth1 TYPE=Ethernet ONBOOT=yes NM_CONTROLLED=no BOOTPROTO=none IPV6INIT=no USERCTL=no MASTER=bond0 SLAVE=yes EOF cat > /etc/modprobe.d/bond0.conf <<-EOF alias bond0 bonding options bonding mode=0 miimon=100 EOF systemctl restart network Check the network card negotiation rate ethtool adapter name
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/127558.html Link to the original text :https://javaforall.cn
边栏推荐
- 数字孪生 - 认知篇
- Comprehensive sorting and summary of maskrcnn code structure process of target detection and segmentation
- 知名手写笔记软件 招 CTO·坐标深圳
- Internal error of LabVIEW
- Detailed explanation of Telnet remote login AAA mode [Huawei ENSP]
- Data analysis business core
- CDA level1 multi topic selection
- Working principle of Lora to 4G and gateway repeater
- 在线问题反馈模块实战(十三):实现多参数分页查询列表
- Day1:三种语言暴刷牛客130题
猜你喜欢

基于redis的keys、scan删除ttl为-1的key

Tm1638 LED digital display module Arduino drive code

AI model risk assessment Part 1: motivation

Brush questions - Luogu -p1146 coin flip

Brush questions - Luogu -p1085 unhappy Jinjin

DNS resolution error during windows unbutu20 lts apt, WGet installation

Common problems in the use of wireless vibrating wire acquisition instrument

Data analysis business core

Gartner 2022 top technology trend: Super automation

手把手教学Yolov7的搭建及实践
随机推荐
Brush questions - Luogu -p1047 trees outside the school gate
Can the variable name be in Chinese? Directly fooled people
Mlops column introduction
Day1: 130 questions in three languages
Interpretation of featdepth self-monitoring model for monocular depth estimation (Part I) -- paper understanding and core source code analysis
Teach you how to apply for SSL certificate
苹果手机端同步不成功,退出登录,结果再也登录不了了
Feiwo technology IPO meeting: annual revenue of 1.13 billion Hunan Cultural Tourism and Yuanli investment are shareholders
Reverse Integer
手把手教你申请SSL证书
Business analysis report and data visualization report of CDA level1 knowledge point summary
From fish eye to look around to multi task King bombing -- a review of Valeo's classic articles on visual depth estimation (from fisheyedistancenet to omnidet) (Part 2)
Gartner 2022 top technology trend: Super automation
Realize a family security and environmental monitoring system (I)
ADB connects to Xiaomi mobile phone via Wi Fi
Brush questions - Luogu -p1035 series summation
应急科普|收好这份暑期安全指南,让孩子安全过暑假!
From Anaconda to tensorflow to jupyter, step on the pit and fill it all the way
Goldfish rhca memoirs: cl210 management storage -- object storage
Working principle of Lora to 4G and gateway repeater