Replies: 4 comments 7 replies
-
I can answer this now from beta.netbox.dev, and the answer is that parent interfaces can only be physical. I can see why it might be problematic to allow virtual interfaces as parent (particularly avoiding cycles), but here's an example where I'd find it useful. Consider pfSense as a "firewall-on-a-stick". If I run it on a physical device, where the external interface is "ix0", this feature will let me associate the "WAN" and "LAN" interfaces with ix0. (Today, I just create WAN and LAN with no explicit association). However if I run pfSense as a VM, where the external interface is "vmnet0", and also create "WAN" and "LAN", I won't be able to associate them with the external interface. |
Beta Was this translation helpful? Give feedback.
-
Hmm, weird, but it's easy to reproduce: here's the exact sequence of steps:
Until the instance is wiped, this is visible at https://beta.netbox.dev/dcim/interfaces/1166/edit/?return_url=/dcim/devices/98/interfaces/ |
Beta Was this translation helpful? Give feedback.
-
Incidentally, the name prefix "vlan" isn't significant. I created virtual interfaces "asdf" and "zxcv" as well, and if I edit zxcv (say), then none of the other virtual interfaces are available to select as parent. |
Beta Was this translation helpful? Give feedback.
-
This is really weird, it may be a caching issue. I came back, added interface "irb", Create and add more, and then "irb.100" - and then the full set of virtual interfaces was available to select from, including asdf / zxcv / vlan123 / vlan123456. But then when I go back to vlan123456, and try to select a parent, it's still not showing any virtual interfaces as parent options. |
Beta Was this translation helpful? Give feedback.
-
Just checking: does the parent have to be a physical interface?
Example 1: Virtual machine with eth0 and eth0.100. I would like to configure eth0.100 to have eth0 as its parent.
Example 2: Device has a LAG, and a virtual interface vlan256. I would like to configure vlan256 to have LAG 1 as its parent
Beta Was this translation helpful? Give feedback.
All reactions