Replies: 4 comments 1 reply
-
A test case for addressing of routed vlans:
Currently (dev branch) a routed vlan becomes a p2p link when used as access vlan, but it remains 'lan' when used in a trunk.
|
Beta Was this translation helpful? Give feedback.
-
Just discussing with myself here - the issue is https://github.com/ipspace/netlab/blob/dev/tests/topology/input/vlan-routed-vrf.yml#L44 vlan.mode can be set globally as 'route', but overridden locally as 'bridge' ( e.g. by a switch ). IPs still need to be allocated consistently from the same pool |
Beta Was this translation helpful? Give feedback.
-
Every segment in a routed VLAN needs a separate globally allocated prefix as we never know whether it will be used in a VRF or in the global routing table (and per-VRF address pools aren't pretty high up on the wish list ;) |
Beta Was this translation helpful? Give feedback.
-
I'd guess we have something along these lines in the VLAN/VRF module. In any case, I don't think anyone wants to touch that blob of code. |
Beta Was this translation helpful? Give feedback.
-
netlab/tests/topology/expected/vlan-vrf-lite.yml
Line 1094 in c6ef55a
The above prefix associated with the blue vlan confuses me, since:
ipv4: 172.16.3.1/24
For routed vlans, perhaps we should not be allocating a prefix globally?
Beta Was this translation helpful? Give feedback.
All reactions