netlab icon indicating copy to clipboard operation
netlab copied to clipboard

[not-really-a-bug] VXLAN/EVPN misbehaviour?

Open ssasso opened this issue 1 year ago • 0 comments

Feel free to insult or blame on me if I am wrong ;)

IN THEORY I could use VXLAN+EVPN with L3VNI only (and without VLANs - pure type5), to "replicate" a pure L3 VPN scenario (no L2 services).

However, this is not easily doable with netlab, because:

  • VXLAN requires VLAN module
  • When there are no vlans defined, the vxlan module does not create the vtep data
vxlan:
  domain: global
  flooding: evpn

instead of:

vxlan:
  domain: global
  flooding: evpn
  vlans:
  - fake
  vtep: 10.100.0.1
  vtep_interface: loopback 0

A workaround for it is to define a fake vlan at node level:

    vlans:
      fake:
        mode: bridge

I also tried to add:

vxlan.vlans: []

but the fake vlan is still inserted on the vxlan enabled ones (see above post-transformation extract).

ssasso avatar May 22 '24 07:05 ssasso