Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

virtual-gateway-address

Syntax

Hierarchy Level

Description

Set the default IPv4 or IPv6 address for the gateway for end hosts.

For each logical integrated routing and bridging (IRB) interface that corresponds to a VLAN (bridge domain) in a virtual routing and forwarding (VRF) instance, you can set a corresponding virtual gateway address (VGA).

Configure the virtual gateway address for an IRB domain using the same IP address on all of the provider edge (PE) devices, which eliminates the need to proxy for remote gateway IP addresses. When you configure this option, the device internally generates the same Virtual Router Redundancy Protocol (VRRP) MAC.

You can configure a maximum of 64 PE devices with the same virtual gateway address.

To support pinging on the virtual gateway IP address, you must include both the virtual-gateway-accept-data statement and the preferred statement at the [edit interfaces irb unit] hierarchy of the preferred virtual gateway.

Note:

As a best practice, to configure EVPN-VXLAN Layer 3 (L3) gateway devices with a VGA for intersubnet routing among the bridge domains or VLANs in a tenant VRF instance, use the following model for each IRB logical interface (unit) in the VRF:

  • Associate each IRB logical unit with one VLAN (or bridge domain) and a corresponding VNI.

  • Assign one unique IP subnet range to the IRB logical unit.

  • Configure the default virtual gateway address for the IRB logical unit.

This model supports optimal subnet routing and forwarding and simplifies intersubnet traffic management. You shouldn't assign multiple IP subnet ranges and multiple virtual gateway addresses to the same IRB logical unit, which can cause issues such as:

  • Inefficient routing through intermediate nodes (triangular routing).

  • Dropping intersubnet traffic.

Options

address—Virtual gateway address. You can't specify the addresses 0.0.0.0 (default route address) or 255.255.255.255 (broadcast IP address).

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 16.1.