Configuring EVPN with IRB Solution
You can configure an Ethernet VPN (EVPN) with IRB solution to enable Layer 2 switching and Layer 3 routing operations within a single node, thus avoiding extra hops for inter-subnet traffic. The EVPN IRB solution eliminates the default gateway problem using the gateway MAC and IP synchronization, and avoids the triangular routing problem with Layer 3 interworking by creating IP host routes for virtual machines (VMs) in the tenant virtual routing and forwarding (VRF) routing instances.
Before you begin:
Configure the router interfaces.
Configure the router ID and autonomous system number for the device.
Enable chained composite next hop for EVPN.
Configure OSPF or any other IGP protocol.
Configure a BGP internal group.
Include the EVPN signaling network layer reachability information (NLRI) to the internal BGP group.
Configure RSVP or LDP.
Configure MPLS.
Create a label-switched path between the provider edge (PE) devices.
We require that you configure the no-gateway-community
option at
the [edit routing-instances EVPN-instance-name
protocols evpn default-gateway]
hierarchy level in each EVPN
routing instance in which you configure an IRB interface with a virtual gateway
address. See default-gateway for details on using
the no-gateway-community
option. Note that these simple
configuration steps don't include an IRB interface configuration with a virtual
gateway address in the EVPN instance.
To configure the PE device:
To configure an ACX series router running Junos OS Evolved as the PE device in an EVPN-ELAN vlan-based routing-instance with IRB, verify and commit the following configuration:
[edit routing-instances] user@PE1# set evpna instance-type mac-vrf user@PE1# set evpna protocols evpn normalization user@PE1# set evpna service-type vlan-based user@PE1# set evpna route-distinguisher 192.0.2.1:100 user@PE1# set evpna vrf-target target:100:100 user@PE1# set evpna vlans v-500 vlan-id 10 user@PE1# set evpna vlans v-500 interface ae0.0 user@PE1# set evpna vlans v-500 l3-interface irb.0
[edit] user@PE1# commit commit complete