Page MenuHomeVyOS Platform

Interface [conf_mode] errors
Open, Requires assessmentPublicBUG


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


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

thomas-mangin added a subscriber: thomas-mangin.EditedApr 21 2020, 8:54 PM

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

set interfaces tunnel tun12 encapsulation sit
set interfaces tunnel tun12 local-ip
set interfaces tunnel tun12 remote-ip
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

Dmitry added a subscriber: Dmitry.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

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 peer
    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
Dmitry 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.

This comment was removed by thomas-mangin. will now not display tunnel (but gre-bridge) as options for bridge. Still not preventing them to be used.

pasik added a subscriber: pasik.Apr 22 2020, 11:01 AM
Viacheslav changed the status of subtask T2633: Error with arp_accept on tun interface from Open to Needs testing.Jun 23 2020, 7:40 PM
Viacheslav changed the status of subtask T2637: Vlan is not removed from the system from Open to Needs testing.Jun 24 2020, 6:48 PM