Set-VBRHvVirtualLabStaticIPMappingRule
Short Description
Modifies static IP address mapping rules for Hyper-V virtual lab.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Set-VBRHvVirtualLabIPMappingRule -Rule <VBRHvVirtualLabIPMappingRule> [-ProductionNetwork <VBRHvServerNetworkInfo>] [-IsolatedIPAddress <ipaddress>] [-AccessIPAddress <ipaddress>] [-IsolatedIPv6Address <ipaddress>] [-AccessIPv6Address <ipaddress>] [-Note <string>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies static IP address mapping rules for Hyper-V virtual lab.
Note |
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Rule | Specifies a static IP mapping rule that you want to modify. | Accepts the VBRHvVirtualLabStaticIPMappingRule object. To create this object, run the New-VBRHvVirtualLabStaticIPMappingRule cmdlet. | True | Named | True (ByValue, |
ProductionNetwork | Specifies a production network with original VMs. The cmdlet will set up static mapping of IP address from this network with IP addresses from the isolated network. | Accepts the VBRHvServerNetworkInfo object. To get this object, run the Get-VBRHvServerNetworkInfo cmdlet. | False | Named | False |
IsolatedIPAddress | Specifies an IPv4 address of an isolated network. The cmdlet will map this IP address with an IP address of a production network. | IPAddress | False | Named | False |
AccessIPAddress | Specifies an IPv4 address of a production network. The cmdlet will map this IP address with an IP address of an isolated network. | IPAddress | False | Named | False |
IsolatedIPv6Address | Specifies an IPv6 address of an isolated network. The cmdlet will map this IP address with an IP address of a production network. | IPAddress | False | Named | False |
AccessIPv6Address | Specifies an IPv6 address of a production network. The cmdlet will map this IP address with an IP address of an isolated network. | IPAddress | False | Named | False |
Note | Specifies notes that you want to assign to the static mapping settings. | String | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRHvVirtualLabStaticIPMappingRule object that defines static IP address mapping rules.
Examples
Example 1. Modifying IPv4 Address of Isolated Network
This example shows how to modify an IPv4 address of isolated network for a static IP address mapping rule. The 172.17.53.75 IP of the isolated network will be mapped with the 172.17.53.162 IP address of the production network.
Perform the following steps:
|
Example 2. Modifying IPv6 Address of Isolated Network
This example shows how to modify an IPv6 address of isolated network for a static IP address mapping rule. The fdd1:ab80:bb80:cc80:dd80:ee80:ff80:1 IP of the isolated network will be mapped with the fdd1:aa80:bb80:ac80:dd80:ee80:ff80:1 IP address of the production network.
Perform the following steps:
|
Example 3. Modifying IPv4 Address of Production Network
This example shows how to modify an IPv4 address of a production network for a static IP address mapping rule. The 172.17.53.15 IP of the isolated network will be mapped with the 172.17.53.170 IP address of the production network.
Perform the following steps:
|
Related Commands