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¶
- Go to “PROJECT” → “NETWORK” → “Networks” in the SIM-Cloud dashboard.
- Next to the required network, select ‘EDIT NETWORK‘.
- A window titled ‘Edit Network’ appears. At the bottom, deselect (untick) ‘Enable Admin State’.
- Check that the contents of the other fields have not changed. Now click ‘SAVE CHANGES‘.
- Again click ‘EDIT NETWORK‘ beside the same network.
- When the ‘Edit Network‘ window opens again, re-enable ‘Enable Admin State’.
- Check that the contents of the other fields have not changed. Now click ‘SAVE CHANGES‘.
- The network is restarted.
Network restart via command line interface¶
- Ensure that the required software is installed and set up on the managing host.
- Go to “PROJECT” → “NETWORK” → “Networks” in the SIM-Cloud dashboard.
- Select the required network by clicking on its name.
- Open the ‘OVERVIEW‘ tab and note the ID there. This is the alphanumeric code contained in the ‘ID’ field.
- 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>