当前位置:网站首页>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
边栏推荐
- 2271. Maximum number of white bricks covered by blanket ●●
- Famous handwritten note taking software recruit CTO · coordinate Shenzhen
- Brush questions - Luogu -p1150 Peter's smoke
- Internal error of LabVIEW
- opencv视频跟踪「建议收藏」
- Interpretation of featdepth self-monitoring model for monocular depth estimation (Part 2) -- use of openmmlab framework
- ~4.2 CCF 2021-12-1 sequence query
- Realize a family security and environmental monitoring system (II)
- Leetcode -- addition of four numbers II
- [learning record] plt.show() solution to flash back
猜你喜欢

Emergency science | put away this summer safety guide and let children spend the summer vacation safely!

CDA level Ⅰ 2021 new version simulation question 1 (with answers)

Internal error of LabVIEW

Brush questions - Luogu -p1085 unhappy Jinjin

Acquisition data transmission mode and online monitoring system of wireless acquisition instrument for vibrating wire sensor of engineering instrument

Alibaba mqtt IOT platform "cloud product circulation" practice - the two esp32 achieve remote interoperability through the IOT platform

maya建模练习

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

Day1:三种语言暴刷牛客130题

~5 new solution of CCF 2021-12-2 sequence query
随机推荐
Lesson of C function without brackets
Brush questions - Luogu -p1146 coin flip
如何设计一个高并发系统?
Setting of parameter configuration tool for wireless vibrating wire collector
Detailed explanation of nat/napt address translation (internal and external network communication) technology [Huawei ENSP]
idea正则表达式替换(idea正则搜索)
Leetcode1 -- sum of two numbers
OKA通证权益解析,参与Okaleido生态建设的不二之选
Business analysis report and data visualization report of CDA level1 knowledge point summary
Digital Twins - cognition
That day, I installed a database for my sister... Just help her sort out another shortcut
Brush questions - Luogu -p1151 sub number integer
Acquisition data transmission mode and online monitoring system of wireless acquisition instrument for vibrating wire sensor of engineering instrument
职场「数字人」不吃不睡007工作制,你「卷」得过它们吗?
~5 new solution of CCF 2021-12-2 sequence query
Alibaba mqtt IOT platform "cloud product circulation" practice - the two esp32 achieve remote interoperability through the IOT platform
The practice of depth estimation self-monitoring model monodepth2 in its own data set -- single card / multi card training, reasoning, onnx transformation and quantitative index evaluation
Data analysis interview records 1-5
Cologne new energy IPO was terminated: the advanced manufacturing and Zhanxin fund to be raised is the shareholder
Mlops column introduction