Assign Multiple L2VPN / VPLS to a Single Endpoint #10419
Replies: 13 comments 7 replies
-
I see this in the model.
This makes sense, as
The error I get is from:
|
Beta Was this translation helpful? Give feedback.
-
Here's the thing... by definition, a VPWS circuit is point-to-point. There is no MAC learning on a true VPWS circuit, so it can only be point-to-point. The ONLY types of virtual circuits that could qualify as VPWS are EPL and EVPL. EPLAN, EVPLAN, EPTREE and EVPTREE are point-to-multipoint circuits and would never be considered VPWS. ALL VPWS circuits are either EPLAN or EVPLAN, but not all EPLAN or EVPLANs are VPWS. What determines that is the configuration on the device. On IOS-XR, a VPWS is built as a xconnect group. P2MPs are built as bridge-domains. You can absolutely build a P2P in a bridge-domain, but MAC learning will occur and by definition NOT be a VPWS. So... the definitions in the model are wrong. It should say: TYPE_VPWS, TYPE VPLS, |
Beta Was this translation helpful? Give feedback.
-
Also, if you want to use a single physical endpoint to terminate multiple virtual circuits, you must use a type of L2 circuit that begins with "EV", and you must use sub-interfaces. EPL, EP-TREE, and EP-LAN can only use physical ports as terminations. EVPL, EVP-TREE, and EVPLs all use virtual/sub-interfaces with carrier ethernet tagging methods. Its what the MEF calls a multiplexed port. With this, you're not actually connecting the physical port to the L2VPN instance, but the logical/sub-interface. You can NOT attach a single physical or logical interface to multiple L2VPNs. Ever. Neither in Netbox or in the real world. Not without some intermediary device bridging the two LANs together. |
Beta Was this translation helpful? Give feedback.
-
Well, let me define that a bit more. I was specifically referring to a physical interface, not a logical one. |
Beta Was this translation helpful? Give feedback.
-
So yeah... that's by design then. A single physical port cannot be a member of more than 1 L2VPN or VFI. That would be the equivalent of an access port being a member of two VLANs. |
Beta Was this translation helpful? Give feedback.
-
Then why am I currently using VPLS with multiple circuits configured on a single physical interface? I must be missing something. Sanitized Config:
Ive seen the limitation you describe with VPWS, but not VPLS. I am obviously not as familiar as you with all of the protocols and how they are designed. Go easy on me. I am more than willing to learn. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
What does your service template say? It is likely defining a subint within that service template. It would be weird for you to be terminating multiple VPLS' directly to the physical port, likely you are terminating to a service instance or subint. |
Beta Was this translation helpful? Give feedback.
-
There has to be SOMETHING on the interface that identifies the unique traffic that belongs to specific L2VPNs/bridge-domains. Think about from an ingress perspective: How does the interface know what frames to place on each L2VPN/EVC/bridge-domain? In most cases, that is done through the matching of 1 or more VLAN tags. This is the interesting part of your config: The interface is referencing two different service templates. What is defined by those templates? I'll bet that if you dig into the config you'll find them and there will be unique VLAN/tagging information for each. It'll probably have something like a "match" command. Eg, "match outer tag 123" or something along those lines. Even though the config is a little bit different than the traditional Cisco/sub-interface model, its still essentially multiple virtual interfaces under the single physical interface. Here are three examples of how different vendors do this. There are two from Cisco, and one from another vendor that appears to be what you're using: Cisco IOS-XR model (sub-interfaces): interface gi0/0/0/0 Cisco IOS-XE model (service instances): interface gi0/0/0 Your model (service templates): interface ge2 Same config, different vendors. But its exactly what I stated before: multiple logical interfaces under a common physical interface. The vendors just handle them a bit differently. You simply can NOT have multiple L2VPNs/broadcast domains terminate to a single physical port. You just can't. It violates all the rules of ethernet and L2 switching. Think about it: If you had multiple L2VPN/bridge-domains terminating to a single physical port, then every one of your customers attached to that physical port would be receiving copies of every frame on every L2VPN/EVC terminating to that port. I won't even talk about the loops you'd have... |
Beta Was this translation helpful? Give feedback.
-
I believe the request is to map VPLS/VPWS instances to subinterfaces on one physical port. This is supported on most vendors. |
Beta Was this translation helpful? Give feedback.
-
Sub-interfaces are already available for assignment for specifically the reasons stated above by @shatt79 |
Beta Was this translation helpful? Give feedback.
-
So, I did a little research on the config. It appears this is for microtik. Here would be a full config:
How this should be modelled in NetBox: (1) Physical Interface (xe2 as a tagged port) All this being said, I do not believe this is a valid FR as it does not meet real-world implementation details. I am going to convert this to a discussion. You are free to re-open an issue once this is more fully fleshed out, if there is anything to flesh out. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
NetBox version
v3.3.3
Feature type
Change to existing functionality
Proposed functionality
On our current routers, we can assign multiple VPLS circuits to a single interface. We cannot do this to VPWS interfaces. I would like to modify the restriction that limits a VPLS endpoint to a single instance/circuit.
Use case
It allows the modeling to align with the possibilities offered by vendors.
Database changes
I don't forsee any DB changes, I suspect modifying some python on model save is what restricts it to one circuit per endpoint currently. Changing the python to allow for more than one circuit if the type is VPLS shouldn't be awful. I am willing to put in the PR.
External dependencies
None.
Beta Was this translation helpful? Give feedback.
All reactions