Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Kvm uses bond network card for bridging

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

[root@localhost network-scripts] # cat ifcfg-bond0 TYPE=EthernetBOOTPROTO=noneIPV6INIT=noDEVICE=bond0NAME=bond0DEVICE=bond0ONBOOT=yesBRIDGE=virbr0 [root@localhost network-scripts] # cat ifcfg-em1DEVICE=em1BOOTPROTO=noneMASTER=bond0SLAVE=yesONBOOT=yes [root@localhost network-scripts] # cat ifcfg-em2DEVICE=em2BOOTPROTO=noneMASTER=bond0SLAVE=yesONBOOT=yes [root@localhost network-scripts] # cat ifcfg-virbr0 DEVICE=virbr0BOOTPROTO=staticONBOOT=yesTYPE=BridgeIPADDR=10.10.54.11NETMASK=255.255.255.0GATEWAY=10.10.54.1DEFROUTE=yesPV4_FAILURE_FATAL=yesIPV6INIT=noDELAY=0USERCTL= no [root @ localhost network-scripts] # cat / etc/modprobe.d/bonding.conf alias bond0 bondingoptions bond0 miimon=100 mode=0 [root@localhost network-scripts] # modeprobe bonding this must be executed

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report