Knowledgebase

Centos8 restart network card command

  • 1

How to restart the network service in centos8
1. Be sure to reload the configuration file before restarting the network card, otherwise it will not take effect immediately

nmcli c reload

2. Restart the network card (the following three commands are all OK):
nmcli c up ens160
nmcli d reapply ens160
nmcli d connect ens160

Remarks: ens160 is the name of the network card


Was this answer helpful?

© Copyright 2019. CTG SERVER LTD