Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Advanced network configuration

Shulou Source: shulou.com Published: 2022-06-01 04:11:06 10月06日 Update

# 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

Tags: Mode configuration support equalization command mode network card link bridge broadcast test management advanced network Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Shulou Technology MySQL Docker NVidia