Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
EVPN User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring EVPN with IRB Solution

date_range 20-Dec-24

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:

  1. Configure the router interfaces.

  2. Configure the router ID and autonomous system number for the device.

  3. Enable chained composite next hop for EVPN.

  4. Configure OSPF or any other IGP protocol.

  5. Configure a BGP internal group.

  6. Include the EVPN signaling network layer reachability information (NLRI) to the internal BGP group.

  7. Configure RSVP or LDP.

  8. Configure MPLS.

  9. Create a label-switched path between the provider edge (PE) devices.

To configure the PE device:

  1. Configure the EVPN routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance instance-type evpn
    
  2. Set the VLAN identifier for the bridging domain in the EVPN routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance vlan-id VLAN-ID
    
  3. Configure the interface name for the EVPN routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance interface CE-facing-interface
    
  4. Configure the IRB interface as the routing interface for the EVPN routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance routing-interface irb.0
    
  5. Configure the route distinguisher for the EVPN routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance route-distinguisher route-distinguisher-value
    
  6. Configure the VPN routing and forwarding (VRF) target community for the EVPN routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance vrf-target vrf-target-value
    
  7. Assign the interface name that connects the PE device site to the VPN.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance protocols evpn interface CE-facing-interface
    
  8. Configure the VRF routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set vrf-instance instance-type vrf
    
  9. Configure the IRB interface as the routing interface for the VRF routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set vrf-instance interface irb.0
    
  10. Configure the route distinguisher for the VRF routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set vrf-instance route-distinguisher route-distinguisher-value
    
  11. Configure the VRF label for the VRF routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set vrf-instance vrf-table-label
    
  12. Verify and commit the configuration.

    For example:

    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpna instance-type evpn
    user@PE1# set evpna vlan-id 10
    user@PE1# set evpna interface ge-1/1/8.0
    user@PE1# set evpna routing-interface irb.0
    user@PE1# set evpna route-distinguisher 192.0.2.1:100
    user@PE1# set evpna vrf-target target:100:100
    user@PE1# set evpna protocols evpn interface ge-1/1/8.0
    user@PE1# set vrf instance-type vrf
    user@PE1# set vrf interface irb.0
    user@PE1# set vrf route-distinguisher 192.0.2.1:300
    user@PE1# set vrf vrf-target target:100:300
    user@PE1# set vrf vrf-table-label
    
    content_copy zoom_out_map
    [edit]
    user@PE1# commit
    commit complete
    

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:

content_copy zoom_out_map
[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
content_copy zoom_out_map
[edit]
user@PE1# commit
commit complete
footer-navigation