# Network restart¶

Sometimes the need arises to restart the network in the project. An example could be if problems arise in assigning IP addresses to ports via DHCP. When the network is restarted, DHCP is also restarted for this network.

Restarting a connection consists in shutting it down and then starting it up again:

## Network restart via SIM-Cloud web interface¶

1. Go to “PROJECT” → “NETWORK” → “Networks” in the SIM-Cloud dashboard.
2. Next to the required network, select ‘EDIT NETWORK‘.
3. A window titled ‘Edit Network’ appears. At the bottom, deselect (untick) ‘Enable Admin State’.
4. Check that the contents of the other fields have not changed. Now click ‘SAVE CHANGES‘.
5. Again click ‘EDIT NETWORK‘ beside the same network.
6. When the ‘Edit Network‘ window opens again, re-enable ‘Enable Admin State’.
7. Check that the contents of the other fields have not changed. Now click ‘SAVE CHANGES‘.
8. The network is restarted.

## Network restart via command line interface¶

1. Ensure that the required software is installed and set up on the managing host.
2. Go to “PROJECT” → “NETWORK” → “Networks” in the SIM-Cloud dashboard.
3. Select the required network by clicking on its name.
4. Open the ‘OVERVIEW‘ tab and note the ID there. This is the alphanumeric code contained in the ‘ID’ field.
5. Use the command line interface to shut down and restart the network with the following commands:
openstack network set --disable <network ID>
openstack network set --enable <network ID>