--- title: "New-VBRViReplicaReIpRule" description: "Creates a new VMware replica re-IPv4 rule. Platform: VMware Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet creates the VBRViReplicaReIpRule object." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/new-vbrvireplicareiprule.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Replication > Replica Re-IP Rules > New-VBRViReplicaReIpRule" dateModified: "2026-08-19" --- # New-VBRViReplicaReIpRule ## Short Description Creates a new VMware replica re-IPv4 rule. **Platform**: VMware **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` New-VBRViReplicaReIpRule [-SourceIp ] [-SourceMask ] [-TargetIp ] [-TargetMask ] -TargetGateway [-DNS ] [-WINS ] [-Description ] [] ``` ## Detailed Description This cmdlet creates the [`VBRViReplicaReIpRule`](vbrvireplicareiprule.md) object. This object contains a list of rules for different IP addressing scheme. Use this object to set re-IP rules for replication jobs. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Description

Specifies the description of the re-IP rule.

String

False

Named

False

DNS

Specifies the DNS server address.

String[]

False

Named

False

SourceIp

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.24.16.*.

String

False

Named

False

SourceMask

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.240.0.

String

False

Named

False

TargetGateway

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

Default: 127.24.17.1.

String

True

Named

False

TargetIp

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.24.17.*.

String

False

Named

False

TargetMask

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.240.0.

String

False

Named

False

WINS

Specifies the WINS server address.

String[]

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object [`VBRViReplicaReIpRule`](vbrvireplicareiprule.md) ## Examples ::: example ### Creating New Re-IP Rule This command generates a new re-IP rule. Save it to the `$reiprule` variable for future needs. ``` $reiprule = New-VBRViReplicaReIpRule -SourceIp 172.16.*.* -SourceMask 255.255.0.0 -TargetIp 172.17.*.* -TargetMask 255.255.0.0 -TargetGateway 172.17.0.1 ``` :::