Page MenuHomeVyOS Platform

Interface [conf_mode] errors parent task
Closed, ResolvedPublicBUG

Description

This is the parent task associated with interface configuration errors.
Bridging/ethernet/tunnels etc.

Details

Difficulty level
Unknown (require assessment)
Version
1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Internal change (not visible to end users)

Event Timeline

For all the bridge issues, I wanted to see what was happening on crux, taking T2356 as reference:

conf
set interfaces tunnel tun12 encapsulation sit
set interfaces tunnel tun12 local-ip 192.0.2.12
set interfaces tunnel tun12 remote-ip 192.0.2.22
set interfaces tunnel tun12 address 2001:db8:bb::2/64
set interfaces bridge br0 member interface tun12

  Configuration path: interfaces bridge br0 [member] is not valid
  Set failed

[edit]
Unknown Object (User) added a subscriber: Unknown Object (User).Apr 21 2020, 9:01 PM

crux has another syntax, but interface tunnels not bridgeable in crux

So the commands were not on crux under the tunnel section and trying to use either ip link or brctl is failing:

vyos@vyos# brctl show
bridge name	bridge id		STP enabled	interfaces
br0		8000.080027beffc1	no		eth1

vyos@vyos# brctl addif br0 eth2

vyos@vyos# brctl show
bridge name	bridge id		STP enabled	interfaces
br0		8000.080027b0d2dc	no		eth1
							eth2

vyos@vyos# brctl addif br0 tun12
can't add tun12 to bridge br0: Invalid argument


vyos@vyos# ip a s tun12
9: tun12@NONE: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1476 qdisc noqueue state UNKNOWN group default qlen 1000
    link/sit 192.0.2.12 peer 192.0.2.22
    inet6 2001:db8:bb::2/64 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::c000:20c/64 scope link
       valid_lft forever preferred_lft forever
Unknown Object (User) added a comment.EditedApr 21 2020, 9:23 PM

Make sense, because IPIP this is L3, the bridge is L2.
In this case, we should not show L3 as an allowed interface for bridge.

https://github.com/vyos/vyos-1x/pull/372 will now not display tunnel (but gre-bridge) as options for bridge. Still not preventing them to be used.

erkin renamed this task from Interface [conf_mode] errors to Interface [conf_mode] errors parent task.Aug 30 2021, 6:42 AM
erkin set Issue type to Internal change (not visible to end users).
erkin removed a subscriber: Active contributors.
c-po changed the status of subtask T2455: No support for the IPv6 VTI from Open to In progress.Jul 1 2022, 8:51 AM
Viacheslav claimed this task.