Original Message:
Sent: 06-26-2021 16:39
From: Unknown User
Subject: mpls-evpn vlan-based vpn L3 gateway assistance
Hi Gongyayu, based on your config you should be able to ping 192.168.1.254 (the gateway) from both CE1 and CE2. Interface irb.110 is the anycast gateway ip of the evpn domain, however it still participates in global routing table, this explains why they show up under inet.0. You can also add the irb interface to other instances of you need them to resolve in another table.
Set routing-instance x interface irb.110
Original Message:
Sent: 06-25-2021 14:30
From: Unknown User
Subject: mpls-evpn vlan-based vpn L3 gateway assistance
The following are the routing tables
R1
root@vMX-1# run show route 172.16.1/24 inet.0: 22 destinations, 22 routes (22 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both172.16.1.1/32 *[Direct/0] 13:49:06 > via lo0.0172.16.1.2/32 *[OSPF/10] 13:47:31, metric 1 > to 172.16.0.2 via ge-0/0/0.2172.16.1.3/32 *[OSPF/10] 13:47:41, metric 2 > to 172.16.0.14 via ge-0/0/5.2172.16.1.4/32 *[OSPF/10] 13:47:31, metric 3 to 172.16.0.2 via ge-0/0/0.2 > to 172.16.0.14 via ge-0/0/5.2172.16.1.5/32 *[OSPF/10] 13:47:41, metric 1 > to 172.16.0.14 via ge-0/0/5.2172.16.1.6/32 *[OSPF/10] 13:47:31, metric 2 > to 172.16.0.2 via ge-0/0/0.2 to 172.16.0.14 via ge-0/0/5.2inet.3: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both172.16.1.2/32 *[RSVP/7/1] 13:47:13, metric 1 > to 172.16.0.2 via ge-0/0/0.2, label-switched-path vmx1-to-vmx2 to 172.16.0.2 via ge-0/0/0.2, label-switched-path vmx1-to-vmx2172.16.1.3/32 *[RSVP/7/1] 13:47:36, metric 2 > to 172.16.0.14 via ge-0/0/5.2, label-switched-path vmx1-to-vmx3172.16.1.4/32 *[RSVP/7/1] 13:47:36, metric 3 > to 172.16.0.14 via ge-0/0/5.2, label-switched-path vmx1-to-vmx4[edit]root@vMX-1# run show route 192.168.1/24 inet.0: 22 destinations, 22 routes (22 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both192.168.1.0/24 *[Direct/0] 04:35:05 > via irb.110192.168.1.254/32 *[Local/0] 04:57:55 Local via irb.110
R2
root@vMX2# run show route 172.16.1/24 inet.0: 22 destinations, 22 routes (22 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both172.16.1.1/32 *[OSPF/10] 13:49:25, metric 1 > to 172.16.0.1 via ge-0/0/0.2172.16.1.2/32 *[Direct/0] 13:50:57 > via lo0.0172.16.1.3/32 *[OSPF/10] 13:49:25, metric 3 > to 172.16.0.1 via ge-0/0/0.2 to 172.16.0.22 via ge-0/0/5.2172.16.1.4/32 *[OSPF/10] 13:49:25, metric 2 > to 172.16.0.22 via ge-0/0/5.2172.16.1.5/32 *[OSPF/10] 13:49:25, metric 2 to 172.16.0.1 via ge-0/0/0.2 > to 172.16.0.22 via ge-0/0/5.2172.16.1.6/32 *[OSPF/10] 13:49:25, metric 1 > to 172.16.0.22 via ge-0/0/5.2inet.3: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both172.16.1.1/32 *[RSVP/7/1] 13:49:00, metric 1 > to 172.16.0.1 via ge-0/0/0.2, label-switched-path vmx1-to-vmx2 to 172.16.0.1 via ge-0/0/0.2, label-switched-path vmx1-to-vmx2172.16.1.3/32 *[RSVP/7/1] 13:49:01, metric 3 > to 172.16.0.1 via ge-0/0/0.2, label-switched-path vmx1-to-vmx3 to 172.16.0.1 via ge-0/0/0.2, label-switched-path vmx1-to-vmx3172.16.1.4/32 *[RSVP/7/1] 13:49:01, metric 2 > to 172.16.0.1 via ge-0/0/0.2, label-switched-path vmx1-to-vmx4 to 172.16.0.1 via ge-0/0/0.2, label-switched-path vmx1-to-vmx4[edit]root@vMX2# run show route 192.168.1/24 inet.0: 22 destinations, 22 routes (22 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both192.168.1.0/24 *[Direct/0] 04:31:27 > via irb.110192.168.1.254/32 *[Local/0] 04:31:27 Local via irb.110
One thing I am not clear is:
network in evpn instance can communicate with the global instance by default or I need to do some work for them to be able to communicate ?
thanks a lot !!
Original Message:
Sent: 06-25-2021 13:23
From: Unknown User
Subject: mpls-evpn vlan-based vpn L3 gateway assistance
I have the following topology
R2
root@vMX2# show | display set set groups mpls-lsp protocols mpls label-switched-path <*> primary priset groups mpls-lsp protocols mpls label-switched-path <*> secondary sec standbyset apply-groups mpls-lspset system host-name vMX2set interfaces ge-0/0/0 vlan-taggingset interfaces ge-0/0/0 unit 2 vlan-id 2set interfaces ge-0/0/0 unit 2 family inet address 172.16.0.2/30set interfaces ge-0/0/0 unit 2 family mplsset interfaces ge-0/0/2 flexible-vlan-taggingset interfaces ge-0/0/2 encapsulation flexible-ethernet-servicesset interfaces ge-0/0/2 unit 110 encapsulation vlan-bridgeset interfaces ge-0/0/2 unit 110 vlan-id 110set interfaces ge-0/0/5 vlan-taggingset interfaces ge-0/0/5 unit 2 vlan-id 2set interfaces ge-0/0/5 unit 2 family inet address 172.16.0.21/30set interfaces ge-0/0/5 unit 2 family mplsset interfaces irb unit 110 family inet address 192.168.1.254/24set interfaces lo0 unit 0 family inet address 172.16.1.2/32set routing-options route-distinguisher-id 172.16.1.2set routing-options autonomous-system 65000set protocols rsvp interface ge-0/0/0.2set protocols rsvp interface ge-0/0/5.2set protocols mpls label-switched-path vmx1-to-vmx2 to 172.16.1.1set protocols mpls path priset protocols mpls path secset protocols mpls interface ge-0/0/0.2set protocols mpls interface ge-0/0/5.2set protocols bgp group iBGP type internalset protocols bgp group iBGP local-address 172.16.1.2set protocols bgp group iBGP family inet unicastset protocols bgp group iBGP family inet-vpn unicastset protocols bgp group iBGP family evpn signalingset protocols bgp group iBGP authentication-key "$9$QUUW3/tleWx7V1Rrv"set protocols bgp group iBGP neighbor 172.16.1.1set protocols ospf traffic-engineeringset protocols ospf area 0.0.0.0 interface lo0.0 passiveset protocols ospf area 0.0.0.0 interface ge-0/0/5.2 interface-type p2pset protocols ospf area 0.0.0.0 interface ge-0/0/0.2 interface-type p2pset protocols ospf area 0.0.0.0 interface irb.110 passiveset routing-instances CE1-Blue instance-type evpnset routing-instances CE1-Blue vlan-id 110set routing-instances CE1-Blue interface ge-0/0/2.110set routing-instances CE1-Blue routing-interface irb.110set routing-instances CE1-Blue vrf-target target:110:110set routing-instances CE1-Blue protocols evpn
I have the following, 00:05:86:71:1c:02 is CE2's mac.
root@vMX-1# run show evpn mac-table instance jncie-blue-evpn MAC flags (S -static MAC, D -dynamic MAC, L -locally learned, C -Control MAC SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC)Routing instance : jncie-blue-evpn Bridging domain : __jncie-blue-evpn__, VLAN : 110 MAC MAC Logical NH RTR address flags interface Index ID 00:05:86:71:1c:02 DC 1048578 1048578 00:05:86:71:1c:03 D ge-0/0/3.110 00:05:86:71:bd:02 DC 1048583 1048583
thanks a lot !!