Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
PowerShell Reference

New-VBRHvReplicaReIpRule

Short Description

Creates a new Hyper-V replica re-IP rule.

Applies to

Platform: Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

New-VBRHvReplicaReIpRule [-SourceIp <String>] [-SourceMask <String>] [-TargetIp <String>] [-TargetMask <String>] -TargetGateway <String> [-DNS <String[]>] [-WINS <String[]>] [-Description <String>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]

Detailed Description

This cmdlet creates a VBRHvReplicaReIpRule object containing a list of rules for different IP addressing scheme. Use this object to set re-IP rules for replication jobs.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Source
Ip

Specifies the IP address or the IP addressing scheme of the network in which the source VM is located. You can use the asterisk character (*) to specify a range of IP addresses.

Default: 172.16.*.*.

False

Named

False

False

Source
Mask

Specifies the mask of the network in which the source VM is located. You can use the asterisk character (*) to specify a range of IP addresses.

Default: 255.255.0.0.

False

Named

False

False

Target
Ip

Specifies the IP address or the IP addressing scheme of the network in which the replica VM will be located. You can use the asterisk character (*) to specify a range of IP addresses.

Default: 172.17.*.*.

False

Named

False

False

Target
Mask

Specifies the mask of the network in which the replica VM will be located. You can use the asterisk character (*) to specify a range of IP addresses.

Default: 255.255.0.0.

False

Named

False

False

TargetGateway

Specifies the gateway address of the network in which the replica VM will be located.

True

Named

False

False

DNS

Specifies the DNS server address.

False

Named

False

False

WINS

Specifies the WINS server address.

False

Named

False

False

Description

Specifies the description of the re-IP rule.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

VBRHvReplicaReIpRule

Example

This command generates a new re-IP rule. Save it to the $reiprule variable for future needs.

$reiprule = New-VBRHvReplicaReIpRule -SourceIp 172.16.*.* -SourceMask 255.255.0.0 -TargetIp 172.17.*.* -TargetMask 255.255.0.0 -TargetGateway 172.17.0.1

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions Reference

Veeam Availability for Nutanix AHV Documentation

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation