当前位置:网站首页>bond0脚本
bond0脚本
2022-07-25 14:05:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
#!/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 查看网卡协商速率 ethtool 网卡名
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/127558.html原文链接:https://javaforall.cn
边栏推荐
- Leetcode -- addition of four numbers II
- Practice of online problem feedback module (13): realize multi parameter paging query list
- 实现一个家庭安防与环境监测系统(二)
- Business data analysis of CDA level1 knowledge point summary
- Tensorflow2 installation quick pit avoidance summary
- einsum(): operands do not broadcast with remapped shapes [original->remapped]: [1, 144, 20, 17]->[1,
- Emergency science | put away this summer safety guide and let children spend the summer vacation safely!
- Okaleido ecological core equity Oka, all in fusion mining mode
- CDA level Ⅰ 2021 new version simulation question 2 (with answers)
- 新唐NUC980设置DHCP或者静态IP
猜你喜欢

Construction and practice of yolov7 in hands-on teaching

IDEA设置提交SVN时忽略文件配置

What problems should SEOER pay attention to when baidu searches and attacks pirated websites?
![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]

Mongodb source code deployment and configuration

Brush questions - Luogu -p1085 unhappy Jinjin

【力扣】645.错误的集合

科隆新能源IPO被终止:拟募资6亿 先进制造与战新基金是股东

Mxnet implementation of densenet (dense connection network)

CDA level Ⅰ 2021 new version simulation question 1 (with answers)
随机推荐
Business analysis report and data visualization report of CDA level1 knowledge point summary
苹果手机端同步不成功,退出登录,结果再也登录不了了
【配置Hifive1-revB】设备管理器中不识别端口,Can not connect to J-Link via USB的解决办法
Package management apt, dpkg
Stay on Alibaba cloud mqtt IOT platform
[platform IO compile hifive1 revb] * * * [.pio\build\hifive1 revb\src\setupgpio.o] solution to error 1
swiper 一侧或两侧露出一小部分
Brush questions - luogu-p1089 Jinjin savings plan
Mlops column introduction
Brush questions - Luogu -p1146 coin flip
轻松入门自然语言处理系列 12 隐马尔可夫模型
数字孪生 - 认知篇
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
[configure hifive1 revb] the device manager does not recognize the port, and can not connect to j-link via USB
Setting of parameter configuration tool for wireless vibrating wire collector
Namespaces and libraries
einsum(): operands do not broadcast with remapped shapes [original->remapped]: [1, 144, 20, 17]->[1,
2271. Maximum number of white bricks covered by blanket ●●
Vscode plug-in development
Interpretation of featdepth self-monitoring model for monocular depth estimation (Part I) -- paper understanding and core source code analysis