This section describes how to change the configuration of a virtual network.
This section describes how to add a virtual network under the following conditions.
Figure B.3 Adding a Virtual Network
Stop all ping monitoring.
> hanetpoll off FJSVhanet: INFO: 00000: The command ended normally. |
Create a new virtual adapter.
Specify the GLS virtual adapter sha1 to bundle the physical adapters (Local Area Connections 3 and 4) and execute the create subcommand of the hanetconfig command.
> hanetconfig create -n sha1 -t "Local Area Connection 3","Local Area Connection 4" -v hv FJSVhanet: INFO: 00000: The command ended normally. |
Check the settings.
Execute the print subcommand of the hanetconfig command.
> hanetconfig print Name VID Adapters +--------+----+----------------------------------------------------------+ sha0 hv Local Area Connection 1,Local Area Connection 2 sha1 hv Local Area Connection 3,Local Area Connection 4 |
Activate the GLS virtual adapter sha1 by executing the strhanet command.
> strhanet -n sha1 FJSVhanet: INFO: 00000: The command ended normally. |
Connect the GLS virtual adapter sha1 to the Hyper-V virtual network.
For details, see "B.3.1.4 Creating a Virtual Network."
Create a network adapter on a guest OS by using the virtual network created in step 5.
For details, see "B.3.1.5 Creating a Network Adapter on a Guest OS."
Set the scripts for Hyper-V.
For details, see "B.3.1.6 Setting Scripts for Hyper-V."
See
To ensure that GLS is set and functions correctly, perform the ping monitoring setting after adding virtual networks.
For details, see "5.3.2 Setting Ping Monitoring."
This section describes how to delete a virtual network under the following conditions.
Figure B.4 Deleting a Virtual Network
Stop guest OSes connected to the Hyper-V virtual network. with which the GLS virtual adapter sha1 to be deleted is registered.
Open the setting window for guest OSes from [Hyper-V Manager] and set the configuration to [Not connected] for the network adapter connected to the virtual network which is the target to be deleted. Delete the network adapter if you do not use it after deleting the virtual network.
Stop ping monitoring on the GLS virtual adapter sha1 to be deleted.
> hanetpoll off -n sha1 FJSVhanet: INFO: 00000: The command ended normally. |
Change the settings of the virtual network with which the GLS virtual adapter sha1 to be deleted is registered.
From the [Hyper-V Manager] window, select [Virtual Network Manager].
Select the virtual network you want to delete and click the [Remove] button.
Delete the scripts for Hyper-V.
> del "<GLS Installation Directory>\usr\script\adapter\sha1.bat" |
For Windows Server 2012, delete the setting information of the GLS virtual adapter sha1 that is to be deleted from the following file.
<GLS Installation Directory>\usr\script\adapter\maclist.txt |
For details, see "B.3.2.2 Restarting the Transmission for Network Switching."
Deactivate the GLS virtual adapter sha1 to be deleted by executing the stphanet command.
> stphanet -n sha1 FJSVhanet: INFO: 00000: The command ended normally. |
Check whether the ping monitoring is set.
> hanetpoll print |
If ping monitoring is not set, step 8 is not applicable.
If you have set the ping monitoring, delete the corresponding settings.
Execute the delete subcommand of the hanetpoll command for the physical adapters bundled in the GLS virtual adapter sha1, which is to be deleted.
> hanetpoll delete -t "Local Area Connection 3" FJSVhanet: INFO: 00000: The command ended normally. > hanetpoll delete -t "Local Area Connection 4" FJSVhanet: INFO: 00000: The command ended normally. |
Delete the information defining the virtual adapter.
Delete the GLS virtual adapter sha1 by executing the delete subcommand of the hanetconfig command.
> hanetconfig delete -n sha1 FJSVhanet: INFO: 00000: The command ended normally. |
This section describes how to change the physical adapters bundled into a virtual adapter. In the procedure below, the name of the virtual adapter is sha0. This virtual adapter contains two physical adapters: Local Area Connection 1 and Local Area Connection 2. In the procedure below, Local Area Connection 2 is replaced with Local Area Connection 3.
Figure B.5 Changing Physical Adapters
For details on how to change, see "5.2.3 Changing Physical Adapters."