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

Rhel7 Nic bond and team

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

Share

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

Configure the network card bond

1. Create a primary interface

Nmcli con add type bond con-name bond0 ifname bond0 mode active-backup

two。 Assign ip addresses to the primary interfac

Nmcli con mod bond0 ipv4.addresses' 11.16.25.100 Compact 24'

Nmcli con mod bond0 ipv4.method manual

Nmcli con mod bond0 connection.autoconnect yes

3. Create a slave interface

Nmcli con add type bond-slave ifname eno1 master bond0

Nmcli con add type bond-slave ifname eno2 master bond0

4. Turn on the master and slave interfaces

Nmcli con up bond-slave-eno2

Nmcli con up bond-slave-eno1

Nmcli con up bond0

Nic teaming configuration

# nmcli con add type team con-name team0 ifname team0 config'{"runner": {"name": "activebackup"}'

# nmcli con mod team0 ipv4.addresses' 192.168.0.100Universe 24'

# nmcli con mod team0 ipv4.method manual

# nmcli con add type team-slave con-name team0-port1 ifname eno1 master team0

# nmcli con add type team-slave con-name team0-port2 ifname eno2 master team0

# teamdctl team0 state (View status)

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