Agregue tarjetas de red duales (configure la dirección IP, la dirección de transmisión y la máscara de subred)

Primero agregue la tarjeta de red en la máquina virtual.
Inserte la descripción de la imagen aquí
Reinicie la tarjeta de red: systemctl restart network.
Verifique el dispositivo de red: ifconfig
Inserte la descripción de la imagen aquí

[root@localhost ~]# cd /etc/sysconfig/network-scripts/
[root@localhost network-scripts]# cp -p ifcfg-ens33 ifcfg-ens37
[root@localhost network-scripts]# nmcli connection 
NAME        UUID                              			    TYPE      DEVICE 
ens33       59f94206-a1b2-44a5-994d-50106adfc1a8  ethernet  ens33  
virbr0      800d3f21-9941-4b1e-b552-4d846a299acb  bridge    virbr0 
有线连接 1  411b013f-7247-38f6-917e-0a2639fb347a  ethernet  ens37  
[root@localhost network-scripts]# vi ifcfg-ens37

[root@localhost network-scripts]#systemctl restart network
[root@localhost network-scripts]#ifconfig      

Inserte la descripción de la imagen aquí

Supongo que te gusta

Origin blog.csdn.net/weixin_48190875/article/details/107796881
Recomendado
Clasificación