TechTechnical Tutorials
Trending

How to restart Network Interface / Network Adapter on Linux & Windows Cloud Servers

Once you make changes in the server network configuration file, then require to restart the server networking service in order to reflect the changes.

This guide will describe the steps to restart the network interface or network adapter in the Linux and Windows servers.

Ubuntu / Debian

  1. Use the following command to restart the server networking service.# sudo /etc/init.d/networking restart or # sudo /etc/init.d/networking stop # sudo /etc/init.d/networking start else # sudo systemctl restart networking networkadapter1networkadapter2
  2. Once this is done, use the following command to check the server network statu.# sudo /etc/init.d/networking status or # sudo systemctl status networking networkadapter3networkadapter4

Ubuntu 17.10 and higher versions use NetPlan as the default network management tool and its configuration files are written in YAML syntax with a .yaml file extension.

Run the below command to update networking and then any changes that have been made to the network will take effect:

# netplan apply
networkadapter5

AlmaLinux

  1. Use the following command to restart the server networking service.# nmcli networking off # nmcli networking on or # systemctl restart NetworkManager networkadapter6networkadapter7
  2. Once this is done, use the following command to check the server network status.# nmcli -o or # systemctl status NetworkManager networkadapter8networkadapter9

Rocky Linux

  1. Use the following command to restart the server networking service.# nmcli networking off # nmcli networking on or # systemctl restart NetworkManager restartnetworkrockylinux1restartnetworkrockylinux2
  2. Either of the below commands can be executed to check the status of the networking service.# nmcli -o or # systemctl status NetworkManager restartnetworkrockylinux3restartnetworkrockylinux14

CentOS 8

  1. Use the following command to restart the server networking service.# nmcli networking off # nmcli networking on or # systemctl restart NetworkManager.service networkadapter11networkadapter10
  2. Either of the below commands can be executed to check the status of the networking service.# systemctl status NetworkManager.service or # nmcli -o networkadapter12networkadapter13

CentOS 7

  1. Use the following command to restart the server networking service.# systemctl restart network.service or # service network restart or # /etc/init.d/network restart networkadapter14networkadapter15
  2. The status of the networking service can be checked by making use of any of the below commands.# systemctl status network.service or # service network status or # /etc/init.d/network status networkadapter17networkadapter16networkadapter19

CentOS 6

  1. Use the following command to restart the server networking service.# service network restart or # /etc/init.d/network restart networkadapter20networkadapter21
  2. Once this is done, use the following command to check the server network status.# service network status or # /etc/init.d/network status networkadapter22networkadapter23

Windows OS

  1. Click on the Windows key to open start and search Settings and go to the Network and Internet then click on Change adapter option which is shown in the below image.restartnetworkwin1Then will get the below page:restartnetworkwin2
  2. Right-click the Ethernet device and click on Disable option.restartnetworkwin3restartnetworkwin4
  3. Again, Right-click the Ethernet device and click on enable option.restartnetworkwin5
  4. Once this is done, Right-click the Ethernet device and click on status.restartnetworkwin6restartnetworkwin7
Your Feedback Is Important
We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button

Adblock Detected

Kindly turn off Adblocker to continue surfing this awesome website.