Replies: 9 comments 6 replies
-
Thank you for your interest in extending NetBox. Unfortunately, the information you have provided does not constitute an actionable feature request. Per our contributing guide, a feature request must include a thorough description of the proposed functionality, including any database changes, new views or API endpoints, and so on. It must also include a detailed use case justifying its implementation. If you would like to elaborate on your proposal, please modify your post above. If sufficient detail is not added, this issue will be closed. |
Beta Was this translation helpful? Give feedback.
-
Hello, edited as best as I could. |
Beta Was this translation helpful? Give feedback.
-
I believe this is already possible, but it's somewhat confusing. You can link a VXLAN termination to vlan directly, and netbox allows you to have multiple VLANs with the same VLAN ID. The hard part is determining where that vlan (not the ID necessarily but that specific layer2 domain) is. I'd love to be able to say vxlan VNI 1234 is terminate on switch1 as vlan-id 1, and on switch2 as vlan-id 2 (which is possible as I said above, but its hardish). |
Beta Was this translation helpful? Give feedback.
-
Are you talking about filtering? We could possibly expand the filtering on the vlan portion. |
Beta Was this translation helpful? Give feedback.
-
I believe with the current model, it's near impossible to properly plan (or reflect) a many-to-many L2VPN; such as a MAC VRF or EVPN/VXLAN. These are almost always used for multiple endpoints, so almost never as P2P 'terminations'. I have tried @rml596 's suggestion and got even more confused :) My proposal is that the relation between a prefix/ip address and VRF should be mimicked between a VLAN and certain L2VPN types, at least the ones that support P2MP modeling. |
Beta Was this translation helpful? Give feedback.
-
I converted this to a discussion as what is desired is all ready do-able. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much Daniel, for taking the time to go through the workflow and suggest an alternative to the original suggestion of mine. I'm calling it an alternative because although the VLAN groups would indeed be one way to go, they'd miss (unless one uses notes etc.) to capture crucial elements of a MAC-VRF. Maybe I have not entirely correctly articulated my proposal; I should perhaps say that the current L2vpn implementation does not cover "instance-type mac-vrf", part of RFC7432. At the risk of stating the obvious (or preaching to the choir), a MAC-VRF is very similar to Layer-3 VRF's as in both have a vrf-target and RD. Just as you'd make a prefix/IP part of a Layer-3 VRF, the same is technically possible for a VLAN and MAC-VRF. You can have vlan 100 repeated n times inside the same switch providing all belong to separate MAC-VRFs, for instance. I'm afraid I don't see how the termination approach would be able to capture this. |
Beta Was this translation helpful? Give feedback.
-
Apologies for the delayed reply. It's true that within the same switch, in most cases the VLAN ID would have to be unique, even in case of different MAC-VRF RI's. However, across an EVPN/VXLAN infrastructure, VID100 for "default-switch"a and VID100 that's in a MAC-VRF will be treated as two separate broadcast domains. A sample / minimalist config would look like the one below. Note the "route-distinguisher" and "vrf-target" statements that provide separation across nodes.
Although I understand and agree VLAN groups would be one way to do, it would be IMHO difficult to keep track of vrf-like elements and potential import/export rules with groups alone. |
Beta Was this translation helpful? Give feedback.
-
Thanks Daniel, that's a fair point indeed. Enhancing the L2VPN model to support RD etc. is a good idea as well since for now it seems the "identifier" doesn't have the 'any format' flexibility as RD does. I'm not sure if a given MAC-VRF can have different service types among nodes, this could be rather RI but I may be wrong. Either way, it's true different platforms can and probably tackle things differently. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
NetBox version
v3.3.1
Feature type
New functionality
Proposed functionality
EVPN provides sandboxed VLAN allocation, especially by means of (not limited to) MAC-vrf as Juniper Networks call it (RFC7432).
It is therefore possible to have the same VLAN ID in different VRFs, just like the prefixes.
Use case
In a multi-tenant provider environment, especially with DCaaS.
Database changes
External dependencies
None.
Beta Was this translation helpful? Give feedback.
All reactions