I want to duplicate my Network Device to Nic Teaming

Latest response
#ip addr show 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:d8:61:71:af:b9 brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.23/26 brd 192.168.2.63 scope global noprefixroute enp2s0
       valid_lft forever preferred_lft forever
    inet6 fe80::df45:53db:f8e5:3d4c/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:fd:cd:d0 brd ff:ff:ff:ff:ff:ff
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
    link/ether 52:54:00:fd:cd:d0 brd ff:ff:ff:ff:ff:ff
14: team: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 22:ba:ca:78:c4:5c brd ff:ff:ff:ff:ff:ff

my devices is enp2s0 But I can not find in /etc/sysconfig/network-scripts/

# cp /etc/sysconfig/network-scripts/
ifcfg-lo                ifdown-routes           ifup-plusb
ifcfg-NT40              ifdown-sit              ifup-post
ifcfg-team0             ifdown-Team             ifup-ppp
ifcfg-team0-port0       ifdown-TeamPort         ifup-routes
ifcfg-team0-port1       ifdown-tunnel           ifup-sit
ifdown                  ifup                    ifup-Team
ifdown-bnep             ifup-aliases            ifup-TeamPort
ifdown-eth              ifup-bnep               ifup-tunnel
ifdown-ib               ifup-eth                ifup-wireless
ifdown-ippp             ifup-ib                 init.ipv6-global
ifdown-ipv6             ifup-ippp               network-functions
ifdown-isdn             ifup-ipv6               network-functions-ipv6
ifdown-post             ifup-isdn               
ifdown-ppp              ifup-plip   

I want to Nic Teaming

Responses

The command nmcli con show will show you which NetworkManager connection is tied to a device, eg:

# nmcli con show
NAME  UUID                                  TYPE      DEVICE 
net0  73a1676a-6c72-42ad-ab73-2bf3cddc12c1  ethernet  net0   
aaa   83a61952-1951-4abc-a337-b562990bcf68  ethernet  net1   
bbb   93efaf16-a24e-45f1-9c1f-1ee7fa9300e1  ethernet  net2   

However, if you only have one network interface (enp2s0) then you won't gain any load balancing or high availability, as there is still only ever one interface to use.

What is the reason you wish to use teaming here?

For Practice in my class Thanks

Ah alright then. I find the easiest way is to use nmtui. Delete all existing connections, then create a Team connection, and add your slave device enp2s0 as you create the Team.

If you wish to use nmcli then the steps are provided in the product documentation