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

Advanced network configuration

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

# team#

1.team is also a way of link aggregation, supporting up to 8 network cards

Support mode

Broadcast

Polling

Main and standby

Load balancing

two。 Configuration

Nmcli connection add con-name team0 ifname team0 type team config'{"runner": {"name": "activebackup"}} 'ip4 172.25.254.195Accord 24

Nmcli connection add con-name eth0 ifname eth0 type team-slave master team0

Nmcli connection add con-name eth2 ifname eth2 type team-slave maste

R team0

3. test

Watch-n 1 teamdctl team0 stat

Ifconfig eth0 down

Ifconfig eth0 up

# Bridge # #

Configuration mode

Systemctl stop NetworkManager.service

Vim / etc/sysconfig/network-scripts/ifcfg-enp0s25

DEVICE=enp0s25

ONBOOT=yes

BOOTPROTO=none

BRIDGE=br0

Vim / etc/sysconfig/network-scripts/ifcfg-br0

DEVICE=enp0s25

ONBOOT=yes

BOOTPROTO=none

IPADDR=172.25.254.95

NETMASK=255.255.255.0

TYPE=Bridge

Systemctl restart network

Systemctl start NetworkManager.service

Ifconfig

# Command management

# add

Systemctl stop NetworkManager

Brctl show

Brctl addbr br0

Brctl addif br0 eth0

Ifconfig eth0 up

Ifconfig br0 172.25.254.195 netmask 255.255.255.0

Brctl show

Ping 172.25.254.95

# Delete

Ifconfig br0 down

Brctl delif br0 eth0

Brctl delbr br0

Brctl show

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

Network Security

Wechat

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

12
Report