当前位置:网站首页>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
边栏推荐
- 在线问题反馈模块实战(十三):实现多参数分页查询列表
- Brush questions - Luogu -p1075 prime factor decomposition
- Problems and extensions of the monocular depth estimation model featdepth in practice
- Interpretation of featdepth self-monitoring model for monocular depth estimation (Part I) -- paper understanding and core source code analysis
- Brush questions - Luogu -p1161 turn on the light
- Advantages of wireless relay acquisition instrument and wireless network for engineering monitoring
- What should I do if the high-level MySQL server cannot be installed and I forget the password (MySQL 8.0.29)?
- Brush questions - Luogu -p1046 Tao Tao picking apples
- Brush questions - Luogu -p1035 series summation
- Workplace "digital people" don't eat or sleep 007 work system, can you "roll" them?
猜你喜欢

Day1: 130 questions in three languages

Multidimensional pivoting analysis of CDA level1 knowledge points summary
![Depth estimation self-monitoring model monodepth2 paper summary and source code analysis [theoretical part]](/img/22/17250eabf067b5b1b9b71e6e0ff14e.png)
Depth estimation self-monitoring model monodepth2 paper summary and source code analysis [theoretical part]

redis集群的三种方式

Practice of online problem feedback module (13): realize multi parameter paging query list

实现一个家庭安防与环境监测系统(二)

手把手教你申请SSL证书

Arduino code of key state machine for realizing single, double click, long press and other functions with esp32 timed interrupt

It is predicted that 2021 will accelerate the achievement of super automation beyond RPA

科隆新能源IPO被终止:拟募资6亿 先进制造与战新基金是股东
随机推荐
Goldfish rhca memoirs: cl210 management storage -- object storage
Brush questions - Luogu -p1075 prime factor decomposition
Working mode and sleep mode of nlm5 series wireless vibrating wire sensor acquisition instrument
Brush questions - Luogu -p1046 Tao Tao picking apples
Brush questions - luogu-p1089 Jinjin savings plan
科隆新能源IPO被终止:拟募资6亿 先进制造与战新基金是股东
Okaleido生态核心权益OKA,尽在聚变Mining模式
Can the variable name be in Chinese? Directly fooled people
redis集群的三种方式
NUC980 设置SSH Xshell连接
Brush questions - Luogu -p1035 series summation
知名手写笔记软件 招 CTO·坐标深圳
Leetcode202 --- Happy number
基于redis的keys、scan删除ttl为-1的key
Brush questions - Luogu -p1161 turn on the light
实现一个家庭安防与环境监测系统(二)
It is predicted that 2021 will accelerate the achievement of super automation beyond RPA
What you must know about data engineering in mlops
What financial products can I invest with some money in my hand?
Common problems of wireless relay acquisition instrument