New-VBRHvVirtualLabStaticIPMappingRule
Short Description
Defines static IP address mapping rules.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
New-VBRHvVirtualLabIPMappingRule -ProductionNetwork <VBRHvServerNetworkInfo> [-IsolatedIPAddress <ipaddress>] [-AccessIPAddress <ipaddress>] [-IsolatedIPv6Address <ipaddress>] [-AccessIPv6Address <ipaddress>] [-Note <string>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRHvVirtualLabStaticIPMappingRule object that defines static IP address mapping rules.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
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. | True | 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. Defining Static IPv4 Address Mapping Rules
This example shows how to define static IPv4 address mapping rules. The cmdlet output will contain the following details on mapping settings: ProductionNetwork, IsolatedIPAddress, AccessIPAddress and Note.
Perform the following steps:
The Get-VBRHvServerNetworkInfo cmdlet will return an array of production networks. Mind the ordinal number of the necessary production network (An array starts with 0. In our example, it is the third production network in the array).
|
Example 2. Defining Static IPv6 Address Mapping Rules
This example shows how to define static IPv6 address mapping rules. The cmdlet output will contain the following details on mapping settings: ProductionNetwork, IsolatedIPAddress, AccessIPAddress and Note.
Perform the following steps:
The Get-VBRHvServerNetworkInfo cmdlet will return an array of production networks. Mind the ordinal number of the necessary production network (An array starts with 0. In our example, it is the third production network in the array).
|
Example 3. Defining Static IPv4 and IPv6 Address Mapping Rules
This example shows how to define static IPv4 and IPv6 address mapping rules. The cmdlet output will contain the following details on mapping settings: ProductionNetwork, IsolatedIPAddress, AccessIPAddress and Note.
Perform the following steps:
The Get-VBRHvServerNetworkInfo cmdlet will return an array of production networks. Mind the ordinal number of the necessary production network (An array starts with 0. In our example, it is the third production network in the array).
|
Related Commands